1 include $(TOPDIR)/rules.mk
2 include $(INCLUDE_DIR)/target.mk
9 TARGETS-y := linux utils
10 TARGETS-$(CONFIG_SDK) += sdk
12 linux-compile: utils-install
13 linux-install: $(BIN_DIR)
14 sdk-compile: linux-install
15 image_install: linux-install
17 download: $(patsubst %,%-source,$(TARGETS-y))
18 prepare: linux-prepare
19 compile: linux-compile image_compile
20 install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install
21 clean: $(patsubst %,%-clean,$(TARGETS-y)) image_clean
24 $(MAKE) -C image/$(BOARD) clean
25 rm -f $(BIN_DIR)/openwrt-*
28 $(MAKE) -C image/$(BOARD) compile
30 image_install: image_compile
31 $(MAKE) -C image/$(BOARD) install
34 $(MAKE) -C $(patsubst %-clean,%,$@) clean
36 $(MAKE) -C $(patsubst %-source,%,$@) source
38 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
40 $(MAKE) -C $(patsubst %-compile,%,$@) compile
42 $(MAKE) -C $(patsubst %-install,%,$@) install