jffs2 root support
[openwrt.git] / target / Makefile.in
1 # Default target skeleton stuff, may be overridden
2 DIST=openwrt
3 TARGET_SKELETON=target/default/skel.tar.gz
4 TARGET_SKEL_DIR=target/default/target_skeleton
5
6 include target/device/Makefile.in
7
8 ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
9 JFFS2FLAGS+=-a 131072
10 endif
11
12
13 $(DIST)-linux.trx: openwrt-trx
14 PATH=$(TARGET_PATH) trx -o $(DIST)-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(JFFS2FLAGS) $(IMAGE).$(ROOTFS)
15
16 $(DIST)-gs-code.bin: openwrt-addpattern $(DIST)-linux.trx
17 PATH=$(TARGET_PATH) addpattern -2 -i $(DIST)-linux.trx -o $(DIST)-gs-code.bin -g
18
19 $(DIST)-g-code.bin: $(DIST)-gs-code.bin
20 sed -e "1s,^W54S,W54G," < $(DIST)-gs-code.bin > $(DIST)-g-code.bin
21
22 openwrt-image: openwrt $(DIST)-g-code.bin
23
24 $(DIST)-image-clean:
25 @-rm $(DIST)-* 2>/dev/null
This page took 0.042306 seconds and 5 git commands to generate.