From: Gabor Juhos Date: Thu, 23 Jan 2014 06:55:58 +0000 (+0000) Subject: mpc85xx: Fix building ramdisk images X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=53512a19610cec1248fddbc8c2d6896f33e29a9f;p=openwrt%2Fstaging%2Fadrian.git mpc85xx: Fix building ramdisk images Signed-off-by: Helmut Schaa Signed-off-by: Gabor Juhos SVN-Revision: 39368 --- diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index 4c80bb777f..5ecd100355 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -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 )