diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-01-23 06:55:58 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-01-23 06:55:58 +0000 |
commit | 6067d54c059969c76ccc444fd52b7fc46af4ba0e (patch) | |
tree | 877cdb2b13530a6af0984cf6ad46f97be77f373d /target/linux/mpc85xx | |
parent | 2f526b79cb5681ce2af9c75be681ffe9e2f01487 (diff) | |
download | upstream-6067d54c059969c76ccc444fd52b7fc46af4ba0e.tar.gz upstream-6067d54c059969c76ccc444fd52b7fc46af4ba0e.tar.bz2 upstream-6067d54c059969c76ccc444fd52b7fc46af4ba0e.zip |
mpc85xx: Fix building ramdisk images
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39368 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx')
-rw-r--r-- | target/linux/mpc85xx/image/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
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 ) |