From d6c58087a2f9622b75c7f38eb0ec890f9b565b50 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 21 Jan 2014 23:38:43 -0500 Subject: [PATCH] Add arm64 support Brian Dolbec: Modify patch for the new directory structure and apply. Cleanup the imports. --- catalyst/arch/arm64.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 catalyst/arch/arm64.py 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", )) -- 2.26.2