Browse Source

mpc85xx: enable squashfs feature

Signed-off-by: Gabor Juhos <[email protected]>

SVN-Revision: 35675
Gabor Juhos 13 years ago
parent
commit
69cc70a43c
2 changed files with 6 additions and 1 deletions
  1. 1 1
      target/linux/mpc85xx/Makefile
  2. 5 0
      target/linux/mpc85xx/image/Makefile

+ 1 - 1
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 <[email protected]>
 
 LINUX_VERSION:=3.7.9

+ 5 - 0
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