On Tue, 21 Jan 2014 23:38:43 -0500
Mike Frysinger <[email protected]> wrote:

> ---
>  arch/arm64.py | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 arch/arm64.py
> 
> diff --git a/arch/arm64.py b/arch/arm64.py
> new file mode 100644
> index 0000000..f665e89
> --- /dev/null
> +++ b/arch/arm64.py
> @@ -0,0 +1,16 @@
> +
> +import builder,os
> +from catalyst_support import *
> +
> +class arch_arm64(builder.generic):
> +     "builder class for arm64"
> +     def __init__(self,myspec):
> +             builder.generic.__init__(self,myspec)
> +             self.settings["CHROOT"]="chroot"
> +             self.settings["CFLAGS"]="-O2 -pipe"
> +             self.settings["CFLAGS"]="-O2 -pipe"
> +             self.settings["CHOST"]="aarch64-unknown-linux-gnu"
> +
> +def register():
> +     "Inform main catalyst program of the contents of this plugin."
> +     return ({ "arm64":arch_arm64 }, ("aarch64","arm64", ))


I modified the patch to apply to the restructured paths in the pending
branch.  Since it should not affect the rewrite patches to be merged.
I've applied it to the pending branch which should be merged to master
soon.

Please checkout the pending branch and test run it please to ensure it
works the way you submitted (or better ;) )

The code can run from directly from the checkout.  There is even a
convenience file in the base directory called testpath.
Edit a catalyst.conf. (and  possibly a catalyst.rc) to use the checkout
directory files.

 from a terminal:

source ./testpath
catalyst -c my-local-test.conf -f some-stage.spec

You could also edit a copy of the catalyst-2.9999 ebuild to point
to the pending branch and install it.

P.S.  Be aware that the pending branch can/does get force pushes in
preparation for final merge into master.

-- 
Brian Dolbec <dolsen>


Reply via email to