aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-24 13:17:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-24 13:17:39 +0000
commit61bc50296c1c6cb0fd741c3b858c807418ce7b71 (patch)
treee7f47e7e504b577970ae90f7960ccca3e234e3ce
parenta4069001a50ca437340af3dc86ebd5d4fc3546f5 (diff)
downloadmaster-187ad058-61bc50296c1c6cb0fd741c3b858c807418ce7b71.tar.gz
master-187ad058-61bc50296c1c6cb0fd741c3b858c807418ce7b71.tar.bz2
master-187ad058-61bc50296c1c6cb0fd741c3b858c807418ce7b71.zip
rb532: image: fix broken ifneq statement
Fixes the following build error: /devel/openwrt/staging_dir/host/bin/patch-cmdline \ /devel/openwrt/build_dir/target-mipsel_uClibc-0.9.33.2/linux-rb532/vmlinux-initramfs \ 'root=/dev/mtdblock1 rootfstype=yaffs2 ' Could not open kernel imagemake[5]: *** [install] Error 255 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38157 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/rb532/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rb532/image/Makefile b/target/linux/rb532/image/Makefile
index fea6c94198..5f421bbe28 100644
--- a/target/linux/rb532/image/Makefile
+++ b/target/linux/rb532/image/Makefile
@@ -63,7 +63,7 @@ define Image/Build
./gen_image.sh $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).bin 4 $(BIN_DIR)/$(IMG_PREFIX)-$(1).kernel $(CONFIG_TARGET_ROOTFS_PARTSIZE) $(KDIR)/root.$(1)
endef
-ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
+ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
define Image/Prepare
$(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux-initramfs '$(strip $(call Image/cmdline/yaffs2)) '
cat $(KDIR)/vmlinux-initramfs | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux-initramfs.lzma