summaryrefslogtreecommitdiff
path: root/gcc/cross-make
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-01-06 01:47:28 -0800
committerYamaArashi <shadow962@live.com>2016-01-06 01:47:28 -0800
commitbe8b04496302184c6e8f04d6179f9c3afc50aeb6 (patch)
tree726e2468c0c07add773c0dbd86ab6386844259ae /gcc/cross-make
initial commit
Diffstat (limited to 'gcc/cross-make')
-rwxr-xr-xgcc/cross-make14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/cross-make b/gcc/cross-make
new file mode 100755
index 0000000..84be67f
--- /dev/null
+++ b/gcc/cross-make
@@ -0,0 +1,14 @@
+# Build libgcc1.a for a cross-compiler.
+# By default this expects the user to provide libgcc1.a,
+# and gives up immediately if the user has not done so.
+LIBGCC1 = $(CROSS_LIBGCC1)
+
+# Dir to search for system headers. Normally /usr/include.
+# Use CROSS_INCLUDE_DIR not TOOL_INCLUDE_DIR for other vendor's headers.
+SYSTEM_HEADER_DIR = $(tooldir)/sys-include
+
+# Don't try to compile the things we can't compile.
+ALL = all.cross
+
+# Don't install assert.h in /usr/local/include.
+assertdir = $(tooldir)/include