From: Mike Frysinger Date: Wed, 22 Jan 2014 04:38:43 +0000 (-0500) Subject: Add arm64 support X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d6c58087a2f9622b75c7f38eb0ec890f9b565b50;p=catalyst.git Add arm64 support Brian Dolbec: Modify patch for the new directory structure and apply. Cleanup the imports. --- diff --git a/catalyst/arch/arm64.py b/catalyst/arch/arm64.py new file mode 100644 index 00000000..00e7527f --- /dev/null +++ b/catalyst/arch/arm64.py @@ -0,0 +1,15 @@ + +from catalyst import builder + +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", ))