summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Makefile5
-rw-r--r--package/eglibc/Config.in2
-rw-r--r--package/glibc/Config.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/package/Makefile b/package/Makefile
index f416319d4..f8fca7505 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -440,8 +440,13 @@ INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y))
all: compile
clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m) base-files)
+ifeq ($(ADK_TOOLCHAIN_ONLY),y)
+compile: $(COMPILE_PACKAGES)
+install: $(INSTALL_PACKAGES)
+else
compile: base-files-compile $(COMPILE_PACKAGES)
install: base-files-install $(INSTALL_PACKAGES)
+endif
download: $(DOWNLOAD)
$(COMPILE_PACKAGES): base-files-compile
diff --git a/package/eglibc/Config.in b/package/eglibc/Config.in
index f16234bbb..6265c5b58 100644
--- a/package/eglibc/Config.in
+++ b/package/eglibc/Config.in
@@ -1,7 +1,7 @@
config ADK_PACKAGE_EGLIBC
prompt "eglibc............................... embedded GNU C library"
bool
- default y if ADK_TARGET_LIB_EGLIBC
+ default y if ADK_TARGET_LIB_EGLIBC && !ADK_TOOLCHAIN_ONLY
default n
depends on ADK_TARGET_LIB_EGLIBC
help
diff --git a/package/glibc/Config.in b/package/glibc/Config.in
index 35e630dc7..b6879a384 100644
--- a/package/glibc/Config.in
+++ b/package/glibc/Config.in
@@ -1,7 +1,7 @@
config ADK_PACKAGE_GLIBC
prompt "glibc............................... GNU C library"
bool
- default y if ADK_TARGET_LIB_GLIBC
+ default y if ADK_TARGET_LIB_GLIBC && !ADK_TOOLCHAIN_ONLY
default n
depends on ADK_TARGET_LIB_GLIBC
help