Closed FrankBau closed 2 years ago
Not the right fix. Buildroot can build host-openssl as a dependency of Linux by enabling BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y.
Issue already reported here: #17 Are you using the same kernel Configuration as the one in the BR2_EXTERNAL?
Yes, I did a clean build in a new folder:
git clone -b st/2021.02 https://github.com/bootlin/buildroot.git
git clone -b st/2021.02 https://github.com/bootlin/buildroot-external-st.git
cd buildroot
make BR2_EXTERNAL=../buildroot-external-st st_stm32mp157c_dk2_defconfig
make
on that Debian server I use as workaround for #22.
@tpetazzoni : then I see two issues here:
build tainted by host openssl => this is inherent to cross-compilation in general, it's impossible to fully isolate from what's on the host machine _BR2_LINUX_KERNEL_NEEDS_HOSTOPENSSL missing in the defconfigs => yes, I agree
It is indeed an issue, I just add the config to fix it, thanks.
Can be easily fixed by adding
libssl-dev
to the pre-requisites in https://github.com/bootlin/buildroot-external-st#pre-requisites. Found on a Linux 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 server as build host. hth KnarfB