On 09/20/2013 07:33 AM, clshotwe(a)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(a)magitekltd.com