Fix the serial driver with the devfs removal
[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 linux-install: $(BIN_DIR)
16 image_install: linux-install
17
18 IMAGE_DIR:=linux/$(BOARD)-$(KERNEL)/image
19
20 download: $(patsubst %,%-download,$(TARGETS-y))
21 prepare: linux-prepare
22 compile: linux-compile image_compile
23 install: linux-install image_install
24
25 ifeq ($(CONFIG_SDK),y)
26 install: sdk_install
27 endif
28 ifeq ($(CONFIG_IB),y)
29 install: imagebuilder_install
30 endif
31
32 clean: linux-clean sdk-clean imagebuilder-clean image_clean
33
34 prereq: FORCE
35 $(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq
36 $(MAKE) -C $(IMAGE_DIR) prereq
37
38 sdk_install: FORCE
39 $(MAKE) -C sdk install
40
41 image_clean: FORCE
42 $(MAKE) -C $(IMAGE_DIR) clean
43 rm -f $(BIN_DIR)/openwrt-*
44
45 image_compile: FORCE
46 $(MAKE) -C $(IMAGE_DIR) compile
47
48 image_install: image_compile
49 $(MAKE) -C $(IMAGE_DIR) install
50
51 imagebuilder_install: image_install
52 $(MAKE) -C imagebuilder install
53
54 $(eval $(call default_subtargets,))
This page took 0.042764 seconds and 5 git commands to generate.