diff options
Diffstat (limited to 'libre/kernel26-libre-lts')
-rw-r--r-- | libre/kernel26-libre-lts/PKGBUILD | 27 | ||||
-rw-r--r-- | libre/kernel26-libre-lts/config.i686 | 4 | ||||
-rw-r--r-- | libre/kernel26-libre-lts/config.x86_64 | 7 |
3 files changed, 25 insertions, 13 deletions
diff --git a/libre/kernel26-libre-lts/PKGBUILD b/libre/kernel26-libre-lts/PKGBUILD index 1703e2073..a253ae483 100644 --- a/libre/kernel26-libre-lts/PKGBUILD +++ b/libre/kernel26-libre-lts/PKGBUILD @@ -7,7 +7,7 @@ pkgname=('kernel26-libre-lts' 'kernel26-libre-lts-headers') # Build stock -lts k _kernelname=${pkgname#kernel26-libre} _basekernel=2.6.32 _preset=kernel26-lts.preset -pkgver=${_basekernel}.33 +pkgver=${_basekernel}.36 pkgrel=1 arch=('i686' 'x86_64') license=('GPL2') @@ -19,12 +19,7 @@ source=(http://www.fsfla.org/svnwiki/selibre/linux-libre/download/releases/${pkg # standard config files for mkinitcpio ramdisk ${_preset} ${pkgname}.install) -md5sums=('ad33db040de641a00c60726531192413' - '30851deee235a7486bd408cbe8eb2d71' - '8061d2986b33c052153edebaee435b8f' - 'aa1feef81f058ab623ef5aeac40af00d' - '2cbfeb3e2a18d45f82f613e97fc23355' - 'fbfc7a1af3208c7b729055d91e1c149a') +options=(!strip) build() { cd ${srcdir}/linux-$pkgver @@ -220,8 +215,24 @@ package_kernel26-libre-lts-headers() { chown -R root.root ${pkgdir}/usr/src/linux-${_kernver} find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \; - + # strip scripts directory + find ${pkgdir}/usr/src/linux-${_kernver}/scripts -type f -perm -u+w 2>/dev/null | while read binary ; do + case "$(file -bi "$binary")" in + *application/x-sharedlib*) # Libraries (.so) + /usr/bin/strip $STRIP_SHARED "$binary";; + *application/x-archive*) # Libraries (.a) + /usr/bin/strip $STRIP_STATIC "$binary";; + *application/x-executable*) # Binaries + /usr/bin/strip $STRIP_BINARIES "$binary";; + esac + done # remove unneeded architectures rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa} } +md5sums=('44f553d98efbab305ec490334560b097' + '30851deee235a7486bd408cbe8eb2d71' + 'c0bd6a068a32636e52bf4d887bb2b722' + 'a5a3af2b95f9a8b3c43d1a74fa5fd82c' + '2cbfeb3e2a18d45f82f613e97fc23355' + 'fbfc7a1af3208c7b729055d91e1c149a') diff --git a/libre/kernel26-libre-lts/config.i686 b/libre/kernel26-libre-lts/config.i686 index ada856765..d2bba6bee 100644 --- a/libre/kernel26-libre-lts/config.i686 +++ b/libre/kernel26-libre-lts/config.i686 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.32 -# Tue Mar 15 11:13:21 2011 +# Fri Feb 18 17:22:19 2011 # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -2371,7 +2371,7 @@ CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y CONFIG_VT_HW_CONSOLE_BINDING=y -CONFIG_DEVKMEM=y +# CONFIG_DEVKMEM is not set CONFIG_SERIAL_NONSTANDARD=y # CONFIG_COMPUTONE is not set CONFIG_ROCKETPORT=m diff --git a/libre/kernel26-libre-lts/config.x86_64 b/libre/kernel26-libre-lts/config.x86_64 index 30893ae2c..494bb3eff 100644 --- a/libre/kernel26-libre-lts/config.x86_64 +++ b/libre/kernel26-libre-lts/config.x86_64 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.32 -# Tue Mar 15 09:09:23 2011 +# Mon Mar 21 12:20:44 2011 # CONFIG_64BIT=y # CONFIG_X86_32 is not set @@ -292,7 +292,8 @@ CONFIG_DMI=y CONFIG_GART_IOMMU=y CONFIG_CALGARY_IOMMU=y CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y -# CONFIG_AMD_IOMMU is not set +CONFIG_AMD_IOMMU=y +# CONFIG_AMD_IOMMU_STATS is not set CONFIG_SWIOTLB=y CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_API=y @@ -2249,7 +2250,7 @@ CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y CONFIG_VT_HW_CONSOLE_BINDING=y -CONFIG_DEVKMEM=y +# CONFIG_DEVKMEM is not set CONFIG_SERIAL_NONSTANDARD=y # CONFIG_COMPUTONE is not set CONFIG_ROCKETPORT=m |