[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNATAYn2-4X7Dyn0tRqNfZCNVU6Ws3VaMSsQJ=MhUMLy+_Q@mail.gmail.com>
Date: Thu, 22 Jun 2017 10:17:31 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Richard Genoud <richard.genoud@...il.com>
Cc: Nicolas Dichtel <nicolas.dichtel@...nd.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Russell King <rmk+kernel@...linux.org.uk>,
Mark Salter <msalter@...hat.com>,
Michael Ellerman <mpe@...erman.id.au>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kbuild: fix header installation under fakechroot environment
2017-06-15 17:36 GMT+09:00 Richard Genoud <richard.genoud@...il.com>:
> Since commit fcc8487d477a ("uapi: export all headers under uapi
> directories") fakechroot make bindeb-pkg fails, mismatching files for
> directories:
> touch: cannot touch 'usr/include/video/uvesafb.h/.install': Not a
> directory
>
> This due to a bug in fakechroot:
> when using the function $(wildcard $(srcdir)/*/.) in a makefile, under a
> fakechroot environment, not only directories but also files are
> returned.
>
> To circumvent that, we are using the functions:
> $(sort $(dir $(wildcard $(srcdir)/*/))))
>
> And thanks to Yamada Masahiro who figured out the right
> filter-out/patsubst order !
>
> Fixes: fcc8487d477a ("uapi: export all headers under uapi directories")
> Signed-off-by: Richard Genoud <richard.genoud@...il.com>
> ---
Applied to linux-kbuild/fixes. Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists