2005-02-19 07:46:01 +00:00
|
|
|
# Default target skeleton stuff, may be overridden
|
2005-03-04 04:35:15 +00:00
|
|
|
EXTRAVERSION:=
|
2005-02-19 07:46:01 +00:00
|
|
|
TARGET_SKELETON=target/default/skel.tar.gz
|
|
|
|
TARGET_SKEL_DIR=target/default/target_skeleton
|
|
|
|
|
|
|
|
include target/device/Makefile.in
|
|
|
|
|
2005-02-21 06:03:54 +00:00
|
|
|
openwrt-linux.trx: openwrt-trx
|
2005-03-04 04:43:26 +00:00
|
|
|
PATH=$(TARGET_PATH) trx -o openwrt-linux$(EXTRAVERSION).trx \
|
2005-02-21 06:03:54 +00:00
|
|
|
$(LINUX_DIR)/$(LINUX_BINLOC) $(JFFS2FLAGS) $(IMAGE).$(ROOTFS)
|
2005-02-19 07:46:01 +00:00
|
|
|
|
2005-03-04 04:35:15 +00:00
|
|
|
openwrt-code.bin: openwrt-addpattern openwrt-linux.trx
|
2005-03-04 04:43:26 +00:00
|
|
|
PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux$(EXTRAVERSION).trx \
|
2005-03-04 04:35:15 +00:00
|
|
|
-o openwrt-$(TAG)-code$(EXTRAVERSION).bin -g
|
2005-03-04 04:43:26 +00:00
|
|
|
@$(SED) "1s,^W54S,$(TAG)," openwrt-$(TAG)-code$(EXTRAVERSION).bin
|
2005-02-19 07:46:01 +00:00
|
|
|
|
2005-02-21 06:03:54 +00:00
|
|
|
openwrt-image-clean:
|
|
|
|
@-rm openwrt-* 2>/dev/null
|
|
|
|
|
|
|
|
openwrt-image-dirclean: openwrt-dirclean
|