[oe] package VDR for OE
Henning Heinold
heinold at inf.fu-berlin.de
Sat Dec 12 17:33:13 UTC 2009
On Sat, Dec 12, 2009 at 12:48:40PM +0100, Paul Menzel wrote:
> Dear OE hackers,
>
>
> I am trying to write a recipe for The Video Disc Recorder (VDR) [1] and
> get it into OE.
>
> Unfortunately I have never done this and I also do not know much about
> things related to compiling.
>
> I tried to follow [2] and [3] and came up with the following which is
> not much as you can see and in addition does not work yet.
>
> The problem I am facing is, that in the Makefile of VDR [4] there is
>
> […]
> LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype
> -lfontconfig
> INCLUDES = -I/usr/include/freetype
> […]
>
> so that the path `/usr/include/freetype/` is passed to the make command
> which of course fails trying to cross compile the program.
>
> CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/freetype2
> cc1plus: internal compiler error: in add_path, at c-incpath.c:425
>
> Now, if I understand it correctly by looking at other recipes there is
> EXTRA_OEMAKE = "" where I should be able to set the INCLUDEPATH to the
> OE build environment. Is that correct.
>
> Could you please also tell me what the recipe variable name is for libs?
>
>
> Thank you,
>
> Paul
What buildsystem is vdr using autotools or handmade Makefiles?
for autotools just do
inherit autotools
for handmade Makefiles
make a Patch which patches the Makefile and sets the include path to our staginginclude-Path
Bye Henning
More information about the Openembedded-devel
mailing list