Audit Cross Compile Support

LC Bruzenak lenny at magitekltd.com
Fri Sep 20 13:36:03 UTC 2013


On 09/20/2013 07:33 AM, clshotwe at rockwellcollins.com wrote:
> Everyone,
>
> I apologize for my previous patch submission (8/23/2013 set of
> patches) without any background information.  I am looking to cross
> compile audit for the ARM and PPC platforms.  I am not sure if this
> has been looked into before but I would get some feedback on a general
> approach.  
>
> I tried to do a base cross compile but I ran into an issue when the
> table header files are generated, the executable generated by the
> makefile were built for the target and not the host.  I modified the
> makefile to build them for the host but I realized the executables
> would pull in the headers from the host rather than the target.  I
> attempted to work around this by porting the gen_tables.c algorithm to
> a python script to duplicate the header file generation using the
> target headers rather than the host.  Is this a good approach?  Is
> there a better way that this could be done a better way that does not
> use python?  Is this a desired feature?

I use mock. It's pretty straightforward.

LCB

-- 
LC (Lenny) Bruzenak
lenny at magitekltd.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20130920/b259df06/attachment.htm>


More information about the Linux-audit mailing list