From b2b42473e2155df094355346dae1f1e8a4defff2 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 19 Feb 2013 14:53:15 +0000 Subject: mpc85xx: enable squashfs feature Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35675 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/mpc85xx/Makefile | 2 +- target/linux/mpc85xx/image/Makefile | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux/mpc85xx') diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile index df8204dba..92064d0dc 100644 --- a/target/linux/mpc85xx/Makefile +++ b/target/linux/mpc85xx/Makefile @@ -10,7 +10,7 @@ ARCH:=powerpc BOARD:=mpc85xx BOARDNAME:=Freescale MPC85xx CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=8540 -FEATURES:=spe_fpu ramdisk +FEATURES:=spe_fpu squashfs MAINTAINER:=Imre Kaloz LINUX_VERSION:=3.7.9 diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index 45cd7abdc..b762515ec 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -24,6 +24,11 @@ define Image/Build/ext2 cp $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-ext2.img endef +define Image/Build/squashfs + $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) + cp $(KDIR)/root.squashfs $(BIN_DIR)/$(IMG_PREFIX)-root.squashfs +endef + define Image/Build $(call Image/Build/$(1),$(1)) endef -- cgit v1.2.3