lkml.org 
[lkml]   [2018]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 3/3] firmware: rewrite Makefile
On Fri, Dec 21, 2018 at 5:43 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Clean up the Makefile. Equivalent *.gen.S files are produced.
>
> - Use filechk to remove ugly wordsize_deps
>
> - Get FWNAME, FWSTR, ASM_WORD, ASM_ALIGN, and PROGBITS out of the
> recipe for readability
>
> - Move mkdir into the recipe
>
> - Clean up generated directories by 'make clean'
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>

> -targets := $(patsubst $(obj)/%,%, \
> - $(shell find $(obj) -name \*.gen.S 2>/dev/null))
> +targets := $(shell cd $(obj) && find * -name '*.gen.S')
> +clean-dirs := $(shell cd $(obj) && find * -maxdepth 0 -type d)

This 'find' emits a warning for out-of-tree build.
So, I will get it back to the original code.


--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2018-12-22 18:00    [W:0.055 / U:46.856 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site