summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-03 19:03:17 +0900
committerTom Rini <trini@ti.com>2014-03-04 12:15:31 -0500
commit33a02da0f68e17f48394fd88f1df694d8b54a2f3 (patch)
tree5977a0b01de72558dc52691a5ad4bfcf88b80d46 /Makefile
parent603f51cbd2d610fcc52e04fa74b2172712eca644 (diff)
downloadblackbird-obmc-uboot-33a02da0f68e17f48394fd88f1df694d8b54a2f3.tar.gz
blackbird-obmc-uboot-33a02da0f68e17f48394fd88f1df694d8b54a2f3.zip
kbuild: allow empty board directories
U-Boot has compelled all boards to have board/${BOARD}/ or board/${VENDOR}/${BOARD}/ directory. Sometimes it does not seem suitable for some boards, for example Sandbox. (Is it a board?) And arcangel4 board has nothing to compile under the board directory. This commit makes the build system more flexible: If '<none>' is given to the 6th column (=Board name) of boards.cfg, Kbuild will not descend into the board directory. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36de8d41eb..ecac2925b7 100644
--- a/Makefile
+++ b/Makefile
@@ -636,7 +636,7 @@ endif
libs-$(CONFIG_ARM) += arch/arm/cpu/
libs-$(CONFIG_PPC) += arch/powerpc/cpu/
-libs-y += board/$(BOARDDIR)/
+libs-y += $(if $(BOARDDIR),board/$(BOARDDIR)/)
libs-y := $(sort $(libs-y))
OpenPOWER on IntegriCloud