mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 18:55:55 +02:00
65e5ea929c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@279 3c298f89-4303-0410-b956-a3cf2f4a3e73
30 lines
874 B
Makefile
30 lines
874 B
Makefile
# Default target skeleton stuff, may be overridden
|
|
EXTRAVERSION=
|
|
TARGET_SKELETON=target/default/skel.tar.gz
|
|
TARGET_SKEL_DIR=target/default/target_skeleton
|
|
|
|
include target/device/Makefile.in
|
|
|
|
ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
|
|
JFFS2FLAGS+=-a 131072
|
|
endif
|
|
|
|
|
|
openwrt-linux.trx: openwrt-trx
|
|
PATH=$(TARGET_PATH) trx -o openwrt-linux$(EXTRAVERSION).trx \
|
|
$(LINUX_DIR)/$(LINUX_BINLOC) $(JFFS2FLAGS) $(IMAGE).$(ROOTFS)
|
|
|
|
openwrt-gs-code.bin: openwrt-addpattern openwrt-linux.trx
|
|
PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux$(EXTRAVERSION).trx \
|
|
-o openwrt-gs-code$(EXTRAVERSION).bin -g
|
|
|
|
openwrt-g-code.bin: openwrt-gs-code.bin
|
|
sed -e "1s,^W54S,W54G," < openwrt-gs-code$(EXTRAVERSION).bin > openwrt-g-code$(EXTRAVERSION).bin
|
|
|
|
openwrt-image: openwrt openwrt-g-code.bin
|
|
|
|
openwrt-image-clean:
|
|
@-rm openwrt-* 2>/dev/null
|
|
|
|
openwrt-image-dirclean: openwrt-dirclean
|