[oe] package VDR for OE
heinold at inf.fu-berlin.de
Sat Dec 12 18:33:13 CET 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)  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  and  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  there is
> LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype
> 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,
What buildsystem is vdr using autotools or handmade Makefiles?
for autotools just do
for handmade Makefiles
make a Patch which patches the Makefile and sets the include path to our staginginclude-Path
More information about the Openembedded-devel