Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] headers_install.sh linux/ioport.h
@ 2015-11-14  8:46 Michael Schweikart
  2015-11-16  6:26 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Schweikart @ 2015-11-14  8:46 UTC (permalink / raw)
  To: buildroot

Hi,

i have build a buildroot image with toolchain support and can build for 
example a application with use of the ncurses library inside eclipse.
Now I need to have the possibility to access the ISA Bus. Therefor i 
need the linux/ioport.h header file of the kernel, but the include File
is not copied into the directory 
"output/host/usr/i586-buildroot-linux-gnu". Why is this include file not 
copied. Is there a Kernel config option which i have to set correctly?

best regards

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] headers_install.sh linux/ioport.h
  2015-11-14  8:46 [Buildroot] headers_install.sh linux/ioport.h Michael Schweikart
@ 2015-11-16  6:26 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2015-11-16  6:26 UTC (permalink / raw)
  To: buildroot

On 14-11-15 09:46, Michael Schweikart wrote:
> Hi,
> 
> i have build a buildroot image with toolchain support and can build for example
> a application with use of the ncurses library inside eclipse.
> Now I need to have the possibility to access the ISA Bus. Therefor i need the
> linux/ioport.h header file of the kernel, but the include File
> is not copied into the directory "output/host/usr/i586-buildroot-linux-gnu". Why
> is this include file not copied. Is there a Kernel config option which i have to
> set correctly?

 ioport.h is a kernel header, not a userspace header, so it is not installed in
<sysroot>/usr/include/linux by linux's make headers_install.

 If you would have this header file, I doubt you'd be able to do much with it
anyway from userspace since the functions defined in it are not exported and the
macro definitions are as far as I know also not applicable to anything visible
in userspace.

 But perhaps you want to build a kernel module? In that case, you also have to
build the kernel using buildroot and use the kernel-module infrastructure [1].

 Regards,
 Arnout

[1] http://buildroot.org/manual.html#kernel-module-tutorial


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-16  6:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-14  8:46 [Buildroot] headers_install.sh linux/ioport.h Michael Schweikart
2015-11-16  6:26 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox