Messages in this thread | | | From | Masahiro Yamada <> | Date | Wed, 29 Apr 2020 12:53:08 +0900 | Subject | Re: [PATCH] samples: fix binderfs sample |
| |
Hi Arnd,
On Wed, Apr 29, 2020 at 6:26 AM Arnd Bergmann <arnd@arndb.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@arndb.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
| |