summaryrefslogtreecommitdiff
path: root/nios2_config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'nios2_config.mk')
-rw-r--r--nios2_config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/nios2_config.mk b/nios2_config.mk
index 3f23b56..59931c2 100644
--- a/nios2_config.mk
+++ b/nios2_config.mk
@@ -22,5 +22,7 @@
# MA 02111-1307 USA
#
+CROSS_COMPILE ?= nios2-elf-
+
PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
PLATFORM_CPPFLAGS += -ffixed-r15 -G0