mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 14:22:03 +02:00
[ar71xx] fix Ubiquiti RouterStation images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14144 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
79c4a7fda0
commit
47eda9ece5
@ -68,7 +68,8 @@ endef
|
|||||||
define Image/Build/UBNT
|
define Image/Build/UBNT
|
||||||
cp $(KDIR)/vmlinux $(KDIR)/vmlinux-$(2)
|
cp $(KDIR)/vmlinux $(KDIR)/vmlinux-$(2)
|
||||||
$(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux-$(2) '$(strip $(3))'
|
$(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 \
|
-$(STAGING_DIR_HOST)/bin/mkfwimage \
|
||||||
-B $(4) -v $(5).ar7100.OpenWrt \
|
-B $(4) -v $(5).ar7100.OpenWrt \
|
||||||
-k $(KDIR)/vmlinux-$(2).bin.lzma \
|
-k $(KDIR)/vmlinux-$(2).bin.lzma \
|
||||||
|
Loading…
Reference in New Issue
Block a user