On 26.10.23 10:34, Jose Quaresma wrote: > > > Khem Raj <raj.k...@gmail.com <mailto:raj.k...@gmail.com>> escreveu no > dia quarta, 25/10/2023 à(s) 18:18: > > I wonder if something like below would help > > diff --git > a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb > <http://make-mod-scripts_1.0.bb> > b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb > <http://make-mod-scripts_1.0.bb> > index 2cff48c39c3..6133721334c 100644 > --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb > <http://make-mod-scripts_1.0.bb> > +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb > <http://make-mod-scripts_1.0.bb> > @@ -12,7 +12,7 @@ S = "${WORKDIR}" > > do_configure[depends] += "virtual/kernel:do_shared_workdir > openssl-native:do_populate_sysroot" > do_compile[depends] += "virtual/kernel:do_compile_kernelmodules" > - > +do_populate_sysroot[depends] += "openssl-native:do_populate_sysroot" > > > This doesn't solve the problem because at compile time the openssl is > already there on native sysroot
How about a patch like this: ``` diff --git i/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb w/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb index 0e420a25d9..182abd0233 100644 --- i/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +++ w/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb @@ -18,6 +18,10 @@ RDEPENDS:${PN}-dev = "" DEPENDS += "bc-native bison-native" DEPENDS += "gmp-native" +BUILD_LDFLAGS =+ "-L /build/tmp/sysroots-components/x86_64/openssl-native/usr/lib \ + -Wl,-rpath-link,/build/tmp/sysroots-components/x86_64/openssl-native/usr/lib \ + -Wl,-rpath,/build/tmp/sysroots-components/x86_64/openssl-native/usr/lib" + EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"" EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_LDFLAGS}" CROSS_COMPILE=${TARGET_PREFIX}" ``` Regards Jörg Sommer -- Navimatix GmbH Tatzendpromenade 2 D-07745 Jena Geschäftsführer: Steffen Späthe, Jan Rommeley Registergericht: Amtsgericht Jena, HRB 501480
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#105741): https://lists.openembedded.org/g/openembedded-devel/message/105741 Mute This Topic: https://lists.openembedded.org/mt/102174355/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-