target/jffs2/blocksize.mk for setting block size (req. for wrt54g)
[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 include target/jffs2/blocksize.mk
10 JFFS2FLAGS+=-a $(JFFS2_BLOCK_SIZE)
11 endif
12
13
14 openwrt-linux.trx: openwrt-trx
15 PATH=$(TARGET_PATH) trx -o openwrt-linux$(EXTRAVERSION).trx \
16 $(LINUX_DIR)/$(LINUX_BINLOC) $(JFFS2FLAGS) $(IMAGE).$(ROOTFS)
17
18 openwrt-gs-code.bin: openwrt-addpattern openwrt-linux.trx
19 PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux$(EXTRAVERSION).trx \
20 -o openwrt-gs-code$(EXTRAVERSION).bin -g
21
22 openwrt-g-code.bin: openwrt-gs-code.bin
23 sed -e "1s,^W54S,W54G," < openwrt-gs-code$(EXTRAVERSION).bin > openwrt-g-code$(EXTRAVERSION).bin
24
25 openwrt-image: openwrt openwrt-g-code.bin
26
27 openwrt-image-clean:
28 @-rm openwrt-* 2>/dev/null
29
30 openwrt-image-dirclean: openwrt-dirclean
This page took 0.064703 seconds and 5 git commands to generate.