fix ppp related bug in the network scripts
[openwrt.git] / target / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/target.mk
9
10 all: install
11
12 $(BIN_DIR):
13 mkdir -p $(BIN_DIR)
14
15 TARGETS-y := linux utils
16 TARGETS-$(CONFIG_SDK) += sdk
17
18 linux-compile: utils-install
19 linux-install: $(BIN_DIR)
20 sdk-compile: linux-install
21 image_install: linux-install
22
23 download: $(patsubst %,%-download,$(TARGETS-y))
24 prepare: linux-prepare
25 compile: linux-compile image_compile
26 install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install
27 clean: $(patsubst %,%-clean,$(TARGETS-y)) image_clean
28
29 image_clean: FORCE
30 $(MAKE) -C image/$(BOARD) clean
31 rm -f $(BIN_DIR)/openwrt-*
32
33 image_compile: FORCE
34 $(MAKE) -C image/$(BOARD) compile
35
36 image_install: image_compile
37 $(MAKE) -C image/$(BOARD) install
38
39 %-clean: FORCE
40 $(MAKE) -C $(patsubst %-clean,%,$@) clean
41 %-download: FORCE
42 $(MAKE) -C $(patsubst %-download,%,$@) download
43 %-prepare: FORCE
44 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
45 %-compile: %-prepare
46 $(MAKE) -C $(patsubst %-compile,%,$@) compile
47 %-install: %-compile
48 $(MAKE) -C $(patsubst %-install,%,$@) install
49
This page took 0.039121 seconds and 5 git commands to generate.