9
0
Fork 0

ARM: use an easier way to create the empty built-in.o

We do not have to build an unneeded file to create the built-in.o.
Just add a dummy string to "obj-".
(dummy.c does not need to exist.)

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Masahiro Yamada 2015-02-02 14:10:15 +09:00 committed by Sascha Hauer
parent 3113eaf075
commit 51f525f084
2 changed files with 1 additions and 4 deletions

View File

@ -5,7 +5,7 @@ endif
# just to build a built-in.o. Otherwise compilation fails when no devicetree is
# created.
obj-y += empty.o
obj- += dummy.o
pbl-dtb-$(CONFIG_MACH_AFI_GF) += am335x-afi-gf.dtb.o
pbl-dtb-$(CONFIG_MACH_BEAGLEBONE) += am335x-bone.dtb.o am335x-boneblack.dtb.o am335x-bone-common.dtb.o

View File

@ -1,3 +0,0 @@
static inline void empty(void)
{
}