build system cleanup. move shared include files into $(TOPDIR)/include, move lzma...
[openwrt.git] / target / Makefile
1 include $(TOPDIR)/rules.mk
2
3 all: install
4
5 $(BIN_DIR):
6 mkdir -p $(BIN_DIR)
7
8 TARGETS:=linux utils
9
10 linux-compile: utils-install
11 linux-install: $(BIN_DIR)
12
13 download: $(patsubst %,%-source,$(TARGETS))
14 prepare: linux-prepare
15 compile: linux-compile
16 install: image_clean linux-install
17 clean: $(patsubst %,%-clean,$(TARGETS)) image_clean
18
19 image_clean: FORCE
20 rm -f $(BIN_DIR)/openwrt-*
21
22 %-clean: FORCE
23 $(MAKE) -C $(patsubst %-clean,%,$@) clean
24 %-source: FORCE
25 $(MAKE) -C $(patsubst %-source,%,$@) source
26 %-prepare: FORCE
27 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
28 %-compile: %-prepare
29 $(MAKE) -C $(patsubst %-compile,%,$@) compile
30 %-install: %-compile
31 $(MAKE) -C $(patsubst %-install,%,$@) install
32
This page took 0.043515 seconds and 5 git commands to generate.