zephyr/scripts/gen_idt/Makefile

10 lines
346 B
Makefile

HOSTCFLAGS_gen_idt.o += -I$(srctree)/shared/include/nanokernel/x86
HOSTCFLAGS_gen_idt.o += -DKERNEL_VERSION=0 -Wall -Werror -g -m32
HOSTCFLAGS_version.o += -DKERNEL_VERSION=0 -Wall -Werror -g -m32
HOSTCFLAGS_gen_idt.o += -Wno-unused-result
HOSTLDFLAGS := -m32
hostprogs-y += gen_idt
gen_idt-objs := version.o gen_idt.o
always := $(hostprogs-y)