[PATCH Trusty/Utopic SRU] UBUNTU: [Debian] Add UTS_RELEASE_MINOR to version.h
Tim Gardner
tim.gardner at canonical.com
Mon Jun 16 20:52:15 UTC 2014
BugLink: http://bugs.launchpad.net/bugs/1327619
Provides for finer grained kernel identification for external modules.
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 98fdf89..1947afc 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -244,6 +244,8 @@ endif
# Copy over the compilation version.
cp "$(builddir)/build-$*/include/generated/compile.h" \
"$(hdrdir)/include/generated/compile.h"
+ # Add UTS_RELEASE_MINOR to version.h
+ echo "#define UTS_RELEASE_MINOR $(abinum)" >> $(hdrdir)/include/generated/uapi/linux/version.h
# powerpc kernel arch seems to need some .o files for external module linking. Add them in.
ifeq ($(build_arch),powerpc)
mkdir -p $(hdrdir)/arch/powerpc/lib
--
1.9.1
More information about the kernel-team
mailing list