diff options
author | Marek Vasut <marex@denx.de> | 2015-11-29 14:31:01 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2015-12-06 23:18:52 -0800 |
commit | d232376fa7b0bf3f22d57c6c747983d00c67e34d (patch) | |
tree | 8b7cc37d8e5e7da9e1e6b8dbe84656844d841a70 /conf/machine/include/tune-nios2.inc | |
parent | 2354b2d37412c76d147b515a5f1463e3ae6a775f (diff) | |
download | meta-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.inc | 20 |
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 | |||
4 | DEFAULTTUNE ?= "nios2" | ||
5 | |||
6 | TUNE_ARCH = "nios2el" | ||
7 | |||
8 | require conf/machine/include/nios2/feature-nios2-multiply.inc | ||
9 | require conf/machine/include/nios2/feature-nios2-divide.inc | ||
10 | require conf/machine/include/nios2/feature-nios2-fpu.inc | ||
11 | |||
12 | AVAILTUNES += "nios2" | ||
13 | TUNEVALID[nios2] = "nios2" | ||
14 | TUNE_FEATURES_tune-nios2 += "nios2" | ||
15 | |||
16 | TUNE_CCARGS += "-mel ${NIOS2CCARGSDIV} ${NIOS2CCARGSFPU} ${NIOS2CCARGSMUL}" | ||
17 | TUNE_PKGARCH = "nios2${NIOS2PKGMUL}${NIOS2PKGDIV}${NIOS2PKGFPU}" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-nios2 = "${TUNE_PKGARCH}" | ||
19 | |||
20 | CSL_TARGET_SYS_nios2 = "nios2-linux-gnu" | ||