On Tue, Apr 3, 2018 at 12:23 AM, Jonathan Liu <[email protected]> wrote: > Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on > every build. It is visible in the output of "cat /proc/version" after > the hash character.
It is possible that someone might actually want this feature, for debug or different build variants. So this would be better as a variable that can be overridden. Bruce > > Signed-off-by: Jonathan Liu <[email protected]> > --- > meta/classes/kernel.bbclass | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass > index 4877965af0..78d6c30b07 100644 > --- a/meta/classes/kernel.bbclass > +++ b/meta/classes/kernel.bbclass > @@ -151,6 +151,7 @@ PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-firmware-.*" > > export OS = "${TARGET_OS}" > export CROSS_COMPILE = "${TARGET_PREFIX}" > +export KBUILD_BUILD_VERSION = "1" > export KBUILD_BUILD_USER = "oe-user" > export KBUILD_BUILD_HOST = "oe-host" > > -- > 2.16.3 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
