[PATCH] create directory for dir/file.o
张忠山
zzs213 at 126.com
Thu Jul 18 02:57:46 EDT 2013
this patch come from kernel commit:
4d47dde47f7dd95042fa56283d948f50dd4b509c
Signed-off-by: 张忠山 <zzs213 at 126.com>
---
scripts/Makefile.lib | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 0b56dcc..e9e7e7e 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -70,7 +70,7 @@ subdir-obj-y := $(filter %/built-in.o, $(obj-y))
subdir-obj-y += $(__subdir-obj-y)
# $(obj-dirs) is a list of directories that contain object files
-obj-dirs := $(dir $(multi-objs) $(subdir-obj-y))
+obj-dirs := $(dir $(multi-objs) $(obj-y) $(pbl-y))
# Replace multi-part objects by their individual parts, look at local dir only
real-objs-y := $(foreach m, $(filter-out $(subdir-obj-y), $(obj-y)), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))),$($(m:.o=-objs)) $($(m:.o=-y)),$(m))) $(extra-y)
--
1.7.9.5
More information about the barebox
mailing list