21 lines
686 B
Makefile
21 lines
686 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
|
|
|
|
openwrt-linux.trx: openwrt-trx
|
|
PATH=$(TARGET_PATH) trx -o openwrt-linux$(EXTRAVERSION).trx \
|
|
$(LINUX_DIR)/$(LINUX_BINLOC) $(JFFS2FLAGS) $(IMAGE).$(ROOTFS)
|
|
|
|
openwrt-code.bin: openwrt-addpattern openwrt-linux.trx
|
|
PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux$(EXTRAVERSION).trx \
|
|
-o openwrt-$(TAG)-code$(EXTRAVERSION).bin -g
|
|
@$(SED) "1s,^W54S,$(TAG)," openwrt-$(TAG)-code$(EXTRAVERSION).bin
|
|
|
|
openwrt-image-clean:
|
|
@-rm openwrt-* 2>/dev/null
|
|
|
|
openwrt-image-dirclean: openwrt-dirclean
|