From: Florian Fainelli Date: Mon, 3 Sep 2012 20:25:46 +0000 (+0000) Subject: [mcs814x] pad squashfs image X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=b1e622e77602afa0bcf1dd5fea9ce5fcbe218f2f;p=15.05%2Fopenwrt.git [mcs814x] pad squashfs image git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33314 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/mcs814x/image/Makefile b/target/linux/mcs814x/image/Makefile index 5545e042e6..7386db0766 100644 --- a/target/linux/mcs814x/image/Makefile +++ b/target/linux/mcs814x/image/Makefile @@ -45,6 +45,10 @@ define Image/BuildKernel $(call Image/Build/Initramfs) endef +define Image/Build/squashfs + $(STAGING_DIR_HOST)/bin/padjffs2 $(KDIR)/root.squashfs 128 +endef + define Image/Build $(call Image/Build/$(1)) dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync