mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
fix Ubiquiti RouterStation images
SVN-Revision: 14144
This commit is contained in:
parent
f392b39fc5
commit
cfd684128b
@ -68,7 +68,8 @@ endef
|
||||
define Image/Build/UBNT
|
||||
cp $(KDIR)/vmlinux $(KDIR)/vmlinux-$(2)
|
||||
$(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux-$(2) '$(strip $(3))'
|
||||
$(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux-$(2) $(KDIR)/vmlinux-$(2).bin.lzma
|
||||
$(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux-$(2) $(KDIR)/vmlinux-$(2).lzma
|
||||
dd if=$(KDIR)/vmlinux-$(2).lzma of=$(KDIR)/vmlinux-$(2).bin.lzma bs=64k conv=sync
|
||||
-$(STAGING_DIR_HOST)/bin/mkfwimage \
|
||||
-B $(4) -v $(5).ar7100.OpenWrt \
|
||||
-k $(KDIR)/vmlinux-$(2).bin.lzma \
|
||||
|
Loading…
Reference in New Issue
Block a user