Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by mail.openembedded.org (Postfix) with ESMTP id 47DE660119 for ; Tue, 26 Apr 2016 09:29:31 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id n3so28735015wmn.0 for ; Tue, 26 Apr 2016 02:29:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=HYL5Rg+ZIMMRnvBPuoIfHHPrae3dupJwuOdywLWbYzw=; b=h/8vo8M8tXznrZ/Pe1JY9iXNOlZKbQD4YgCOYOnZBA3ig4Uwe5o4yIZFOp7icR2QFH Trl8Ves43Wt/Q6kFqye0PxlLfbU555U7z/rFORSFpEi8p6cuRCo2Xsj0DC8Nm50FIld7 ETunDvQRl6zRR8O5zzTULRHlfk/xp2WYo1s7VxWF/MllSF2Rq7eo+60UvTxh6LBEO85s Ybo7iqHVyQ+mu/j4YS29ycsf/xKbhpsKTxGRIEz65aYTB+beiYwBQkP98pOmhlc05zaW JmUJvM86o28+uFsA984CNWT1nvgMm6xQmPXOULJZ6EdodLub1qcw7ob+frRHqS4i/bBk j05Q== X-Gm-Message-State: AOPr4FWcT+JZ0PChUTfr7hXadC7c2r4Kn73ds7a/3OTAy/LE2Knw1tDTjY4/v0/fxtCB0w== X-Received: by 10.194.201.37 with SMTP id jx5mr1851510wjc.60.1461662971866; Tue, 26 Apr 2016 02:29:31 -0700 (PDT) Received: from localhost.localdomain ([185.46.212.56]) by smtp.gmail.com with ESMTPSA id i11sm27898496wjn.36.2016.04.26.02.29.30 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2016 02:29:31 -0700 (PDT) From: =?UTF-8?q?Andr=C3=A9=20Draszik?= To: openembedded-core@lists.openembedded.org Date: Tue, 26 Apr 2016 10:29:27 +0100 Message-Id: <1461662967-22851-1-git-send-email-git@andred.net> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Subject: [PATCH][krogoth] feature-arm-neon.inc: restore vfpv3-d16 support X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2016 09:29:35 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 6661718 (feature-arm-{neon,vfp}.inc: refactor and fix issues) effectively changed the gcc -mfpu= option from -mfpu=vfpv3-d16 to -mfpu=vfpv3d16, which gcc doesn't understand. Restore the original value. After doing that, we also need to adjust ARMPKGSFX_FPU which should contain the same value without dash '-' as it is used that way throughout. Signed-off-by: André Draszik --- meta/conf/machine/include/arm/feature-arm-neon.inc | 2 +- meta/conf/machine/include/arm/feature-arm-vfp.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/conf/machine/include/arm/feature-arm-neon.inc b/meta/conf/machine/include/arm/feature-arm-neon.inc index 50d9175..b34af8e 100644 --- a/meta/conf/machine/include/arm/feature-arm-neon.inc +++ b/meta/conf/machine/include/arm/feature-arm-neon.inc @@ -8,7 +8,7 @@ TUNEVALID[neon] = "Enable Neon SIMD accelerator unit." TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', 'neon', ' neon', '', d)}" TUNEVALID[vfpv3d16] = "Enable Vector Floating Point Version 3 with 16 registers (vfpv3-d16) unit." -TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv3d16', ' vfpv3d16', '', d)}" +TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv3d16', ' vfpv3-d16', '', d)}" TUNEVALID[vfpv3] = "Enable Vector Floating Point Version 3 with 32 registers (vfpv3) unit." TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv3', ' vfpv3', '' , d)}" diff --git a/meta/conf/machine/include/arm/feature-arm-vfp.inc b/meta/conf/machine/include/arm/feature-arm-vfp.inc index 4247255..bd366a1 100644 --- a/meta/conf/machine/include/arm/feature-arm-vfp.inc +++ b/meta/conf/machine/include/arm/feature-arm-vfp.inc @@ -6,7 +6,7 @@ TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfp', ' vfp', '', d)}" TUNE_CCARGS .= "${@ (' -mfpu=%s ' % d.getVar('TUNE_CCARGS_MFPU', True).split()[-1]) if (d.getVar('TUNE_CCARGS_MFPU', True) != '') else ''}" -ARMPKGSFX_FPU = "${@ ('-%s' % d.getVar('TUNE_CCARGS_MFPU', True).split()[-1]) if (d.getVar('TUNE_CCARGS_MFPU', True) != '') else ''}" +ARMPKGSFX_FPU = "${@ ('-%s' % d.getVar('TUNE_CCARGS_MFPU', True).split()[-1].replace('-', '')) if (d.getVar('TUNE_CCARGS_MFPU', True) != '') else ''}" TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP." TUNE_CCARGS_MFLOAT = "${@ bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hard', 'softfp', d) if (d.getVar('TUNE_CCARGS_MFPU', True) != '') else '' }" -- 2.8.1