* [gentoo-catalyst] [PATCH] Add support for m68k
@ 2013-04-04 12:31 Raúl Porcel
0 siblings, 0 replies; only message in thread
From: Raúl Porcel @ 2013-04-04 12:31 UTC (permalink / raw
To: gentoo-catalyst; +Cc: Raúl Porcel
---
arch/m68k.py | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 arch/m68k.py
diff --git a/arch/m68k.py b/arch/m68k.py
new file mode 100644
index 0000000..37b26a4
--- /dev/null
+++ b/arch/m68k.py
@@ -0,0 +1,22 @@
+
+import builder,os
+from catalyst_support import *
+
+class generic_m68k(builder.generic):
+ "abstract base class for all m68k builders"
+ def __init__(self,myspec):
+ builder.generic.__init__(self,myspec)
+ self.settings["CHROOT"]="chroot"
+ self.settings["CFLAGS"]=" -pipe"
+
+class arch_m68k(generic_m68k):
+ "builder class for generic m68k"
+ def __init__(self,myspec):
+ generic_m68k.__init__(self,myspec)
+ self.settings["CFLAGS"]+=" -O2"
+ self.settings["CHOST"]="m68k-unknown-linux-gnu"
+
+def register():
+ "Inform main catalyst program of the contents of this plugin."
+ return ({ "m68k":arch_m68k },
+ ("m68k", ))
--
1.8.1.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-04 12:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 12:31 [gentoo-catalyst] [PATCH] Add support for m68k Raúl Porcel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox