Hi,
Can anybody help me with an example Makefile to build your own apps under openembedded? I already have the created the openembedded image for my DM500+ so I have the complete oe CDK etc installed. I am not sure however which parameters are required to cross-compile using the oe libraries..
Thanks!!!!
Exampe Makefile for openembedded apps?
Started by Dirktator, 11 May 2008 18:21
12 replies to this topic
Re: Exampe Makefile for openembedded apps? #2
Re: Exampe Makefile for openembedded apps? #3
Re: Exampe Makefile for openembedded apps? #4
Re: Exampe Makefile for openembedded apps? #5
Re: Exampe Makefile for openembedded apps? #6
Re: Exampe Makefile for openembedded apps? #7
Posted 11 May 2008 - 20:28
btw, not having a configure file doesn't necessarily mean its not an autotools project.
If you have configure.in or configure.ac, you have to run autoconf to generate the configure script. (and automake to create Makefile.in's from Makefile.am's)
In that case, usually a Makefile.cvs is provided (make -f Makefile.cvs), or an autogen.sh script (./autogen.sh)
If you have configure.in or configure.ac, you have to run autoconf to generate the configure script. (and automake to create Makefile.in's from Makefile.am's)
In that case, usually a Makefile.cvs is provided (make -f Makefile.cvs), or an autogen.sh script (./autogen.sh)
Re: Exampe Makefile for openembedded apps? #8
Re: Exampe Makefile for openembedded apps? #9
Re: Exampe Makefile for openembedded apps? #10
Posted 12 May 2008 - 16:15
ok, seems to work... but the linking still fails...
now suppose I write my own famous helloworld.c and want to run this on the dreambox console, how should I compile and link this?
I created a tiny Makefile like:
Sorry for these maybe stupid questions but I am pretty new to developing code with a cross compiler
now suppose I write my own famous helloworld.c and want to run this on the dreambox console, how should I compile and link this?
I created a tiny Makefile like:
ALLX = helloworld.o all: helloworld.0 $(CPP) -o hellow $(CPPFLAGS) $(LDFLAGS) ALLX
Sorry for these maybe stupid questions but I am pretty new to developing code with a cross compiler
DM500+, DM8000HD, rotor, 88cm dish
Mac and MacBook
Re: Exampe Makefile for openembedded apps? #11
Re: Exampe Makefile for openembedded apps? #12
Re: Exampe Makefile for openembedded apps? #13
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users