summaryrefslogtreecommitdiff
path: root/sysinfo/toolchain
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-29 13:58:33 -0400
committermidipix <writeonce@midipix.org>2016-10-31 14:57:14 -0400
commit8be3778f436d9e60d9e33bc7bbd07a1453ecd1f6 (patch)
tree9a521176bbe2505810f895b4ef6be15922585c24 /sysinfo/toolchain
parent5c577bdd1f6ecc2b76d125b5af69177467c8d2f3 (diff)
downloadbfirm-8be3778f436d9e60d9e33bc7bbd07a1453ecd1f6.tar.bz2
bfirm-8be3778f436d9e60d9e33bc7bbd07a1453ecd1f6.tar.xz
build system: created skeleton.
Diffstat (limited to 'sysinfo/toolchain')
-rw-r--r--sysinfo/toolchain/binutils.mk18
-rw-r--r--sysinfo/toolchain/llvm.mk18
2 files changed, 36 insertions, 0 deletions
diff --git a/sysinfo/toolchain/binutils.mk b/sysinfo/toolchain/binutils.mk
new file mode 100644
index 0000000..3232915
--- /dev/null
+++ b/sysinfo/toolchain/binutils.mk
@@ -0,0 +1,18 @@
+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
diff --git a/sysinfo/toolchain/llvm.mk b/sysinfo/toolchain/llvm.mk
new file mode 100644
index 0000000..65b5396
--- /dev/null
+++ b/sysinfo/toolchain/llvm.mk
@@ -0,0 +1,18 @@
+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