[Buildroot] packages and architecture specific include files

hartleys hartleys at visionengravers.com
Wed Oct 15 18:43:39 UTC 2008


On Wednesday, October 15, 2008 11:33 AM, John Schimandle wrote:
> #include <asm/arch/gpio.h>

That file is a kernel header. It shouldn't be included in userspace
code.

As an example, all the inline functions will and extern function
prototypes will not work and generate build errors if you try and use
them. Also, the other #include statements in the file are going to break
if you try to include the file.

Your probably better off just working out what you need from the file
and creating a local "API" header for your application.

Hartley



More information about the buildroot mailing list