2005-03-20 02:53:40 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
all: install
|
|
|
|
|
|
|
|
$(BIN_DIR):
|
|
|
|
mkdir -p $(BIN_DIR)
|
|
|
|
|
2006-06-21 02:16:37 +00:00
|
|
|
TARGETS:=linux utils
|
2006-06-20 23:56:49 +00:00
|
|
|
|
2006-06-21 02:16:37 +00:00
|
|
|
linux-compile: utils-install
|
2005-07-17 22:52:59 +00:00
|
|
|
linux-install: $(BIN_DIR)
|
2005-06-11 21:18:26 +00:00
|
|
|
|
2006-06-20 23:56:49 +00:00
|
|
|
download: $(patsubst %,%-source,$(TARGETS))
|
2006-01-13 22:34:55 +00:00
|
|
|
prepare: linux-prepare
|
2005-06-11 21:18:26 +00:00
|
|
|
compile: linux-compile
|
|
|
|
install: image_clean linux-install
|
2006-06-20 23:56:49 +00:00
|
|
|
clean: $(patsubst %,%-clean,$(TARGETS)) image_clean
|
2005-06-11 21:18:26 +00:00
|
|
|
|
2006-05-31 23:29:05 +00:00
|
|
|
image_clean: FORCE
|
2005-06-11 21:18:26 +00:00
|
|
|
rm -f $(BIN_DIR)/openwrt-*
|
|
|
|
|
2006-05-31 23:29:05 +00:00
|
|
|
%-clean: FORCE
|
2005-03-20 02:53:40 +00:00
|
|
|
$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
2006-06-20 23:56:49 +00:00
|
|
|
%-source: FORCE
|
|
|
|
$(MAKE) -C $(patsubst %-source,%,$@) source
|
2006-05-31 23:29:05 +00:00
|
|
|
%-prepare: FORCE
|
2005-03-20 02:53:40 +00:00
|
|
|
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare
|
|
|
|
%-compile: %-prepare
|
|
|
|
$(MAKE) -C $(patsubst %-compile,%,$@) compile
|
|
|
|
%-install: %-compile
|
|
|
|
$(MAKE) -C $(patsubst %-install,%,$@) install
|
2006-02-24 20:59:09 +00:00
|
|
|
|