aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/image
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-10-26 07:51:49 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-10-26 07:51:49 +0000
commita9441b737ea152e546a433fa80e66ad2cb36b08c (patch)
tree748f9c92a8296c63f95e057081fa17620b7cd743 /target/linux/adm5120/image
parent0df9a1cdbf8adfc732b3e1a8a449da10734708f0 (diff)
downloadupstream-a9441b737ea152e546a433fa80e66ad2cb36b08c.tar.gz
upstream-a9441b737ea152e546a433fa80e66ad2cb36b08c.tar.bz2
upstream-a9441b737ea152e546a433fa80e66ad2cb36b08c.zip
[adm5120] reduce wasted flash space by ~56K on Edimax devices, thanks to Bernhard Held (closes: #2549)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9450 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/image')
-rw-r--r--target/linux/adm5120/image/router_le.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/adm5120/image/router_le.mk b/target/linux/adm5120/image/router_le.mk
index ec7673f6e3..0fc6309407 100644
--- a/target/linux/adm5120/image/router_le.mk
+++ b/target/linux/adm5120/image/router_le.mk
@@ -14,13 +14,14 @@ define Image/Build/Edimax
$(call Image/Build/Loader,$(2),gz,0x80500000,0x6D8,y,$(2))
$(call Image/Build/TRXNoloader,$(call imgname,$(1),$(2)).trx,$(1))
$(STAGING_DIR_HOST)/bin/mkcsysimg -B $(2) -d -w \
- -r $(KDIR)/loader-$(2).gz \
+ -r $(KDIR)/loader-$(2).gz::8192 \
-x $(call imgname,$(1),$(2)).trx \
$(call imgname,$(1),$(2))-webui.bin
$(STAGING_DIR_HOST)/bin/mkcsysimg -B $(2) -d \
- -r $(KDIR)/loader-$(2).gz \
+ -r $(KDIR)/loader-$(2).gz::8192 \
-x $(call imgname,$(1),$(2)).trx \
$(call imgname,$(1),$(2))-xmodem.bin
+ rm -f $(call imgname,$(1),$(2)).trx
endef
define Image/Build/Infineon