add mppe to 2.6
[openwrt.git] / openwrt / target / linux / image / jffs2.mk
1 JFFS2OPTS := --pad --little-endian --squash
2 #JFFS2OPTS += -Xlzo -msize -Xlzari
3
4 jffs2-prepare:
5 $(MAKE) -C jffs2 prepare
6
7 jffs2-compile:
8 $(MAKE) -C jffs2 compile
9
10 jffs2-clean:
11 $(MAKE) -C jffs2 clean
12 rm -f $(KDIR)/root.jffs2*
13
14 $(KDIR)/root.jffs2-4MB:
15 @rm -rf $(KDIR)/root/jffs
16 $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $@ -d $(KDIR)/root
17
18 $(KDIR)/root.jffs2-8MB:
19 @rm -rf $(KDIR)/root/jffs
20 $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $@ -d $(KDIR)/root
21
22 jffs2-install: $(KDIR)/root.jffs2-4MB $(KDIR)/root.jffs2-8MB
23 $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="jffs2-4MB"
24 $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="jffs2-8MB"
25
26 jffs2-install-ib:
27 mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
28 cp $(STAGING_DIR)/bin/mkfs.jffs2 $(IB_DIR)/staging_dir_$(ARCH)/bin
29
30 prepare: jffs2-prepare
31 compile: jffs2-compile
32 install: jffs2-install
33 install-ib: jffs2-install-ib
34 clean: jffs2-clean
35
This page took 0.041058 seconds and 5 git commands to generate.