diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-10 16:07:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-10 16:07:27 +0000 |
commit | 35198fb766eebcfa9e59b8209ea1705b582974b6 (patch) | |
tree | e4be740fbd75e312b243c6e3f68d65b86925c8c3 /target/linux/ar71xx | |
parent | 1998779bd6d6ac8a4af990f1663581bf49ee6a23 (diff) | |
download | master-187ad058-35198fb766eebcfa9e59b8209ea1705b582974b6.tar.gz master-187ad058-35198fb766eebcfa9e59b8209ea1705b582974b6.tar.bz2 master-187ad058-35198fb766eebcfa9e59b8209ea1705b582974b6.zip |
ar71xx: do not throw compile errors if the nbg460n uboot is not selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24426 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 4c96a88bcf..44c030e4e0 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -373,7 +373,8 @@ define Image/Build/WNDR3700 -o $(call imgname,$(1),$(2))-factory.img endef -define Image/Build/ZyXEL +ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh + define Image/Build/ZyXEL $(call PatchKernelLzma,$(2),$(3)) if [ `stat -c%s "$(KDIR)/vmlinux-$(2).bin.lzma"` -gt 917504 ]; then \ echo "Warning: $(KDIR)/vmlinux-$(2).bin.lzma is too big"; \ @@ -394,7 +395,8 @@ define Image/Build/ZyXEL -r $(call imgname,$(1),$(2))-sysupgrade.bin:0x10000 \ -o $(call imgname,$(1),$(2))-factory.bin; \ fi; fi -endef + endef +endif define Image/Build/WNDR3700/initramfs $(call PatchKernelLzma,$(2),$(3) $(wndr3700_mtdlayout)) |