What has to be done to add a compilation option ?

SAUDUBRAY, Fabien fabien.saudubray at astrium.eads.net
Fri Mar 4 15:28:05 UTC 2005


Hi everybody,

I want to do some hack in the kernel.I want to have the choice to compile
the kernel with or without this option, passing an --enable-xxx option to
the script configure. I 'm a neewbie in autoconf , automake, etc. I had add
some c source in the rtems-4.6.2/cpukit/score/src directory, and some header
file in the  rtems-4.6.2/cpukit/score/include/rtems/score directory. I also
had conditionnal compilation in some c source of the
rtems-4.6.2/cpukit/score/src directory.

I believe that I had to change the files
  rtems-4.6.2/cpukit/configure.ac
  rtems-4.6.2/cpukit/Makefile.am
  rtems-4.6.2/configure.ac
and to had 2 m4 macro in  rtems-4.6.2/aclocal/ and in
rtems-4.6.2/cpukit/aclocal

But at this point I'm not sure if I had to change other files, and moreover
I don't know what to do next ?

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20050304/19ebfb22/attachment.html>
-------------- next part --------------
---------------------------------------------------------

CE COURRIER ELECTRONIQUE EST A USAGE STRICTEMENT INFORMATIF ET NE SAURAIT ENGAGER DE QUELQUE MANIERE QUE CE SOIT EADS ASTRIUM SAS, NI SES FILIALES.

SI UNE ERREUR DE TRANSMISSION OU UNE ADRESSE ERRONEE A MAL DIRIGE CE COURRIER, MERCI D'EN INFORMER L'EXPEDITEUR EN LUI FAISANT UNE REPONSE PAR COURRIER ELECTRONIQUE DES RECEPTION. SI VOUS N'ETES PAS LE DESTINATAIRE DE CE COURRIER, VOUS NE DEVEZ PAS L'UTILISER, LE CONSERVER, EN FAIRE ETAT, LE DISTRIBUER, LE COPIER, L'IMPRIMER OU EN REVELER LE CONTENU A UNE TIERCE PARTIE.



This email is for information only and will not bind EADS Astrium SAS in any contract or obligation, nor its subsidiaries.

If you have received it in error, please notify the sender by return email. If you are not the addressee of this email, you must not use, keep, disseminate, copy, print or otherwise deal with it.

---------------------------------------------------------


More information about the users mailing list