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:
parent
3113eaf075
commit
51f525f084
|
@ -5,7 +5,7 @@ endif
|
||||||
|
|
||||||
# just to build a built-in.o. Otherwise compilation fails when no devicetree is
|
# just to build a built-in.o. Otherwise compilation fails when no devicetree is
|
||||||
# created.
|
# created.
|
||||||
obj-y += empty.o
|
obj- += dummy.o
|
||||||
|
|
||||||
pbl-dtb-$(CONFIG_MACH_AFI_GF) += am335x-afi-gf.dtb.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
|
pbl-dtb-$(CONFIG_MACH_BEAGLEBONE) += am335x-bone.dtb.o am335x-boneblack.dtb.o am335x-bone-common.dtb.o
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
static inline void empty(void)
|
|
||||||
{
|
|
||||||
}
|
|
Loading…
Reference in New Issue