aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.host
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.host')
-rw-r--r--scripts/Makefile.host10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/Makefile.host b/scripts/Makefile.host
index 1c2e57000f5a..bb6a11f4f193 100644
--- a/scripts/Makefile.host
+++ b/scripts/Makefile.host
@@ -44,15 +44,11 @@ host-cxxobjs := $(sort $(foreach m,$(host-cxxmulti),$($(m)-cxxobjs)))
44 44
45# output directory for programs/.o files 45# output directory for programs/.o files
46# hostprogs-y := tools/build may have been specified. Retrieve directory 46# hostprogs-y := tools/build may have been specified. Retrieve directory
47host-objdirs := $(foreach f,$(__hostprogs), $(if $(dir $(f)),$(dir $(f)))) 47host-objdirs := $(dir $(__hostprogs))
48# directory of .o files from prog-objs notation 48# directory of .o files from prog-objs notation
49host-objdirs += $(foreach f,$(host-cmulti), \ 49host-objdirs += $(dir $(foreach f,$(host-cmulti), $($(f)-objs)))
50 $(foreach m,$($(f)-objs), \
51 $(if $(dir $(m)),$(dir $(m)))))
52# directory of .o files from prog-cxxobjs notation 50# directory of .o files from prog-cxxobjs notation
53host-objdirs += $(foreach f,$(host-cxxmulti), \ 51host-objdirs += $(dir $(foreach f,$(host-cxxmulti), $($(f)-cxxobjs)))
54 $(foreach m,$($(f)-cxxobjs), \
55 $(if $(dir $(m)),$(dir $(m)))))
56 52
57host-objdirs := $(strip $(sort $(filter-out ./,$(host-objdirs)))) 53host-objdirs := $(strip $(sort $(filter-out ./,$(host-objdirs))))
58 54