Re: [PATCH] kbuild: external module build warnings when KBUILD_OUTPUT set and W=1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 8, 2017 at 12:48 AM, Bruce Allan <bruce.w.allan@xxxxxxxxx> wrote:
> Commit db547ef19064 ("Kbuild: don't add obj tree in additional includes")
> causes warnings (-Wmissing-include-dirs) when compiling external modules
> with KBUILD_OUTPUT set and W=1.  This is because $src can be an absolute
> path to the external module source which when prefixed with -I$(srctree)/
> generates an incorrect directory path.
>
> Signed-off-by: Bruce Allan <bruce.w.allan@xxxxxxxxx>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>

Looks good to me, sorry for the regression

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux