From: Ruiqiang Hao <ruiqiang....@windriver.com>

Since GCC's configuration includes the crypto feature when specifying
'-mcpu=octeontx2', there's no need to additionally include this feature
in TUNE_FEATURES. Removing crypto to fix the following error:

aarch64-wrs-linux-clang: error: unsupported argument 'octeontx2+crypto' for 
option '-mcpu='

Signed-off-by: Ruiqiang Hao <ruiqiang....@windriver.com>
---
 meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc 
b/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc
index e9d7a59c51..d51d19b980 100644
--- a/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc
+++ b/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc
@@ -9,6 +9,6 @@ require conf/machine/include/arm/arch-armv8-2a.inc
 AVAILTUNES += "octeontx2"
 ARMPKGARCH:tune-octeontx2             = "octeontx2"
 # We do not want -march since -mcpu is added above to cover for it
-TUNE_FEATURES:tune-octeontx2          = "aarch64 crypto octeontx2"
+TUNE_FEATURES:tune-octeontx2          = "aarch64 octeontx2"
 PACKAGE_EXTRA_ARCHS:tune-octeontx2    = 
"${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} octeontx2"
 BASE_LIB:tune-octeontx2               = "lib64"
-- 
2.45.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#201448): 
https://lists.openembedded.org/g/openembedded-core/message/201448
Mute This Topic: https://lists.openembedded.org/mt/107012841/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to