[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to build proper "user" emdebian packages



Hi,

> My question is now how to generate a proper emdebian package. I
> successfully compiled a simple hello world app and it worked on the
> target device.

A package is generated by emsource, but things are little stalled at
the moment and Neil, doing most part of this work wants to do the code
audit and change the way crush builds, more towards to what grip does.
See
http://wiki.debian.org/EmdebianQuickStart
http://wiki.debian.org/EmdebianCodeAudit

>The header <stdio.h> is used there and the c file is
> simply compiled with arm-linux-gnu. I guess the default stdio.h header
> from the development system is used then instead of the emdebian
> specific one?

The header files are under /usr/$triplet/include, using apt-cross or
dpkg-cross you can get lots of headers. See
http://wiki.debian.org/EmdebianToolchain

> Is there a makefile template for building apps for emdebian crush?

I do not think we have one. I might be wrong.

> After having a executable how do I generate en emdebian .deb package?

You need to package your software Debian like

> Can I just manually create the control.tar.gz, data.tar.gz files and
> move them into test.deb file?

That's not the approach we are looking for, but as a workarround that
could work for you.

Please visit wiki pages on EmdebianGuide and EmdebianPolicy

Cheers
-- 
 Héctor Orón


Reply to: