Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "sh3" |
| 2 | |
| 3 | require conf/machine/include/sh/arch-sh.inc |
| 4 | |
| 5 | TUNEVALID[sh3] = "Enable SH3 optimizations" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'sh3', ' -m3', '', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | |
| 8 | AVAILTUNES += "sh3 sh3eb" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 9 | TUNE_FEATURES:tune-sh3 = "sh3" |
| 10 | TUNE_ARCH:tune-sh3 = "sh3" |
| 11 | TUNE_PKGARCH:tune-sh3 = "sh3" |
| 12 | PACKAGE_EXTRA_ARCHS:tune-sh3 = "sh sh3" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 14 | TUNE_FEATURES:tune-sh3eb = "sh3 bigendian" |
| 15 | TUNE_ARCH:tune-sh3eb = "sh3eb" |
| 16 | TUNE_PKGARCH:tune-sh3eb = "sh3eb" |
| 17 | PACKAGE_EXTRA_ARCHS:tune-sh3eb = "sheb sh3eb" |