zephyr/kernel/microkernel/Makefile
Anas Nashif bbe84f8ae5 Use ccflags-y and asflags-y instead of EXTRA_CFLAGS
According to section 3.7 of Documentation/kbuild/makefiles.txt, using
EXTRA_CFLAGS in Makefiles is "still supported but their usage is
deprecated." However, using make EXTRA_CFLAGS="-DSOMETHING" results in
EXTRA_CFLAGS from Makefiles being overwritten, obviously breaking the
build.  This patch converts to them to the newer ccflags-y which also
fixes the problem.

Change-Id: I6309439599d4c9cc184f9ecd941bde841982ef07
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05 20:14:14 -05:00

26 lines
545 B
Makefile

ccflags-y +=-I$(srctree)/kernel/microkernel/include
obj-y = k_task.o
obj-y += idle.o
obj-y += global.o
obj-y += cmdPkt.o
obj-y += movedata.o
obj-y += ticker.o
obj-y += k_memmap.o
obj-y += k_mempool.o
obj-y += k_irq.o
obj-y += k_nop.o
obj-y += k_offload.o
obj-y += k_event.o
obj-y += k_mbox.o
obj-y += k_mutex.o
obj-y += k_queue.o
obj-y += k_sema.o
obj-y += k_timer.o
obj-y += k_pipe_buffer.o k_pipe.o k_pipe_get.o \
k_pipe_put.o k_pipe_util.o k_pipe_xfer.o
obj-$(CONFIG_MICROKERNEL) += server.o
obj-$(CONFIG_TASK_MONITOR) += task_monitor.o