[Buildroot] Including AT91 *.h files in arm-linux-gcc

Ulf Samuelsson ulf at atmel.com
Fri Mar 30 19:12:27 UTC 2007


----- Original Message ----- 
From: "Paul Kavan" <pkavan at gmail.com>
To: <buildroot at uclibc.org>
Sent: Friday, March 30, 2007 8:58 PM
Subject: [Buildroot] Including AT91 *.h files in arm-linux-gcc


> Hello All:
> 
> I am working on some code that requires me to include some of the
> AT91-specific header files (e.g. gpio.h) that are in the
> buildroot/build_arm/linux-2.6.20.3/include/asm-arm directory. I am
> more of a hardware engineer than a software engineer, so this may seem
> basic, but what is the best way to be able to include these files and
> the others (e.g. asm/irq.h) without having to specify the paths, which
> can get sticky when one *.h gile calls another and so on?
> 
> By the way, I am using buildroot configured for an AT91SAM9260.
> 
> 
> Thanks.
> 
> Paul
> 

You would be better off taking the linux-2.4.6.20 and applying my patch
from www.at91.com Project AT91 buildroot

I think that adding the directory is the proper way to do things.
Other people may disagree



Best Regards
Ulf Samuelsson



More information about the buildroot mailing list