Allow firstboot to mount /dev/mtdblock/4 on /jffs when root fs is squashfs
[openwrt.git] / openwrt / target / Makefile.in
1 # Default target skeleton stuff, may be overridden
2 EXTRAVERSION=
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 openwrt-linux.trx: openwrt-trx
14 PATH=$(TARGET_PATH) trx -o openwrt-linux$(EXTRAVERSION).trx \
15 $(LINUX_DIR)/$(LINUX_BINLOC) $(JFFS2FLAGS) $(IMAGE).$(ROOTFS)
16
17 openwrt-gs-code.bin: openwrt-addpattern openwrt-linux.trx
18 PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux$(EXTRAVERSION).trx \
19 -o openwrt-gs-code$(EXTRAVERSION).bin -g
20
21 openwrt-g-code.bin: openwrt-gs-code.bin
22 sed -e "1s,^W54S,W54G," < openwrt-gs-code$(EXTRAVERSION).bin > openwrt-g-code$(EXTRAVERSION).bin
23
24 openwrt-image: openwrt openwrt-g-code.bin
25
26 openwrt-image-clean:
27 @-rm openwrt-* 2>/dev/null
28
29 openwrt-image-dirclean: openwrt-dirclean
This page took 0.048295 seconds and 5 git commands to generate.