remove obsolete comments stating that the modules won't build on mipsel/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 $(MAKE_TRACE)
6
7 jffs2-compile: prepare-targets
8 $(MAKE) -C jffs2 compile $(MAKE_TRACE)
9
10 jffs2-clean:
11 $(MAKE) -C jffs2 clean $(MAKE_TRACE)
12 rm -f $(KDIR)/root.jffs2*
13
14 $(KDIR)/root.jffs2-4MB: install-prepare
15 @rm -rf $(KDIR)/root/jffs
16 $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $@ -d $(KDIR)/root $(MAKE_TRACE)
17
18 $(KDIR)/root.jffs2-8MB: install-prepare
19 @rm -rf $(KDIR)/root/jffs
20 $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $@ -d $(KDIR)/root $(MAKE_TRACE)
21
22 ifeq ($(IB),)
23 jffs2-install: compile-targets $(BOARD)-compile
24 endif
25
26 jffs2-install: $(KDIR)/root.jffs2-4MB $(KDIR)/root.jffs2-8MB
27 $(TRACE) target/linux/image/$(BOARD)/install
28 $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="jffs2-4MB"
29 $(TRACE) target/linux/image/$(BOARD)/install
30 $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="jffs2-8MB"
31
32 jffs2-install-ib: compile-targets
33 mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
34 cp $(STAGING_DIR)/bin/mkfs.jffs2 $(IB_DIR)/staging_dir_$(ARCH)/bin
35
36 prepare-targets: jffs2-prepare
37 compile-targets: jffs2-compile
38 install-targets: jffs2-install
39 install-ib: jffs2-install-ib
40 clean-targets: jffs2-clean
41
This page took 0.052214 seconds and 5 git commands to generate.