aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-04 12:10:03 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-04 12:10:03 +0000
commitc02b10fb0e66985d3ce0b3b2ffd2e9fb92b7faeb (patch)
treec49288232bbf9584b38ee2ee5bfd608b020ee401 /target
parentb676979e339e37734a2b991ba97199f49988374c (diff)
downloadupstream-c02b10fb0e66985d3ce0b3b2ffd2e9fb92b7faeb.tar.gz
upstream-c02b10fb0e66985d3ce0b3b2ffd2e9fb92b7faeb.tar.bz2
upstream-c02b10fb0e66985d3ce0b3b2ffd2e9fb92b7faeb.zip
ar71xx: fix building of squashfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27446 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/image/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index b78441fabf..b70a091b5f 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -856,10 +856,12 @@ define Image/Build/Profile/Madwifi
endef
define Image/Build/squashfs
- cp $(KDIR)/root.squashfs $(BIN_DIR)/$(IMG_PREFIX)-root.squashfs-4k
- $(STAGING_DIR_HOST)/bin/padjffs2 $(BIN_DIR)/$(IMG_PREFIX)-root.squashfs-4k 4
- cp $(KDIR)/root.squashfs $(BIN_DIR)/$(IMG_PREFIX)-root.squashfs-64k
- $(STAGING_DIR_HOST)/bin/padjffs2 $(BIN_DIR)/$(IMG_PREFIX)-root.squashfs-64k 4 8 64
+ cp $(KDIR)/root.squashfs $(KDIR)/root.squashfs-4k
+ $(STAGING_DIR_HOST)/bin/padjffs2 $(KDIR)/root.squashfs-4k 4
+ cp $(KDIR)/root.squashfs-4k $(BIN_DIR)/$(IMG_PREFIX)-root.squashfs-4k
+ cp $(KDIR)/root.squashfs $(KDIR)/root.squashfs-64k
+ $(STAGING_DIR_HOST)/bin/padjffs2 $(KDIR)/root.squashfs-64k 4 8 64
+ cp $(KDIR)/root.squashfs-64k $(BIN_DIR)/$(IMG_PREFIX)-root.squashfs-64k
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
endef