[arch-commits] Commit in linux-grsec/trunk (PKGBUILD)

Daniel Micay thestinger at archlinux.org
Mon Jul 25 05:24:37 UTC 2016


    Date: Monday, July 25, 2016 @ 05:24:36
  Author: thestinger
Revision: 183943

merge changes from core/linux (objtool, soc dir)

Modified:
  linux-grsec/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-25 05:16:23 UTC (rev 183942)
+++ PKGBUILD	2016-07-25 05:24:36 UTC (rev 183943)
@@ -181,7 +181,7 @@
   mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include"
 
   for i in acpi asm-generic config crypto drm generated keys linux math-emu \
-    media net pcmcia scsi sound trace uapi video xen; do
+    media net pcmcia scsi soc sound trace uapi video xen; do
     cp -a include/${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/include/"
   done
 
@@ -263,6 +263,12 @@
     cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}"
   done
 
+  # add objtool for external module building and enabled VALIDATION_STACK option
+  if [ -f tools/objtool/objtool ];  then
+      mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool"
+      cp -a tools/objtool/objtool ${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool/ 
+  fi
+
   chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build"
   find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \;
 



More information about the arch-commits mailing list