1 # Default target skeleton stuff, may be overridden
3 TARGET_SKELETON
=target
/default
/skel.
tar.gz
4 TARGET_SKEL_DIR
=target
/default
/target_skeleton
6 include target
/device
/Makefile.in
8 ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2
)),y
)
9 include target
/jffs2
/blocksize.mk
10 JFFS2FLAGS
+=-a
$(JFFS2_BLOCK_SIZE
)
14 openwrt-linux.trx
: openwrt-trx
15 PATH
=$(TARGET_PATH
) trx
-o openwrt-linux
$(EXTRAVERSION
).trx \
16 $(LINUX_DIR
)/$(LINUX_BINLOC
) $(JFFS2FLAGS
) $(IMAGE
).
$(ROOTFS
)
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
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
25 openwrt-image
: openwrt openwrt-g-code.bin
28 @
-rm openwrt-
* 2>/dev
/null
30 openwrt-image-dirclean
: openwrt-dirclean