From: Adrián Pérez de Castro Date: Wed, 5 Jul 2017 19:08:40 +0000 (+0300) Subject: pkg-cmake.mk: Set CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT for ARMv8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4007c9e1d07ee3a0bb1353523bcf9df45bd16494;p=buildroot.git pkg-cmake.mk: Set CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT for ARMv8 This is needed for correctly building some CMake-based packages which use this variable. For example, this is needed for WebKitGTK+ 2.16.x to build correctly when an ARMv8 target is configured. Signed-off-by: Adrian Perez de Castro Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk index 401084fb12..914bda7482 100644 --- a/package/pkg-cmake.mk +++ b/package/pkg-cmake.mk @@ -219,6 +219,8 @@ else ifeq ($(BR2_ARM_CPU_ARMV6),y) CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv6 else ifeq ($(BR2_ARM_CPU_ARMV7A),y) CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv7 +else ifeq ($(BR2_ARM_CPU_ARMV8),y) +CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv8 endif ifeq ($(BR2_arm),y)