diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index 4f26b60..eb107de 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -28,6 +28,11 @@ jobs: sudo apt update sudo apt install -y libelf-dev + - name: Install pahole + run: | + sudo apt update + sudo apt install -y pahole + - name: Install debhelper run: | sudo apt update @@ -54,6 +59,16 @@ jobs: repository: 'thesofproject/linux' path: 'linux' + - name: Install libelf + run: | + sudo apt update + sudo apt install -y libelf-dev + + - name: Install pahole + run: | + sudo apt update + sudo apt install -y pahole + - name: build start run: | export ARCH=i386 KCFLAGS="-Wall -Werror" @@ -108,6 +123,11 @@ jobs: sudo apt update sudo apt install -y libelf-dev + - name: Install pahole + run: | + sudo apt update + sudo apt install -y pahole + - name: build start run: | export ARCH=x86_64 CC=clang KCFLAGS="-Wall -Werror" diff --git a/debug-info-defconfig b/debug-info-defconfig new file mode 100644 index 0000000..210e776 --- /dev/null +++ b/debug-info-defconfig @@ -0,0 +1,3 @@ +CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y +CONFIG_DEBUG_INFO_BTF=y diff --git a/kconfig-sof-default.sh b/kconfig-sof-default.sh index d113e11..4c351ba 100755 --- a/kconfig-sof-default.sh +++ b/kconfig-sof-default.sh @@ -23,4 +23,5 @@ $COMMAND .config \ "$KCONFIG_DIR"/soundwire-defconfig \ "$KCONFIG_DIR"/soundwire-codecs-defconfig \ "$KCONFIG_DIR"/bpf-defconfig \ + "$KCONFIG_DIR"/debug-info-defconfig \ "$@"