mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 09:33:20 +02:00
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
This commit is contained in:
parent
0f0e74bfb1
commit
c5d8ec2df5
@ -373,6 +373,7 @@ define Image/Build/WNDR3700
|
|||||||
-o $(call imgname,$(1),$(2))-factory.img
|
-o $(call imgname,$(1),$(2))-factory.img
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh
|
||||||
define Image/Build/ZyXEL
|
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 \
|
||||||
@ -395,6 +396,7 @@ define Image/Build/ZyXEL
|
|||||||
-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 New Issue
Block a user