* [Buildroot] Including AT91 *.h files in arm-linux-gcc
@ 2007-03-30 18:58 Paul Kavan
2007-03-30 19:12 ` Ulf Samuelsson
0 siblings, 1 reply; 2+ messages in thread
From: Paul Kavan @ 2007-03-30 18:58 UTC (permalink / raw)
To: buildroot
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
--
***************************************
Paul David Kavan
Project Engineer
GRH Electronics, Inc.
402-734-4900
pkavan at gmail.com
***************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Including AT91 *.h files in arm-linux-gcc
2007-03-30 18:58 [Buildroot] Including AT91 *.h files in arm-linux-gcc Paul Kavan
@ 2007-03-30 19:12 ` Ulf Samuelsson
0 siblings, 0 replies; 2+ messages in thread
From: Ulf Samuelsson @ 2007-03-30 19:12 UTC (permalink / raw)
To: buildroot
----- Original Message -----
From: "Paul Kavan" <pkavan@gmail.com>
To: <buildroot@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-30 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-30 18:58 [Buildroot] Including AT91 *.h files in arm-linux-gcc Paul Kavan
2007-03-30 19:12 ` Ulf Samuelsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox