change the build order in target/linux so that it's possible to link the kernel with...
[openwrt.git] / openwrt / target / Makefile
1 include $(TOPDIR)/rules.mk
2
3 all: install
4
5 $(BIN_DIR):
6 mkdir -p $(BIN_DIR)
7
8 linux-compile: utils-install lzma-install
9 linux-install: $(BIN_DIR)
10
11 prepare: linux-prepare
12 compile: linux-compile
13 install: image_clean linux-install
14 clean: linux-clean utils-clean lzma-clean image_clean
15
16 image_clean:
17 rm -f $(BIN_DIR)/openwrt-*
18
19 %-clean:
20 @$(TRACE) target/$(patsubst %-clean,%,$@)/clean
21 $(MAKE) -C $(patsubst %-clean,%,$@) clean
22 %-prepare:
23 @$(TRACE) target/$(patsubst %-prepare,%,$@)/prepare
24 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
25 %-compile: %-prepare
26 @$(TRACE) target/$(patsubst %-compile,%,$@)/compile
27 $(MAKE) -C $(patsubst %-compile,%,$@) compile
28 %-rebuild:
29 @$(TRACE) target/$(patsubst %-rebuild,%,$@)/rebuild
30 $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
31 %-install: %-compile
32 @$(TRACE) target/$(patsubst %-install,%,$@)/install
33 $(MAKE) -C $(patsubst %-install,%,$@) install
34 linux-imagebuilder:
35 @$(TRACE) target/linux/imagebuilder
36 $(MAKE) -C linux imagebuilder
37
This page took 0.04943 seconds and 5 git commands to generate.