lkml.org 
[lkml]   [2017]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/8] kbuild: Support for Symbols.list creation
From
Date


On 08/31/2017 12:24 PM, Joe Lawrence wrote:
> Hi Joao,
>
Hi Joe and Josh,

Thanks for the quick feedback, I'll be looking forward for your comments
once you have the change to dig deeper :). I'll apply all typo-fixes,
add klpclean to the PHONY targets and change the quiet_cmd invocation as
suggested in v2.

>> For identifying livepatches during the build process, a flag variable
>> LIVEPATCH_$(basetarget).o is considered in scripts/Makefile.build. This
>> way, set this flag for the livepatch sample Makefile in
>> samples/livepatch/Makefile.
>
> I've never tried building a livepatch out of tree (is that even
> possible?) but does this make it any more/less harder?

Tbh, I never had tried it before, so I just emulated the process and it
was simple and successful. All it required in addition to what is
regular, was the introduction of the "LIVEPATCH_($bastarget).o := y"
into the Makefile. All else was implicitly handled by Kbuild.

Best,
Joao

\
 
 \ /
  Last update: 2017-09-04 09:24    [W:0.091 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site