1
0
Fork 0
alistair23-linux/scripts/package
Ard Biesheuvel 3bc95f564d kbuild/deb-pkg: annotate libelf-dev dependency as :native
[ Upstream commit 8ffdc54b6f ]

Cross compiling the x86 kernel on a non-x86 build machine produces
the following error when CONFIG_UNWINDER_ORC is enabled, regardless
of whether libelf-dev is installed or not.

  dpkg-checkbuilddeps: error: Unmet build dependencies: libelf-dev
  dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
  dpkg-buildpackage: warning: (Use -d flag to override.)

Since this is a build time dependency for a build tool, we need to
depend on the native version of libelf-dev so add the appropriate
annotation.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-17 19:49:07 +01:00
..
builddeb builddeb: generate multi-arch friendly linux-libc-dev package 2019-07-17 10:25:10 +09:00
buildtar kbuild: pkg: grep include/config/auto.conf instead of $KCONFIG_CONFIG 2019-03-14 02:39:13 +09:00
mkdebian kbuild/deb-pkg: annotate libelf-dev dependency as :native 2020-01-17 19:49:07 +01:00
mkspec kbuild: create *.mod with full directory path and remove MODVERDIR 2019-07-18 02:19:31 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00