demistifying make *clean targets, fix some clean targets issues
[openwrt.git] / target / Makefile.in
1 # Default target skeleton stuff, may be overridden
2 DIST=openwrt
3 TARGET_SKELETON=target/default/skel.tar.gz
4 TARGET_SKEL_DIR=target/default/target_skeleton
5
6 include target/device/Makefile.in
7
8 $(DIST)-linux.trx: openwrt-trx
9 PATH=$(TARGET_PATH) trx -o $(DIST)-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFS)
10
11 $(DIST)-gs-code.bin: openwrt-addpattern $(DIST)-linux.trx
12 PATH=$(TARGET_PATH) addpattern -2 -i $(DIST)-linux.trx -o $(DIST)-gs-code.bin -g
13
14 $(DIST)-g-code.bin: $(DIST)-gs-code.bin
15 sed -e "1s,^W54S,W54G," < $(DIST)-gs-code.bin > $(DIST)-g-code.bin
16
17 openwrt-image: openwrt $(DIST)-g-code.bin
18
19 $(DIST)-image-clean:
20 @-rm $(DIST)-* 2>/dev/null
This page took 0.047005 seconds and 5 git commands to generate.