From 8fdbab8524084b09b5df0c864e69cdc0cd34c34c Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 1 Jun 2009 11:44:21 +0200 Subject: [PATCH] Fix toolchain build --- lfs/coreutils | 6 +++++- lfs/util-linux-ng | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lfs/coreutils b/lfs/coreutils index deb0cc211..cebcfa7cc 100644 --- a/lfs/coreutils +++ b/lfs/coreutils @@ -40,7 +40,11 @@ CORE = yes EXTRA = no DEBUG = no BUILD_DEPS = -DEPS = attr libcap2 ncurses pam shadow util-linux-ng + +# Don't check deps at toolchain build +ifneq "$(STAGE)" "toolchain" + DEPS = attr libcap2 ncurses pam shadow util-linux-ng +endif URL = http://www.gnu.org/software/coreutils/ LICENSE = GPLv3+ diff --git a/lfs/util-linux-ng b/lfs/util-linux-ng index 5d7e85b97..7b8f65f87 100644 --- a/lfs/util-linux-ng +++ b/lfs/util-linux-ng @@ -37,7 +37,12 @@ CORE = yes EXTRA = no DEBUG = no BUILD_DEPS = -DEPS = ncurses pam zlib + +ifneq "$(STAGE)" "toolchain" + DEPS = ncurses pam zlib +else + DEPS = ncurses zlib +endif CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -- 2.39.2