source: freewrt/target/Makefile@ fdd4f59

freewrt_1_0 freewrt_2_0
Last change on this file since fdd4f59 was 3da2a55, checked in by Thorsten Glaser <tg@…>, 19 years ago

move lzma from target to toolchain (idea by wbx@ and me) and
fix makefile cflags bullshit by original patch0r

tested to build on MirBSD

agreed wbx@

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

  • Property mode set to 100644
File size: 1008 bytes
Line 
1include $(TOPDIR)/rules.mk
2
3all: install
4
5$(BIN_DIR):
6 mkdir -p $(BIN_DIR)
7
8linux-compile:
9linux-install: $(BIN_DIR)
10
11prepare: linux-prepare
12compile: linux-compile
13install: image_clean linux-install
14clean: linux-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.