summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2010-08-24 08:19:27 +0000
committerKhem Raj <raj.khem@gmail.com>2010-12-02 17:56:48 -0800
commite2903ddb06b1f50cb4ac9af0b035c74ed6b9d30f (patch)
tree71dbcd43a40c6d2b7c61e792204468d1a948a261 /Makefile.in
parenta70fd5d6a76ba29d9428fb4a31c57ae50534b661 (diff)
create DEVEL_PREFIX/MULTILIB_DIR dir rather than DEVEL_PREFIX/lib
This fixes issue with GNU Make 3.82 when running: make install DESTDIR=$someplace Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index b199293ae..3399f8842 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -280,10 +280,10 @@ HEADERS_RM-$(UCLIBC_SUSV4_LEGACY) += utime.h
### ucontext.h
ifneq ($(findstring install,$(MAKECMDGOALS)),)
-$(addprefix $(PREFIX)$(DEVEL_PREFIX),include lib):
+$(addprefix $(PREFIX)$(DEVEL_PREFIX),include $(MULTILIB_DIR)):
$(do_mkdir)
# avoid warning about duplicate targets in rule or overrides
-ifneq ($(abspath $(RUNTIME_PREFIX)$(MULTILIB_DIR)),$(abspath $(DEVEL_PREFIX)lib))
+ifneq ($(abspath $(RUNTIME_PREFIX)$(MULTILIB_DIR)),$(abspath $(DEVEL_PREFIX)$(MULTILIB_DIR)))
$(PREFIX)$(RUNTIME_PREFIX)$(MULTILIB_DIR):
$(do_mkdir)
endif