mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-12 18:05:15 +00:00
mpc85xx: Fix building ramdisk images
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39368
This commit is contained in:
parent
30af45d19a
commit
53512a1961
@ -19,11 +19,7 @@ define factoryname
|
||||
$(call imgname,$(1),$(2))-factory.bin
|
||||
endef
|
||||
|
||||
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||
IMAGE_SUFFIX=-initramfs
|
||||
endif
|
||||
|
||||
zImage:=$(BIN_DIR)/$(IMG_PREFIX)-zImage$(IMAGE_SUFFIX)
|
||||
zImage:=$(BIN_DIR)/$(IMG_PREFIX)-zImage
|
||||
|
||||
DTS_TARGETS = mpc8548cds_32b p1010rdb tl-wdr4900-v1 p1020rdb
|
||||
BOOT_IMAGES:=zImage cuImage.tl-wdr4900-v1
|
||||
@ -35,7 +31,7 @@ define Image/Prepare
|
||||
endef
|
||||
|
||||
define Image/BuildKernel
|
||||
cp $(KDIR)/zImage$(IMAGE_SUFFIX) $(zImage)
|
||||
cp $(KDIR)/zImage $(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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user