Skip to content

Commit 657f96c

Browse files
Avenger-285714masahir0y
authored andcommitted
kbuild: deb-pkg: Add libdw-dev:native to Build-Depends-Arch
The dwarf.h header, which is included by scripts/gendwarfksyms/gendwarfksyms.h, resides within the libdw-dev package. This portion of the code is compiled under the condition that CONFIG_GENDWARFKSYMS is enabled. Consequently, add libdw-dev to Build-Depends-Arch to prevent unforeseen compilation failures. Fix follow possible error: In file included from scripts/gendwarfksyms/symbols.c:6: scripts/gendwarfksyms/gendwarfksyms.h:6:10: fatal error: 'dwarf.h' file not found 6 | #include <dwarf.h> | ^~~~~~~~~ Fixes: f285688 ("tools: Add gendwarfksyms") Reviewed-by: Sami Tolvanen <[email protected]> Signed-off-by: WangYuli <[email protected]> Reviewed-by: Nicolas Schier <[email protected]> Tested-by: Nicolas Schier <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 5604575 commit 657f96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/package/mkdebian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Rules-Requires-Root: no
210210
Build-Depends: debhelper-compat (= 12)
211211
Build-Depends-Arch: bc, bison, flex,
212212
gcc-${host_gnu} <!pkg.${sourcename}.nokernelheaders>,
213-
kmod, libelf-dev:native,
213+
kmod, libdw-dev:native, libelf-dev:native,
214214
libssl-dev:native, libssl-dev <!pkg.${sourcename}.nokernelheaders>,
215215
python3:native, rsync
216216
Homepage: https://www.kernel.org/

0 commit comments

Comments
 (0)