[PATCH] create directory for dir/file.o

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 22 02:40:35 EDT 2013


On Thu, Jul 18, 2013 at 02:57:46PM +0800, 张忠山 wrote:
> this patch come from kernel commit:
>     4d47dde47f7dd95042fa56283d948f50dd4b509c
> 
> Signed-off-by: 张忠山 <zzs213 at 126.com>

Applied, thanks

Sascha

> ---
>  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
> 
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list