Re: [OE-core] [PATCH v2] directfb: Allow native builds of directfb 1.7.6
On Tue, Mar 10, 2015 at 3:04 PM, Florian Boor florian.b...@kernelconcepts.de wrote: From: Florian Boor flor...@kernelconcepts.de Required by some DirectFB applications like dfbsee. Signed-off-by: Florian Boor flor...@kernelconcepts.de --- meta/recipes-graphics/directfb/directfb_1.7.6.bb | 14 ++ 1 file changed, 14 insertions(+) diff --git a/meta/recipes-graphics/directfb/directfb_1.7.6.bb b/meta/recipes-graphics/directfb/directfb_1.7.6.bb index d25d987..7acb7e6 100644 --- a/meta/recipes-graphics/directfb/directfb_1.7.6.bb +++ b/meta/recipes-graphics/directfb/directfb_1.7.6.bb @@ -19,3 +19,17 @@ LEAD_SONAME = libdirectfb-1.7.so.0 SRC_URI[md5sum] = 8a7bb06b3f58599b230b4cf314004512 SRC_URI[sha256sum] = 44f32bacfb842ea234599532f8481fe41b5bd2310d2bd101508eb3a5df26c9e1 + +BBCLASSEXTEND = native +DEPENDS_class-native = jpeg-native libpng-native Are you sure that excluding tslib-native from DEPENDS works? Since -lts is hardcoded in LDFLAGS (see directfb.inc) the linker won't run unless libts.so is found in sysroot (regardless of whether or not you configure with --with-inputdrivers=none). That being said, I don't know if -lts really needs to be hardcoded in LDFLAGS, it's been there since directfb was first imported into oe-core, with no explanation of comment. +EXTRA_OECONF_class-native = \ + --enable-freetype=no \ + --disable-zlib \ + --with-gfxdrivers=none \ + --disable-sdl \ + --disable-vnc \ + --disable-x11 \ + --disable-imlib2 \ + --disable-mesa \ + --with-inputdrivers=none \ + -- 1.7.10.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH v2] directfb: Allow native builds of directfb 1.7.6
Hi Florian, On Wed, Mar 11, 2015 at 2:24 AM, Florian Boor florian.b...@kernelconcepts.de wrote: Hi Arndre, On 10.03.2015 23:32, Andre McCurdy wrote: Are you sure that excluding tslib-native from DEPENDS works? Since -lts is hardcoded in LDFLAGS (see directfb.inc) the linker won't run unless libts.so is found in sysroot (regardless of whether or not you configure with --with-inputdrivers=none). That being said, I don't know if -lts really needs to be hardcoded in LDFLAGS, it's been there since directfb was first imported into oe-core, with no explanation of comment. yes it works - tested it and made sure that there was no native libts around from a previous build. That's a bit mysterious. It does fail for me. I wonder if your build is somehow finding a libts.so from the host system? But you are right, this hardcoded -lts in LDFLAGS looks strange. I can take a look at this later since I need to build and test this anyway. Good, I think removing the hardcoded -lts from LDFLAGS is going to be the right approach. Greetings Florian -- The dream of yesterday Florian Boor is the hope of todayTel: +49 271-771091-15 and the reality of tomorrow.Fax: +49 271-771091-19 [Robert Hutchings Goddard, 1904]florian.b...@kernelconcepts.de http://www.kernelconcepts.de/en -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH v2] directfb: Allow native builds of directfb 1.7.6
Hi Arndre, On 10.03.2015 23:32, Andre McCurdy wrote: Are you sure that excluding tslib-native from DEPENDS works? Since -lts is hardcoded in LDFLAGS (see directfb.inc) the linker won't run unless libts.so is found in sysroot (regardless of whether or not you configure with --with-inputdrivers=none). That being said, I don't know if -lts really needs to be hardcoded in LDFLAGS, it's been there since directfb was first imported into oe-core, with no explanation of comment. yes it works - tested it and made sure that there was no native libts around from a previous build. But you are right, this hardcoded -lts in LDFLAGS looks strange. I can take a look at this later since I need to build and test this anyway. Greetings Florian -- The dream of yesterday Florian Boor is the hope of todayTel: +49 271-771091-15 and the reality of tomorrow.Fax: +49 271-771091-19 [Robert Hutchings Goddard, 1904]florian.b...@kernelconcepts.de http://www.kernelconcepts.de/en -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core