mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/pixman: only compile with riscv vector support when selected
Pixman defaults to building with the riscv vector extension. Instead, only build with vector if the buildroot user has selected BR2_RISCV_ISA_RVV. This option exists since pixman 0.44.0, to which the Buildroot package was updated as part of Buildroot commitba2fb599cd. Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit386e6bb479) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
2715339ec6
commit
21be6420f1
@@ -74,6 +74,12 @@ else
|
|||||||
PIXMAN_CONF_OPTS += -Da64-neon=disabled
|
PIXMAN_CONF_OPTS += -Da64-neon=disabled
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_RISCV_ISA_RVV),y)
|
||||||
|
PIXMAN_CONF_OPTS += -Drvv=enabled
|
||||||
|
else
|
||||||
|
PIXMAN_CONF_OPTS += -Drvv=disabled
|
||||||
|
endif
|
||||||
|
|
||||||
PIXMAN_CFLAGS = $(TARGET_CFLAGS)
|
PIXMAN_CFLAGS = $(TARGET_CFLAGS)
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101737),y)
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101737),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user