From 98bc6dac2abdd81a0f6cb504ffdcd4bd6ae77e2f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 18 Jul 2006 23:43:58 +0000 Subject: [PATCH] configuring uClibc depends on first having kernel headers in place --- Makefile | 2 +- toolchain/uClibc/uclibc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c181aa7cc6..e9d0ab8e28 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index 2caceebb49..0cbefd8cd6 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -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' \ -- 2.30.2