source: freewrt/target/Makefile@ 732920b

freewrt_1_0 freewrt_2_0
Last change on this file since 732920b was a2817e5, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

move utils needed on hostsystem, to toolchain dir, requested by tg@

git-svn-id: svn://www.freewrt.org/trunk/freewrt@89 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.0 KB
Line 
1include $(TOPDIR)/rules.mk
2
3all: install
4
5$(BIN_DIR):
6 mkdir -p $(BIN_DIR)
7
8linux-compile: lzma-install
9linux-install: $(BIN_DIR)
10
11prepare: linux-prepare
12compile: linux-compile
13install: image_clean linux-install
14clean: linux-clean lzma-clean image_clean
15
16image_clean:
17 rm -f $(BIN_DIR)/freewrt-*
18
19linux/package/%:
20 $(MAKE) -C $(TOPDIR)/target/linux $(patsubst linux/%,%,$@)
21
22%-clean:
23 @$(TRACE) target/$(patsubst %-clean,%,$@)-clean
24 $(MAKE) -C $(patsubst %-clean,%,$@) clean
25%-prepare:
26 @$(TRACE) target/$(patsubst %-prepare,%,$@)-prepare
27 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
28%-compile: %-prepare
29 @$(TRACE) target/$(patsubst %-compile,%,$@)-compile
30 $(MAKE) -C $(patsubst %-compile,%,$@) compile
31%-rebuild:
32 @$(TRACE) target/$(patsubst %-rebuild,%,$@)-rebuild
33 $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
34%-install: %-compile
35 @$(TRACE) target/$(patsubst %-install,%,$@)-install
36 $(MAKE) -C $(patsubst %-install,%,$@) install
37linux-imagebuilder:
38 @$(TRACE) target/linux/imagebuilder
39 $(MAKE) -C linux imagebuilder
40
41
Note: See TracBrowser for help on using the repository browser.