ar71xx: do not throw compile errors if the nbg460n uboot is not selected
SVN-Revision: 24426
This commit is contained in:
parent
127c395a0e
commit
1fa3e7a941
1 changed files with 4 additions and 2 deletions
|
@ -373,7 +373,8 @@ define Image/Build/WNDR3700
|
||||||
-o $(call imgname,$(1),$(2))-factory.img
|
-o $(call imgname,$(1),$(2))-factory.img
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/ZyXEL
|
ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh
|
||||||
|
define Image/Build/ZyXEL
|
||||||
$(call PatchKernelLzma,$(2),$(3))
|
$(call PatchKernelLzma,$(2),$(3))
|
||||||
if [ `stat -c%s "$(KDIR)/vmlinux-$(2).bin.lzma"` -gt 917504 ]; then \
|
if [ `stat -c%s "$(KDIR)/vmlinux-$(2).bin.lzma"` -gt 917504 ]; then \
|
||||||
echo "Warning: $(KDIR)/vmlinux-$(2).bin.lzma is too big"; \
|
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 \
|
-r $(call imgname,$(1),$(2))-sysupgrade.bin:0x10000 \
|
||||||
-o $(call imgname,$(1),$(2))-factory.bin; \
|
-o $(call imgname,$(1),$(2))-factory.bin; \
|
||||||
fi; fi
|
fi; fi
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define Image/Build/WNDR3700/initramfs
|
define Image/Build/WNDR3700/initramfs
|
||||||
$(call PatchKernelLzma,$(2),$(3) $(wndr3700_mtdlayout))
|
$(call PatchKernelLzma,$(2),$(3) $(wndr3700_mtdlayout))
|
||||||
|
|
Loading…
Reference in a new issue