mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 10:35:22 +00:00
Use a kbuild trick to force built-in.o to get built even if there isn't any code so we can link properly. This is cleaner than keeping around files that don't do anything. We keep around board.h for now since drivers and other code might expect it to exist. Change-Id: I0fb1105f19149b0e17c45455368ddf0ef75e5165 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
7 lines
172 B
Makefile
7 lines
172 B
Makefile
ccflags-y += -I$(srctree)/include/drivers
|
|
ccflags-y += -I$(srctree)/drivers
|
|
asflags-y := ${ccflags-y}
|
|
|
|
# Force kbuild to make empty built-in.o if necessary
|
|
obj- := dummy.o
|