mpc85xx: image: fix building of multiple dtb files

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35436
This commit is contained in:
Gabor Juhos 2013-02-01 17:28:47 +00:00
parent d158dfc607
commit 21b15ddda5

View file

@ -15,7 +15,9 @@ endef
define Image/BuildKernel
cp $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage
$(foreach dts,$(DTS_TARGETS),$(LINUX_DIR)/scripts/dtc/dtc -I dts -O dtb $(LINUX_DIR)/arch/powerpc/boot/dts/$(dts).dts > $(BIN_DIR)/$(IMG_PREFIX)-$(dts).fdt)
$(foreach dts,$(DTS_TARGETS),
$(LINUX_DIR)/scripts/dtc/dtc -I dts -O dtb $(LINUX_DIR)/arch/powerpc/boot/dts/$(dts).dts > $(BIN_DIR)/$(IMG_PREFIX)-$(dts).fdt
)
endef
define Image/Build/ext2