summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-28 16:18:16 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-28 16:18:16 +0000
commitb8f28d656bd6206abec49f1f41a3f6b87cbd7040 (patch)
tree84aa7391c725bf0adbc3bdc7d6d64c90a1fa8717 /toolchain
parentf9106781dd348b6beed85f89982e7a01c0c6a433 (diff)
Add administration for linux,uclibc and main
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/uclibc.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 2ee6a17a1..7fcef559f 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -108,8 +108,7 @@ else
UCLIBC_LOCALE_DATA=
endif
-uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
-$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
+$(UCLIBC_DIR)/.unpacked: dirs kernel-headers host-sed $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
mkdir -p $(TOOL_BUILD_DIR)
rm -rf $(UCLIBC_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
@@ -442,14 +441,16 @@ uclibc: $(cross_compiler) $(STAGING_DIR)/usr/lib/libc.a $(UCLIBC_TARGETS)
uclibc-source: $(DL_DIR)/$(UCLIBC_SOURCE)
-uclibc-config: host-sed $(UCLIBC_DIR)/.config
+uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
+
+uclibc-config: $(UCLIBC_DIR)/.config
-uclibc-oldconfig: host-sed $(UCLIBC_DIR)/.oldconfig
+uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig
-uclibc-update:
+uclibc-update: uclibc-config
cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE)
-uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
+uclibc-configured: $(UCLIBC_DIR)/.configured
uclibc-configured-source: uclibc-source