Re: [PATCH 2/8] kbuild: Support for Symbols.list creation

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

 





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
--
To unsubscribe from this list: send the line "unsubscribe live-patching" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux