diff options
author | Marek Vasut <marex@denx.de> | 2017-04-19 13:27:31 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-04-25 17:49:59 -0700 |
commit | 91aa15bbce8a7430c3ed25b03d20246adf5ea583 (patch) | |
tree | c1fce81be33bb09fa86d3345891392665f5d974d /conf/machine/include/nios2/feature-nios2-fpu.inc | |
parent | 4f0215c88e609dc07b061d691e3c01652261b460 (diff) | |
download | meta-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.inc | 15 |
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 @@ | |||
1 | TARGET_FPU = "fpu-other" | ||
2 | |||
3 | TUNEVALID[fpu-soft] = "Use Nios2 software FPU" | ||
4 | TUNEVALID[fpu-custom] = "Enable Nios2 hardware FPU" | ||
5 | TUNEVALID[fpu-customdiv] = "Enable Nios2 hardware FPU with divider" | ||
6 | |||
7 | # Establish which fpu is configured in TUNE_FEATURES. Soft is the default for gcc. | ||
8 | NIOS2CCARGSFPU_BASIC = "${@bb.utils.contains("TUNE_FEATURES", "fpu-custom", "-mcustom-fpu-cfg=60-1", "", d)}" | ||
9 | NIOS2CCARGSFPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-customdiv", "-mcustom-fpu-cfg=60-2", "${NIOS2CCARGSFPU_BASIC}", d)}" | ||
10 | |||
11 | NIOS2PKGFPU_BASIC = "${@bb.utils.contains("TUNE_FEATURES", "fpu-custom", "-fpu", "", d)}" | ||
12 | NIOS2PKGFPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-customdiv", "-fpudiv", "${NIOS2PKGFPU_BASIC}", d)}" | ||
13 | |||
14 | TUNECONFLICTS[fpu-custom] = "fpu-soft fpu-customdiv" | ||
15 | TUNECONFLICTS[fpu-customdiv] = "fpu-soft fpu-custom" | ||