blob: d117af152034311124925060362f4a0a6daef36d [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001ARMPKGSFX_DSP = "${@bb.utils.contains('TUNE_FEATURES', [ 'dsp' ], 'e', '', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002TUNEVALID[dsp] = "ARM DSP functionality"
3
4require conf/machine/include/arm/arch-armv5.inc
5
6# Little Endian
7AVAILTUNES += "armv5e armv5te"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008ARMPKGARCH_tune-armv5e ?= "armv5"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009ARMPKGARCH_tune-armv5te ?= "armv5"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010TUNE_FEATURES_tune-armv5e = "${TUNE_FEATURES_tune-armv5} dsp"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050011TUNE_FEATURES_tune-armv5te = "${TUNE_FEATURES_tune-armv5t} dsp"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012PACKAGE_EXTRA_ARCHS_tune-armv5e = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv5e"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013PACKAGE_EXTRA_ARCHS_tune-armv5te = "${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv5e armv5te"
14
15# Little Endian + VFP/DSP
16AVAILTUNES += "armv5e-vfp armv5te-vfp armv5ehf-vfp armv5tehf-vfp"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050017ARMPKGARCH_tune-armv5e-vfp ?= "armv5"
18ARMPKGARCH_tune-armv5te-vfp ?= "armv5"
19ARMPKGARCH_tune-armv5ehf-vfp ?= "armv5"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020ARMPKGARCH_tune-armv5tehf-vfp ?= "armv5"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021TUNE_FEATURES_tune-armv5e-vfp = "${TUNE_FEATURES_tune-armv5e} vfp"
22TUNE_FEATURES_tune-armv5te-vfp = "${TUNE_FEATURES_tune-armv5te} vfp"
23TUNE_FEATURES_tune-armv5ehf-vfp = "${TUNE_FEATURES_tune-armv5e-vfp} callconvention-hard"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050024TUNE_FEATURES_tune-armv5tehf-vfp = "${TUNE_FEATURES_tune-armv5te-vfp} callconvention-hard"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050025PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5-vfp} armv5e armv5e-vfp"
26PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5t-vfp} armv5e armv5te armv5e-vfp armv5te-vfp"
27PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5hf-vfp} armv5ehf-vfp"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5thf-vfp} armv5ehf-vfp armv5tehf-vfp"
29
30# Big Endian
31AVAILTUNES += "armv5eb armv5teb"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050032ARMPKGARCH_tune-armv5eb ?= "armv5"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050033ARMPKGARCH_tune-armv5teb ?= "armv5"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050034TUNE_FEATURES_tune-armv5eb = "${TUNE_FEATURES_tune-armv5e} bigendian"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050035TUNE_FEATURES_tune-armv5teb = "${TUNE_FEATURES_tune-armv5te} bigendian"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050036PACKAGE_EXTRA_ARCHS_tune-armv5eb = "${PACKAGE_EXTRA_ARCHS_tune-armv5b} armv5eb"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050037PACKAGE_EXTRA_ARCHS_tune-armv5teb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tb} armv5eb armv5teb"
38
39# Big Endian + VFP/DSP
40AVAILTUNES += "armv5eb-vfp armv5teb-vfp armv5ehfb-vfp armv5tehfb-vfp"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050041ARMPKGARCH_tune-armv5eb-vfp ?= "armv5"
42ARMPKGARCH_tune-armv5teb-vfp ?= "armv5"
43ARMPKGARCH_tune-armv5ehfb-vfp ?= "armv5"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050044ARMPKGARCH_tune-armv5tehfb-vfp ?= "armv5"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050045TUNE_FEATURES_tune-armv5eb-vfp = "${TUNE_FEATURES_tune-armv5e-vfp} bigendian"
46TUNE_FEATURES_tune-armv5teb-vfp = "${TUNE_FEATURES_tune-armv5te-vfp} bigendian"
47TUNE_FEATURES_tune-armv5ehfb-vfp = "${TUNE_FEATURES_tune-armv5ehf-vfp} bigendian"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050048TUNE_FEATURES_tune-armv5tehfb-vfp = "${TUNE_FEATURES_tune-armv5tehf-vfp} bigendian"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050049PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5b-vfp} armv5eb armv5eb-vfp"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050050PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5tb-vfp} armv5eb armv5teb armv5eb-vfp armv5teb-vfp"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050051PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5hfb-vfp} armv5ehfb-vfp"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050052PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5thfb-vfp} armv5ehfb-vfp armv5tehfb-vfp"