mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 21:15:19 +02:00
7d51245340
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@272 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
659 B
Makefile
21 lines
659 B
Makefile
# Default target skeleton stuff, may be overridden
|
|
DIST=openwrt
|
|
TARGET_SKELETON=target/default/skel.tar.gz
|
|
TARGET_SKEL_DIR=target/default/target_skeleton
|
|
|
|
include target/device/Makefile.in
|
|
|
|
$(DIST)-linux.trx: openwrt-trx
|
|
PATH=$(TARGET_PATH) trx -o $(DIST)-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFS)
|
|
|
|
$(DIST)-gs-code.bin: openwrt-addpattern $(DIST)-linux.trx
|
|
PATH=$(TARGET_PATH) addpattern -2 -i $(DIST)-linux.trx -o $(DIST)-gs-code.bin -g
|
|
|
|
$(DIST)-g-code.bin: $(DIST)-gs-code.bin
|
|
sed -e "1s,^W54S,W54G," < $(DIST)-gs-code.bin > $(DIST)-g-code.bin
|
|
|
|
openwrt-image: openwrt $(DIST)-g-code.bin
|
|
|
|
$(DIST)-image-clean:
|
|
@-rm $(DIST)-* 2>/dev/null
|