summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/nios2/feature-nios2-fpu.inc
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2017-04-19 13:27:31 +0200
committerKhem Raj <raj.khem@gmail.com>2017-04-25 17:49:59 -0700
commit91aa15bbce8a7430c3ed25b03d20246adf5ea583 (patch)
treec1fce81be33bb09fa86d3345891392665f5d974d /conf/machine/include/nios2/feature-nios2-fpu.inc
parent4f0215c88e609dc07b061d691e3c01652261b460 (diff)
downloadmeta-altera-91aa15bbce8a7430c3ed25b03d20246adf5ea583.tar.gz
nios2: Inline tunables into tune-nios2.inc
All of these feature-nios-* files are small, so inline them to make it easier to see the changes they make. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/machine/include/nios2/feature-nios2-fpu.inc')
-rw-r--r--conf/machine/include/nios2/feature-nios2-fpu.inc15
1 files changed, 0 insertions, 15 deletions
diff --git a/conf/machine/include/nios2/feature-nios2-fpu.inc b/conf/machine/include/nios2/feature-nios2-fpu.inc
deleted file mode 100644
index 5baeb40..0000000
--- a/conf/machine/include/nios2/feature-nios2-fpu.inc
+++ /dev/null
@@ -1,15 +0,0 @@
1TARGET_FPU = "fpu-other"
2
3TUNEVALID[fpu-soft] = "Use Nios2 software FPU"
4TUNEVALID[fpu-custom] = "Enable Nios2 hardware FPU"
5TUNEVALID[fpu-customdiv] = "Enable Nios2 hardware FPU with divider"
6
7# Establish which fpu is configured in TUNE_FEATURES. Soft is the default for gcc.
8NIOS2CCARGSFPU_BASIC = "${@bb.utils.contains("TUNE_FEATURES", "fpu-custom", "-mcustom-fpu-cfg=60-1", "", d)}"
9NIOS2CCARGSFPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-customdiv", "-mcustom-fpu-cfg=60-2", "${NIOS2CCARGSFPU_BASIC}", d)}"
10
11NIOS2PKGFPU_BASIC = "${@bb.utils.contains("TUNE_FEATURES", "fpu-custom", "-fpu", "", d)}"
12NIOS2PKGFPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-customdiv", "-fpudiv", "${NIOS2PKGFPU_BASIC}", d)}"
13
14TUNECONFLICTS[fpu-custom] = "fpu-soft fpu-customdiv"
15TUNECONFLICTS[fpu-customdiv] = "fpu-soft fpu-custom"