diff options
author | Jonathan Wright | 2020-10-26 22:16:52 +0000 |
---|---|---|
committer | Jonathan Wright | 2020-10-26 22:16:52 +0000 |
commit | 924616e35ecc2968fbf2f93cd1ff8b0694ed7325 (patch) | |
tree | 5f382b3f27f7fb089229cc6c2fc9f4e29b891d75 | |
parent | 78522f491578c8f6a1683394f0caf9a6d8f1bdb1 (diff) | |
download | aur-924616e35ecc2968fbf2f93cd1ff8b0694ed7325.tar.gz |
Revert CONFIG_DEBUG_INFO_BTF and add pahole support
CONFIG_DEBUG_INFO_BTF now requires pahole to be present, and it seems
that without CONFIG_DEBUG_INFO_BTF enabled the kernel package increases
in size by approx 15x.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | config | 2 |
3 files changed, 5 insertions, 4 deletions
@@ -9,11 +9,12 @@ pkgbase = linux-git makedepends = kmod makedepends = libelf makedepends = git + makedepends = pahole options = !strip source = git+https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux source = config sha256sums = SKIP - sha256sums = ff6ed758e3e0f41aee968c117f96dd802e3ee1a9eacc5a2621576e4e94d98e24 + sha256sums = 4876208fb4c758dfe73f36139a69d47c9d6dbe32f30d2fdb3140d4591fbd687c pkgname = linux-git pkgdesc = The Linux git kernel and modules @@ -9,7 +9,7 @@ pkgdesc='Linux git' url="https://www.kernel.org" arch=(x86_64) license=(GPL2) -makedepends=(bc kmod libelf git) +makedepends=(bc kmod libelf git pahole) options=('!strip') _srcname=linux source=( @@ -17,7 +17,7 @@ source=( config # the main kernel config file ) sha256sums=('SKIP' - 'ff6ed758e3e0f41aee968c117f96dd802e3ee1a9eacc5a2621576e4e94d98e24') + '4876208fb4c758dfe73f36139a69d47c9d6dbe32f30d2fdb3140d4591fbd687c') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -8574,7 +8574,7 @@ CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_INFO=y CONFIG_DEBUG_INFO_DWARF4=y -CONFIG_DEBUG_INFO_BTF=n +CONFIG_DEBUG_INFO_BTF=y CONFIG_FRAME_WARN=2048 CONFIG_STRIP_ASM_SYMS=y CONFIG_SECTION_MISMATCH_WARN_ONLY=y |