projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix and enable the sdk
[openwrt-10.03/.git]
/
target
/
Makefile
diff --git
a/target/Makefile
b/target/Makefile
index 9205f5b986767f86ab6726d03cd09ff950c5d95a..0a1434472a8f49a53e986353d697146d8f83f797 100644
(file)
--- a/
target/Makefile
+++ b/
target/Makefile
@@
-5,16
+5,18
@@
all: install
$(BIN_DIR):
mkdir -p $(BIN_DIR)
$(BIN_DIR):
mkdir -p $(BIN_DIR)
-TARGETS:=linux utils
+TARGETS-y := linux utils
+TARGETS-$(CONFIG_SDK) += sdk
linux-compile: utils-install
linux-install: $(BIN_DIR)
linux-compile: utils-install
linux-install: $(BIN_DIR)
+sdk-compile: linux-install
-download: $(patsubst %,%-source,$(TARGETS))
+download: $(patsubst %,%-source,$(TARGETS
-y
))
prepare: linux-prepare
compile: linux-compile
prepare: linux-prepare
compile: linux-compile
-install: image_clean
linux-install
-clean: $(patsubst %,%-clean,$(TARGETS)) image_clean
+install: image_clean
$(patsubst %,%-install,$(TARGETS-y))
+clean: $(patsubst %,%-clean,$(TARGETS
-y
)) image_clean
image_clean: FORCE
rm -f $(BIN_DIR)/openwrt-*
image_clean: FORCE
rm -f $(BIN_DIR)/openwrt-*