* [PATCH v2] directfb: Allow native builds of directfb 1.7.6
@ 2015-03-10 22:04 Florian Boor
2015-03-10 22:32 ` Andre McCurdy
0 siblings, 1 reply; 4+ messages in thread
From: Florian Boor @ 2015-03-10 22:04 UTC (permalink / raw)
To: openembedded-core; +Cc: Florian Boor
From: Florian Boor <florian@kernelconcepts.de>
Required by some DirectFB applications like dfbsee.
Signed-off-by: Florian Boor <florian@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"
+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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] directfb: Allow native builds of directfb 1.7.6
2015-03-10 22:04 [PATCH v2] directfb: Allow native builds of directfb 1.7.6 Florian Boor
@ 2015-03-10 22:32 ` Andre McCurdy
2015-03-11 9:24 ` Florian Boor
0 siblings, 1 reply; 4+ messages in thread
From: Andre McCurdy @ 2015-03-10 22:32 UTC (permalink / raw)
To: Florian Boor; +Cc: Florian Boor, OE Core mailing list
On Tue, Mar 10, 2015 at 3:04 PM, Florian Boor
<florian.boor@kernelconcepts.de> wrote:
> From: Florian Boor <florian@kernelconcepts.de>
>
> Required by some DirectFB applications like dfbsee.
>
> Signed-off-by: Florian Boor <florian@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] directfb: Allow native builds of directfb 1.7.6
2015-03-10 22:32 ` Andre McCurdy
@ 2015-03-11 9:24 ` Florian Boor
2015-03-11 23:42 ` Andre McCurdy
0 siblings, 1 reply; 4+ messages in thread
From: Florian Boor @ 2015-03-11 9:24 UTC (permalink / raw)
To: Andre McCurdy; +Cc: OE Core mailing list
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 today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904] florian.boor@kernelconcepts.de
http://www.kernelconcepts.de/en
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] directfb: Allow native builds of directfb 1.7.6
2015-03-11 9:24 ` Florian Boor
@ 2015-03-11 23:42 ` Andre McCurdy
0 siblings, 0 replies; 4+ messages in thread
From: Andre McCurdy @ 2015-03-11 23:42 UTC (permalink / raw)
To: Florian Boor; +Cc: OE Core mailing list
Hi Florian,
On Wed, Mar 11, 2015 at 2:24 AM, Florian Boor
<florian.boor@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 today Tel: +49 271-771091-15
> and the reality of tomorrow. Fax: +49 271-771091-19
> [Robert Hutchings Goddard, 1904] florian.boor@kernelconcepts.de
> http://www.kernelconcepts.de/en
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-11 23:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 22:04 [PATCH v2] directfb: Allow native builds of directfb 1.7.6 Florian Boor
2015-03-10 22:32 ` Andre McCurdy
2015-03-11 9:24 ` Florian Boor
2015-03-11 23:42 ` Andre McCurdy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox