summaryrefslogtreecommitdiff
path: root/target/linux/mvebu
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-01-14 11:37:29 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-01-14 11:37:29 +0000
commit91b79128dc8f55a42818b775649ec893eb4f2fe8 (patch)
treecd6d91fc0f20ad2f2eb23416408b21c07232b60e /target/linux/mvebu
parent5b0849b97f84efc8b83910529368f063e112638e (diff)
downloadmtk-20170518-91b79128dc8f55a42818b775649ec893eb4f2fe8.zip
mtk-20170518-91b79128dc8f55a42818b775649ec893eb4f2fe8.tar.gz
mtk-20170518-91b79128dc8f55a42818b775649ec893eb4f2fe8.tar.bz2
mvebu: Replace the padjffs2 call by the generic definition
The mvebu image Makefile directly calls the padjffs2 utility, while there's an generic make function to do just that. Switch to it Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> SVN-Revision: 43968
Diffstat (limited to 'target/linux/mvebu')
-rw-r--r--target/linux/mvebu/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 92571e2..f265dc4 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -44,7 +44,7 @@ define Image/BuildKernel
endef
define Image/Build/squashfs
- $(STAGING_DIR_HOST)/bin/padjffs2 $(KDIR)/root.squashfs 128
+ $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
$(foreach nandboard,$(NANDBOARDS),$(call Image/Build/UbinizeImage,$(nandboard),,squashfs,$(UBI_OPTS));)
( \
dd if=$(KDIR)/uImage-armada-xp-mamba bs=3072k conv=sync; \