]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
kbuild: allow empty board directories
[karo-tx-uboot.git] / Makefile
index 36de8d41eb7bd5ae1e080f32ac23af4bd92469f1..ecac2925b713d93a6c0dee834dc3088060e0302f 100644 (file)
--- 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))