Patch for PHP build - remove aarch64_crc32 because it's not supported by uclibc. Patch fix for uboot

This commit is contained in:
Giulio 2020-09-09 13:21:11 +02:00
parent ad4723dac5
commit bf04a411a7
2 changed files with 28 additions and 14 deletions

View File

@ -0,0 +1,15 @@
--- php/configure.ac 2020-09-09 11:43:11.885354027 +0200
+++ php/configure.ac 2020-09-09 11:43:44.893273503 +0200
@@ -720,12 +720,6 @@
PHP_CRYPT_R_STYLE
fi
-AC_CACHE_CHECK([for aarch64 CRC32 API], ac_cv_func___crc32d,
-[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <arm_acle.h>]],[[__crc32d(0, 0);]])],[ac_cv_func___crc32d=yes],[ac_cv_func___crc32d="no"])])
-if test "$ac_cv_func___crc32d" = "yes"; then
- AC_DEFINE([HAVE_AARCH64_CRC32], [1], [Define when aarch64 CRC32 API is available.])
-fi
-
dnl Check for asm goto support.
AC_CACHE_CHECK([for asm goto], ac_cv__asm_goto,
[AC_RUN_IFELSE([AC_LANG_SOURCE([[

View File

@ -1,17 +1,16 @@
Index: u-boot-imx/arch/arm/dts/Makefile
===================================================================
--- u-boot-imx.orig/arch/arm/dts/Makefile
+++ u-boot-imx/arch/arm/dts/Makefile
@@ -468,7 +468,8 @@ dtb-$(CONFIG_ARCH_IMX8M) += fsl-imx8mq-e
fsl-imx8mm-ddr3l-val.dtb \
fsl-imx8mm-ddr4-evk.dtb \
fsl-imx8mm-ddr4-val.dtb \
- fsl-imx8mm-evk.dtb
+ fsl-imx8mm-evk.dtb \
+ fsl-imx8mm-tgr.dtb
dtb-$(CONFIG_ARCH_IMX8) += fsl-imx8dx-17x17-val.dtb \
fsl-imx8qm-ddr4-arm2.dtb \
Index: u-boot-imx/arch/arm/dts/Makefile
===================================================================
--- u-boot-imx.orig/arch/arm/dts/Makefile
+++ u-boot-imx/arch/arm/dts/Makefile
@@ -630,6 +630,7 @@
fsl-imx8mq-ddr3l-arm2.dtb \
fsl-imx8mq-ddr4-arm2.dtb \
fsl-imx8mm-evk.dtb \
+ fsl-imx8mm-tgr.dtb \
fsl-imx8mm-ddr3l-val.dtb \
fsl-imx8mm-ddr4-evk.dtb \
fsl-imx8mm-ddr4-val.dtb \
fsl-imx8mm-ddr4-evk.dtb \
Index: u-boot-imx/arch/arm/dts/fsl-imx8mm-tgr.dts
===================================================================
--- /dev/null