fix gcc build
[openwrt.git] / openwrt / target / Makefile
1 include $(TOPDIR)/rules.mk
2
3 # Default target skeleton stuff, may be overridden
4 TARGET_SKEL_DIR=default/target_skeleton
5
6 all: install
7
8 $(BIN_DIR):
9 mkdir -p $(BIN_DIR)
10
11 linux-compile: utils-install lzma-install
12 linux-install: $(BIN_DIR)
13
14 prepare:
15 compile: linux-compile
16 install: image_clean linux-install
17 clean: linux-clean utils-clean lzma-clean image_clean
18
19 image_clean:
20 rm -f $(BIN_DIR)/openwrt-*
21
22 %-clean:
23 $(MAKE) -C $(patsubst %-clean,%,$@) clean
24 %-prepare:
25 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
26 %-compile: %-prepare
27 $(MAKE) -C $(patsubst %-compile,%,$@) compile
28 %-rebuild:
29 $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
30 %-install: %-compile
31 $(MAKE) -C $(patsubst %-install,%,$@) install
32
33
This page took 0.050658 seconds and 5 git commands to generate.