blob: 77d0b71fc478f54636edd64f8ef45c70b4f3b591 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DEFAULTTUNE ?= "sh3"
2
3require conf/machine/include/sh/arch-sh.inc
4
5TUNEVALID[sh3] = "Enable SH3 optimizations"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'sh3', ' -m3', '', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007
8AVAILTUNES += "sh3 sh3eb"
Patrick Williams213cb262021-08-07 19:21:33 -05009TUNE_FEATURES:tune-sh3 = "sh3"
10TUNE_ARCH:tune-sh3 = "sh3"
11TUNE_PKGARCH:tune-sh3 = "sh3"
12PACKAGE_EXTRA_ARCHS:tune-sh3 = "sh sh3"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013
Patrick Williams213cb262021-08-07 19:21:33 -050014TUNE_FEATURES:tune-sh3eb = "sh3 bigendian"
15TUNE_ARCH:tune-sh3eb = "sh3eb"
16TUNE_PKGARCH:tune-sh3eb = "sh3eb"
17PACKAGE_EXTRA_ARCHS:tune-sh3eb = "sheb sh3eb"