summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/board/altera/nios2-generic/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/board/altera/nios2-generic/config.mk')
-rw-r--r--qemu/roms/u-boot/board/altera/nios2-generic/config.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/board/altera/nios2-generic/config.mk b/qemu/roms/u-boot/board/altera/nios2-generic/config.mk
new file mode 100644
index 000000000..a67352519
--- /dev/null
+++ b/qemu/roms/u-boot/board/altera/nios2-generic/config.mk
@@ -0,0 +1,12 @@
+#
+# (C) Copyright 2005, Psyent Corporation <www.psyent.com>
+# Scott McNutt <smcnutt@psyent.com>
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+PLATFORM_CPPFLAGS += -mno-hw-div -mno-hw-mul
+
+ifeq ($(debug),1)
+PLATFORM_CPPFLAGS += -DDEBUG
+endif