diff options
author | Mikael Eriksson | 2020-06-14 22:37:16 +0200 |
---|---|---|
committer | Mikael Eriksson | 2020-06-14 22:37:16 +0200 |
commit | 2d3790dc4fa18c748ba601743d2bfa6181e299a0 (patch) | |
tree | 5513923ec558e38a40f0628091f91e0dbe251bb2 /PKGBUILD | |
parent | 40b54f0155891c1ee93335793df212ff8b48bf7f (diff) | |
download | aur-2d3790dc4fa18c748ba601743d2bfa6181e299a0.tar.gz |
Merged with core/linux 5.7.2.arch1-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -16,7 +16,7 @@ arch=(x86_64) url="https://kernel.org/" license=(GPL2) makedepends=( - bc kmod libelf + bc kmod libelf pahole xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick git ) @@ -92,7 +92,7 @@ _package() { echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase" echo "Installing modules..." - make INSTALL_MOD_PATH="$pkgdir/usr" modules_install + make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install # remove build and source links rm "$modulesdir"/{source,build} @@ -168,6 +168,9 @@ _package-headers() { esac done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0) + echo "Stripping vmlinux..." + strip -v $STRIP_STATIC "$builddir/vmlinux" + echo "Adding symlink..." mkdir -p "$pkgdir/usr/src" ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" |