summaryrefslogtreecommitdiff
path: root/gcc_arm/cross-make
diff options
context:
space:
mode:
Diffstat (limited to 'gcc_arm/cross-make')
-rwxr-xr-xgcc_arm/cross-make14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc_arm/cross-make b/gcc_arm/cross-make
new file mode 100755
index 0000000..84be67f
--- /dev/null
+++ b/gcc_arm/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