From c74d7d98d7287da759ea2c0de4f5bce8a3cce359 Mon Sep 17 00:00:00 2001
From: Leon Hiemstra <hiemstra@astron.nl>
Date: Thu, 8 Jan 2015 12:46:59 +0000
Subject: [PATCH] support argument use=gen2 to support the new NIOS2 gen2
 processor

---
 tools/quartus/run_app | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/quartus/run_app b/tools/quartus/run_app
index 72eb0e4ae0..7470467d97 100755
--- a/tools/quartus/run_app
+++ b/tools/quartus/run_app
@@ -98,6 +98,9 @@ for arg ; do
         use=qsys)
             userflags="-DCOMPILE_FOR_QSYS"
             ;;
+        use=gen2)
+            userflags="-DCOMPILE_FOR_GEN2"
+            ;;
         *=* )
             # it was an option. skip it - if we wanted to,
             # we could process them over here
-- 
GitLab