diff mbox

[OpenWrt-Devel,1/9] mvebu: Replace the padjffs2 call by the generic definition

Message ID 1421164606-3222-2-git-send-email-maxime.ripard@free-electrons.com
State Accepted
Headers show

Commit Message

Maxime Ripard Jan. 13, 2015, 3:56 p.m. UTC
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>
---
 target/linux/mvebu/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Imre Kaloz Jan. 14, 2015, 11:44 a.m. UTC | #1
Thanks, applied in 43968.


Imre

On Tue, 13 Jan 2015 16:56:38 +0100, Maxime Ripard  
<maxime.ripard@free-electrons.com> wrote:

> 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>
> ---
>  target/linux/mvebu/image/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/linux/mvebu/image/Makefile  
> b/target/linux/mvebu/image/Makefile
> index 92571e215342..f265dc43d25d 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; \
diff mbox

Patch

diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 92571e215342..f265dc43d25d 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; \