]> git.baikalelectronics.ru Git - kernel.git/commit
deb-pkg: generate correct build dependencies
authorRiku Voipio <riku.voipio@linaro.org>
Wed, 2 Jan 2019 09:23:04 +0000 (11:23 +0200)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Mar 2019 17:30:26 +0000 (02:30 +0900)
commitf7606ed21c6907b2b6e463b023955371011ece64
tree3512aec8bd342ba83df91f043e552100edcde472
parent223ae953687c7ea1b8f5f6bc9d8319a1a64c5ef6
deb-pkg: generate correct build dependencies

bison/flex is now needed always for building for kconfig. Some build
dependencies depend on kernel configuration, enable them as needed:

- libelf-dev when UNWINDER_ORC is set
- libssl-dev for SYSTEM_TRUSTED_KEYRING

Since the libssl-dev is needed for extract_cert binary, denote with
:native to install the libssl-dev for the build machines architecture,
rather than for the architecture of the kernel being built.

Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: maximilian attems <maks@stro.at>
[masahiro.yamada: change 'flex' to 'flex | flex:native' ]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/mkdebian