mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 00:50:00 +00:00
acpica: replace patch with EXTRA_OEMAKE args
No need to patch the makefile when you can just passs CC=${TARGET_PREFIX}gcc to make.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://generate/unix/readme.txt;md5=204407e197c1a01154a48f6c
|
|||||||
DEPENDS = "bison flex"
|
DEPENDS = "bison flex"
|
||||||
|
|
||||||
SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz \
|
SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz \
|
||||||
file://cross-compile.patch \
|
|
||||||
file://no-werror.patch \
|
file://no-werror.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "fcd4b7304f1bfabc7d4b9cfdecc6b0c6"
|
SRC_URI[md5sum] = "fcd4b7304f1bfabc7d4b9cfdecc6b0c6"
|
||||||
@@ -20,7 +19,7 @@ SRC_URI[sha256sum] = "0d5bd32690ab77e21ab143ef25361c314a4ed13c33a5fb3ddd6f5559ab
|
|||||||
|
|
||||||
S = "${WORKDIR}/acpica-unix2-${PV}"
|
S = "${WORKDIR}/acpica-unix2-${PV}"
|
||||||
|
|
||||||
EXTRA_OEMAKE = "'OPT_CFLAGS=-Wall'"
|
EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc 'OPT_CFLAGS=-Wall'"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -D -p -m0755 generate/unix/bin*/iasl ${D}${bindir}/iasl
|
install -D -p -m0755 generate/unix/bin*/iasl ${D}${bindir}/iasl
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
Description: add cross compile support
|
|
||||||
Forwarded: not-needed
|
|
||||||
Author: Fathi Boudra <fathi.boudra@linaro.org>
|
|
||||||
|
|
||||||
---
|
|
||||||
generate/unix/Makefile.config | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/generate/unix/Makefile.config
|
|
||||||
+++ b/generate/unix/Makefile.config
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
.SUFFIXES :
|
|
||||||
PROGS = acpibin acpidump acpiexec acpihelp acpinames acpisrc acpixtract iasl
|
|
||||||
HOST ?= _CYGWIN
|
|
||||||
-CC = gcc
|
|
||||||
+CC ?= $(CROSS_COMPILE)gcc
|
|
||||||
|
|
||||||
#
|
|
||||||
# Common defines
|
|
||||||
Reference in New Issue
Block a user