source: freewrt/target/Makefile@ b3aff4e

Last change on this file since b3aff4e was bd6091b, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

add massive update

git-svn-id: svn://www.freewrt.org/branches/wbx-target-cleanup@546 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.1 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/license for details.
6
7include $(TOPDIR)/rules.mk
8include $(TOPDIR)/mk/targets.mk
9
10all: install
11
12$(BIN_DIR):
13 mkdir -p $(BIN_DIR)
14
15linux-compile:
16linux-install: $(BIN_DIR)
17
18prepare: linux-prepare
19compile: linux-compile
20install: image_clean linux-install image_install
21clean: linux-clean image_clean
22
23image_clean:
24 rm -f $(BIN_DIR)/freewrt-*
25
26image_install:
27 $(MAKE) -C image/$(BOARD) install
28
29%-clean:
30 @$(TRACE) target/$(patsubst %-clean,%,$@)-clean
31 $(MAKE) -C $(patsubst %-clean,%,$@) clean
32%-prepare:
33 @$(TRACE) target/$(patsubst %-prepare,%,$@)-prepare
34 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
35%-compile: %-prepare
36 @$(TRACE) target/$(patsubst %-compile,%,$@)-compile
37 $(MAKE) -C $(patsubst %-compile,%,$@) compile
38%-rebuild:
39 @$(TRACE) target/$(patsubst %-rebuild,%,$@)-rebuild
40 $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
41%-install: %-compile
42 @$(TRACE) target/$(patsubst %-install,%,$@)-install
43 $(MAKE) -C $(patsubst %-install,%,$@) install
Note: See TracBrowser for help on using the repository browser.