mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
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
@ -373,6 +373,7 @@ define Image/Build/WNDR3700
|
||||
-o $(call imgname,$(1),$(2))-factory.img
|
||||
endef
|
||||
|
||||
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 \
|
||||
@ -395,6 +396,7 @@ define Image/Build/ZyXEL
|
||||
-o $(call imgname,$(1),$(2))-factory.bin; \
|
||||
fi; fi
|
||||
endef
|
||||
endif
|
||||
|
||||
define Image/Build/WNDR3700/initramfs
|
||||
$(call PatchKernelLzma,$(2),$(3) $(wndr3700_mtdlayout))
|
||||
|
Loading…
x
Reference in New Issue
Block a user