configuring uClibc depends on first having kernel headers in place

This commit is contained in:
Eric Andersen 2006-07-18 23:43:58 +00:00
parent 8aa5dc4138
commit 98bc6dac2a
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
# along with the packages to build for the target.
#
##############################################################
TARGETS:=kernel-headers uclibc-configured binutils gcc uclibc-target-utils
TARGETS:=uclibc-configured binutils gcc uclibc-target-utils
include toolchain/Makefile.in
include package/Makefile.in

View File

@ -68,7 +68,7 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
touch $(UCLIBC_DIR)/.unpacked
uclibc-configured: $(UCLIBC_DIR)/.configured
$(UCLIBC_DIR)/.configured: dependencies $(UCLIBC_DIR)/.unpacked
$(UCLIBC_DIR)/.configured: dependencies kernel-headers $(UCLIBC_DIR)/.unpacked
cp $(UCLIBC_CONFIG_FILE) $(UCLIBC_DIR)/.config
$(SED) 's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="$(TARGET_CROSS)",g' \
-e 's,# TARGET_$(UCLIBC_TARGET_ARCH) is not set,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \