From: Christopher H. <ch...@mu...> - 2003-10-06 16:26:47
|
> Well, could you pls tell me as to why blob needs the Linux kernel = headers? blob doesn't use the kernel headers ($LINUX/include/linux) per se, but = it does leverage the architecture-specific headers ($LINUX/include/asm) to = get to the defines and structures that describe the processor and = peripherals. -ch =20 -----Original Message----- From: Yamijala Sridhar [mailto:Sri...@si...]=20 Sent: Monday, October 06, 2003 3:09 AM To: Christopher Hoover Cc: blo...@li... Subject: RE: blob-cvs-commit digest, Vol 1 #232 - 2 msgs Well, could you pls tell me as to why blob needs the Linux kernel = headers?=20 I want to know because here, I have a configured Linux kernel source = tree without=20 the *.c files of the configured kernel.I have the *.h files though and = all the makefiles etc. too=20 with me.=20 When I try to configure and compile the blob with this kernel source = tree (without the *.c files)=20 the configuration seems to be successful but at the gmake stage i get an error output which says=20 "Nothing to do for 'all' " and stops.=20 Could someone pls let me know what the problem is and why blob needs the kernel headers?=20 Thank You=20 Sridhar=20 -----Original Message-----=20 From: Christopher Hoover [mailto:ch...@mu...]=20 Sent: Wednesday, October 01, 2003 9:39 PM=20 To: Yamijala Sridhar; blo...@li...=20 Subject: RE: blob-cvs-commit digest, Vol 1 #232 - 2 msgs=20 >> Hallo All !!!=20 >> Could someone pls clarify as to why the linux kernel=20 >> source path is required for compiling 'blob'?=20 >> I suppose the bootloader is a stand-alone program and=20 >> should not have anything to do=20 >> with the kernel source tree on my development machine=20 >> when im cross-compiling.=20 Blob (unfortunately) uses the kernel headers. You are correct that this = is=20 not the best idea, not only for the reasons you mention but also because = the kernel headers change from time to time.=20 -ch=20 |