source: freewrt/target/Makefile@ eec1f7b

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

merge wbx-target-cleanup to trunk.

  • mk directory for some top level makefiles (build.mk,vars.mk)
  • add a separate configfs partition to all models, 128 kb big
  • add model and platform specific startup files and kernel configs
  • delete target/linux/package, add all addon kernel packages to packages
  • simplify target/linux/brcm-2.4/Makefile, abstraction to mk/ comes later
  • add target/image directory, place where the different images are created
  • default off for all extra packages, be sure that you enable all packages you need to get a dsl-capable router. snapshots will be created by a specific config which contains all needed stuff (iptables, pppoe, pptp, haserl, webif)

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

  • Property mode set to 100644
File size: 1.2 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-prepare
28 $(MAKE) -C image/$(BOARD) install
29
30%-clean:
31 @$(TRACE) target/$(patsubst %-clean,%,$@)-clean
32 $(MAKE) -C $(patsubst %-clean,%,$@) clean
33%-prepare:
34 @$(TRACE) target/$(patsubst %-prepare,%,$@)-prepare
35 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
36%-compile: %-prepare
37 @$(TRACE) target/$(patsubst %-compile,%,$@)-compile
38 $(MAKE) -C $(patsubst %-compile,%,$@) compile
39%-rebuild:
40 @$(TRACE) target/$(patsubst %-rebuild,%,$@)-rebuild
41 $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
42%-install: %-compile
43 @$(TRACE) target/$(patsubst %-install,%,$@)-install
44 $(MAKE) -C $(patsubst %-install,%,$@) install
Note: See TracBrowser for help on using the repository browser.