diff options
3 files changed, 45 insertions, 3 deletions
diff --git a/recipes-extended/jailhouse/files/arm-arm64-Makefile-Remove-march-option-from-Makefile.patch b/recipes-extended/jailhouse/files/arm-arm64-Makefile-Remove-march-option-from-Makefile.patch new file mode 100644 index 000000000..442d28313 --- /dev/null +++ b/recipes-extended/jailhouse/files/arm-arm64-Makefile-Remove-march-option-from-Makefile.patch | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | From 7117c1fe979053e4b1071968b444c03fbffe55bb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Daiane Angolini <daiane.angolini@foundries.io> | ||
| 3 | Date: Tue, 6 Feb 2024 18:01:07 -0300 | ||
| 4 | Subject: [PATCH] arm:arm64: Makefile: Remove -march option from Makefile | ||
| 5 | |||
| 6 | It let the recipe to decide which are the compilation flags to be used. | ||
| 7 | |||
| 8 | It acomodates to [1]. | ||
| 9 | |||
| 10 | [1] https://git.yoctoproject.org/poky/commit/?id=04eac1f2b67eac5f892a9e0f8fcfe54849923af5 | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [See above] | ||
| 13 | |||
| 14 | Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io> | ||
| 15 | --- | ||
| 16 | hypervisor/arch/arm/Makefile | 2 -- | ||
| 17 | hypervisor/arch/arm64/Makefile | 1 - | ||
| 18 | 2 files changed, 3 deletions(-) | ||
| 19 | |||
| 20 | diff --git a/hypervisor/arch/arm/Makefile b/hypervisor/arch/arm/Makefile | ||
| 21 | index a54370fc..cddb6cd3 100644 | ||
| 22 | --- a/hypervisor/arch/arm/Makefile | ||
| 23 | +++ b/hypervisor/arch/arm/Makefile | ||
| 24 | @@ -12,5 +12,3 @@ | ||
| 25 | |||
| 26 | LINUXINCLUDE += -I$(src)/arch/arm-common/include | ||
| 27 | |||
| 28 | -KBUILD_CFLAGS += -marm -march=armv7ve -msoft-float | ||
| 29 | -KBUILD_AFLAGS += -march=armv7ve -msoft-float | ||
| 30 | diff --git a/hypervisor/arch/arm64/Makefile b/hypervisor/arch/arm64/Makefile | ||
| 31 | index 0718994d..5d7a80c6 100644 | ||
| 32 | --- a/hypervisor/arch/arm64/Makefile | ||
| 33 | +++ b/hypervisor/arch/arm64/Makefile | ||
| 34 | @@ -12,4 +12,3 @@ | ||
| 35 | |||
| 36 | LINUXINCLUDE += -I$(src)/arch/arm-common/include | ||
| 37 | |||
| 38 | -KBUILD_CFLAGS += -march=armv8-a+nofp | ||
| 39 | -- | ||
| 40 | 2.34.1 | ||
diff --git a/recipes-extended/jailhouse/jailhouse-imx_git.bb b/recipes-extended/jailhouse/jailhouse-imx_git.bb index 9c03436c2..21a5c93ff 100644 --- a/recipes-extended/jailhouse/jailhouse-imx_git.bb +++ b/recipes-extended/jailhouse/jailhouse-imx_git.bb | |||
| @@ -20,7 +20,9 @@ SRCBRANCH = "lf-6.1.36_2.1.0" | |||
| 20 | SRCREV = "d3484c68313c2c837eb213ca1aa373e491fbc55f" | 20 | SRCREV = "d3484c68313c2c837eb213ca1aa373e491fbc55f" |
| 21 | 21 | ||
| 22 | IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" | 22 | IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" |
| 23 | SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH}" | 23 | SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \ |
| 24 | file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ | ||
| 25 | " | ||
| 24 | 26 | ||
| 25 | DEPENDS = " \ | 27 | DEPENDS = " \ |
| 26 | make-native \ | 28 | make-native \ |
diff --git a/recipes-graphics/drm/libdrm_2.4.115.imx.bb b/recipes-graphics/drm/libdrm_2.4.115.imx.bb index cc4ac68a8..ada0b7aed 100644 --- a/recipes-graphics/drm/libdrm_2.4.115.imx.bb +++ b/recipes-graphics/drm/libdrm_2.4.115.imx.bb | |||
| @@ -7,12 +7,12 @@ HOMEPAGE = "http://dri.freedesktop.org" | |||
| 7 | SECTION = "x11/base" | 7 | SECTION = "x11/base" |
| 8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb1f4831351ab42d762c40b3ebb7add \ | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb1f4831351ab42d762c40b3ebb7add \ |
| 10 | file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" | 10 | file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" |
| 11 | PROVIDES = "drm" | 11 | PROVIDES = "drm" |
| 12 | DEPENDS = "libpthread-stubs" | 12 | DEPENDS = "libpthread-stubs" |
| 13 | 13 | ||
| 14 | SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" | 14 | SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" |
| 15 | IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https;nobranch=1" | 15 | IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" |
| 16 | SRCBRANCH ?= "libdrm-imx-2.4.115" | 16 | SRCBRANCH ?= "libdrm-imx-2.4.115" |
| 17 | SRCREV = "0f889a1f9640f6210132dd565141eb19005245fb" | 17 | SRCREV = "0f889a1f9640f6210132dd565141eb19005245fb" |
| 18 | 18 | ||
