mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
Add image generation for ar525w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5868 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
55f5c208b5
commit
d7f1af3daf
@ -13,13 +13,9 @@ endef
|
||||
define Image/Prepare
|
||||
endef
|
||||
|
||||
define Image/Prepare
|
||||
cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
|
||||
define Image/Build
|
||||
touch $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
|
||||
$(STAGING_DIR)/bin/airlink -b 1 -j $(LINUX_DIR)/arch/i386/boot/bzImage $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
|
||||
endef
|
||||
|
||||
define Image/Build/ar525w
|
||||
endef
|
||||
|
||||
$(call Image/Build/ar525w,$(1),$(patsubst jffs2-%,jffs2,$(1)))
|
||||
|
||||
$(eval $(call BuildImage))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user