summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/tune-nios2.inc
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-11-29 14:31:01 +0100
committerKhem Raj <raj.khem@gmail.com>2015-12-06 23:18:52 -0800
commitd232376fa7b0bf3f22d57c6c747983d00c67e34d (patch)
tree8b7cc37d8e5e7da9e1e6b8dbe84656844d841a70 /conf/machine/include/tune-nios2.inc
parent2354b2d37412c76d147b515a5f1463e3ae6a775f (diff)
downloadmeta-altera-d232376fa7b0bf3f22d57c6c747983d00c67e34d.tar.gz
Add generic-nios2 machine to meta-altera
Add support for the Altera NIOS2 architecture and a generic machine config. Also add Linux kernel defconfig for linux-yocto 4.1 package. Heavily based on work by Walter Goossens <waltergoossens@home.nl> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Khem Raj <raj.khem@gmail.com> Cc: Ley Foon Tan <lftan@altera.com> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Walter Goossens <waltergoossens@home.nl> Cc: Yves Vandervennet <yvanderv@opensource.altera.com>
Diffstat (limited to 'conf/machine/include/tune-nios2.inc')
-rw-r--r--conf/machine/include/tune-nios2.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/conf/machine/include/tune-nios2.inc b/conf/machine/include/tune-nios2.inc
new file mode 100644
index 0000000..4a132a4
--- /dev/null
+++ b/conf/machine/include/tune-nios2.inc
@@ -0,0 +1,20 @@
1#@TYPE: Machine configuration
2#@NAME: nios2
3
4DEFAULTTUNE ?= "nios2"
5
6TUNE_ARCH = "nios2el"
7
8require conf/machine/include/nios2/feature-nios2-multiply.inc
9require conf/machine/include/nios2/feature-nios2-divide.inc
10require conf/machine/include/nios2/feature-nios2-fpu.inc
11
12AVAILTUNES += "nios2"
13TUNEVALID[nios2] = "nios2"
14TUNE_FEATURES_tune-nios2 += "nios2"
15
16TUNE_CCARGS += "-mel ${NIOS2CCARGSDIV} ${NIOS2CCARGSFPU} ${NIOS2CCARGSMUL}"
17TUNE_PKGARCH = "nios2${NIOS2PKGMUL}${NIOS2PKGDIV}${NIOS2PKGFPU}"
18PACKAGE_EXTRA_ARCHS_tune-nios2 = "${TUNE_PKGARCH}"
19
20CSL_TARGET_SYS_nios2 = "nios2-linux-gnu"