[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNARF-hqpcwVX7LvyZeWX5dJnnBBW=k2EBHSWM9cQCLW9Sw@mail.gmail.com>
Date: Wed, 29 Apr 2020 12:53:08 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Christian Brauner <christian@...uner.io>,
Jonathan Corbet <corbet@....net>,
Christian Brauner <christian.brauner@...ntu.com>,
"Steven Rostedt (VMware)" <rostedt@...dmis.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] samples: fix binderfs sample
Hi Arnd,
On Wed, Apr 29, 2020 at 6:26 AM Arnd Bergmann <arnd@...db.de> wrote:
>
> A routine check for misspelled Kconfig symbols showed on instance
> from last year, the correct symbol name is CONFIG_ANDROID_BINDERFS,
> not CONFIG_CONFIG_ANDROID_BINDERFS, so the extra prefix must
> be removed in the Kconfig file to allow enabling the sample.
>
> As the actual sample fails to build as a kernel module, change the
> Makefile enough to get to build as a hostprog instead.
>
> Fixes: 9762dc1432e1 ("samples: add binderfs sample program")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
Nice catch!
I am working on a new syntax 'userprogs'.
This builds programs for the target architecture
instead of the host.
Once, my series lands,
you can use 'userprogs', like this:
https://patchwork.kernel.org/patch/11515977/
Then 'ifndef CROSS_COMPILE' will go away.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists