diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2006-07-31 07:17:51 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-08-01 20:23:16 -0700 |
commit | b82560dd46828d964d74bc58c565ee263a7abf02 (patch) | |
tree | ff869c509d6d45a3ff53688cbf5d7aae5da16929 | |
parent | c4684a1d9390711f1b244220e5820d6a9722ae29 (diff) | |
download | klibc-b82560dd46828d964d74bc58c565ee263a7abf02.tar.gz |
klibc/kbuild: fix building with make O=.. in the kernelklibc-1.4.18
Create output directory for klib-y targets if it does not exists.
This fixes compiling with make O=.. in the kernel.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | scripts/Kbuild.klibc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 9101d51602592..bbb86f4ff0e06 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -177,7 +177,7 @@ klib-objs := $(patsubst %/, %/klib.list, $(klib-y)) output-dirs := $(dir $(kprog-dirs) $(kprog-objs)) output-dirs += $(foreach f, $(hostprogs-y) $(targets), \ $(if $(dir $(f)), $(dir $(f)))) -output-dirs += $(klib-dirs) +output-dirs += $(dir $(klib-objs)) output-dirs := $(strip $(sort $(filter-out ./,$(output-dirs)))) # prefix so we get full dir |