]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
tune-octeonx2: Do not use -mcpu=octeontx2 with clang
authorKhem Raj <raj.khem@gmail.com>
Tue, 29 Jul 2025 01:49:11 +0000 (18:49 -0700)
committerMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Wed, 30 Jul 2025 09:52:36 +0000 (11:52 +0200)
commit37a7a44a3914b7e52b51991afad069808a4af263
treecba87ecb33bd7cb69d67841e3a895c3da53bde49
parent3045b248f54dc3d605114fbad6737220fd66d2de
tune-octeonx2: Do not use -mcpu=octeontx2 with clang

-mcpu=octeontx2 is not implemented in clang, therefore
replace it with -march option denoting underlying
armv8 architecture revision.

 Fixes:

    |   error: unsupported argument 'octeontx2+crypto' to option '-mcpu='
    |   error: unknown target CPU 'octeontx2'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc