summaryrefslogtreecommitdiff
path: root/sysinfo/toolchain
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-21 20:48:54 -0500
committermidipix <writeonce@midipix.org>2018-11-22 23:54:57 -0500
commit66a30d686cf9d46f25e649b93bb8cae90a9d7475 (patch)
treea033ff200a491abf7443648052e49af8f20e4168 /sysinfo/toolchain
parentd63f9dcad268404410ffdeb5f0b62571ee629ce3 (diff)
downloadsbpython2-66a30d686cf9d46f25e649b93bb8cae90a9d7475.tar.bz2
sbpython2-66a30d686cf9d46f25e649b93bb8cae90a9d7475.tar.xz
build system: created skeleton.
Diffstat (limited to 'sysinfo/toolchain')
-rw-r--r--sysinfo/toolchain/binutils.mk22
-rw-r--r--sysinfo/toolchain/llvm.mk22
2 files changed, 44 insertions, 0 deletions
diff --git a/sysinfo/toolchain/binutils.mk b/sysinfo/toolchain/binutils.mk
new file mode 100644
index 0000000..9cb532a
--- /dev/null
+++ b/sysinfo/toolchain/binutils.mk
@@ -0,0 +1,22 @@
+AS = $(CROSS_COMPILE)as
+AR = $(CROSS_COMPILE)ar
+LD = $(CROSS_COMPILE)ld
+NM = $(CROSS_COMPILE)nm
+OBJDUMP = $(CROSS_COMPILE)objdump
+RANLIB = $(CROSS_COMPILE)ranlib
+SIZE = $(CROSS_COMPILE)size
+STRIP = $(CROSS_COMPILE)strip
+STRINGS = $(CROSS_COMPILE)strings
+
+
+ADDR2LINE = $(CROSS_COMPILE)addr2line
+COV = $(CROSS_COMPILE)gcov
+CXXFILT = $(CROSS_COMPILE)c++filt
+ELFEDIT = $(CROSS_COMPILE)elfedit
+OBJCOPY = $(CROSS_COMPILE)objcopy
+READELF = $(CROSS_COMPILE)readelf
+DLLTOOL = $(CROSS_COMPILE)dlltool
+MDSO = $(CROSS_COMPILE)mdso
+PERK = $(CROSS_COMPILE)perk
+MC = $(CROSS_COMPILE)windmc
+RC = $(CROSS_COMPILE)windres
diff --git a/sysinfo/toolchain/llvm.mk b/sysinfo/toolchain/llvm.mk
new file mode 100644
index 0000000..8082c0a
--- /dev/null
+++ b/sysinfo/toolchain/llvm.mk
@@ -0,0 +1,22 @@
+AS = llvm-mc -filetype=obj
+AR = llvm-ar
+LD = lld
+NM = llvm-nm
+OBJDUMP = llvm-objdump
+RANLIB = llvm-ranlib
+SIZE = llvm-size
+STRIP = $(CROSS_COMPILE)strip
+STRINGS = $(CROSS_COMPILE)strings
+
+
+ADDR2LINE = $(CROSS_COMPILE)addr2line
+COV = $(CROSS_COMPILE)gcov
+CXXFILT = $(CROSS_COMPILE)c++filt
+ELFEDIT = $(CROSS_COMPILE)elfedit
+OBJCOPY = $(CROSS_COMPILE)objcopy
+READELF = $(CROSS_COMPILE)readelf
+DLLTOOL = $(CROSS_COMPILE)dlltool
+MDSO = $(CROSS_COMPILE)mdso
+PERK = $(CROSS_COMPILE)perk
+MC = $(CROSS_COMPILE)windmc
+RC = $(CROSS_COMPILE)windres