From patchwork Fri Jan 17 12:06:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 23316 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 83A2B2054C for ; Fri, 17 Jan 2014 12:06:33 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id kq14sf9160798pab.9 for ; Fri, 17 Jan 2014 04:06:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:reply-to :list-id:list-unsubscribe:list-archive:list-post:list-help :list-subscribe:mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=A91GlqIw+x2Cx/mcWRJcYt8KsE2z2XPGdLd3kTW5KQw=; b=GUDKRdCFgmM9042pav0siaU26bZYkWjq1+BmgnHP+CFXhbsESIQJonzQSqGVsncRlJ 5ObzB27p+c1g3SqgQnqVSTM78O2cSD8PkRf2shqBHNnRMGyPbBjRQigzfI6o2gI82hkL FulsQPihbOYLCVv8Uq3K1IAEkGQfvUsCHhZYi9dMpjOOpXIqcHmImmbQ0yWkq8UH3498 un/9T7rs6vGCdmSNpuBbH7oG7lP8taFMlecWNKKpCDzPNeMPgslbuyS8nX9KzB/F68Be Z8uejwiiiwhaPCbdqP2rSmrG3v9EnSOFhfpF3E4W9rzezY2tgZKNgwjYoCFqAgazdIuu HDoQ== X-Gm-Message-State: ALoCoQk2SOcB6af2ZQOvD+iqpQKqkKm4XmpdUpbgxNKR6/xNQ3CKIJx+1Lkrd0sdYPZ1maf71GVR X-Received: by 10.67.14.70 with SMTP id fe6mr518028pad.15.1389960392829; Fri, 17 Jan 2014 04:06:32 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.138 with SMTP id k10ls1060412qek.13.gmail; Fri, 17 Jan 2014 04:06:32 -0800 (PST) X-Received: by 10.53.11.198 with SMTP id ek6mr648316vdd.24.1389960392644; Fri, 17 Jan 2014 04:06:32 -0800 (PST) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id dv9si4828550ved.1.2014.01.17.04.06.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 04:06:32 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id jz11so1514613veb.25 for ; Fri, 17 Jan 2014 04:06:32 -0800 (PST) X-Received: by 10.220.247.68 with SMTP id mb4mr49910vcb.37.1389960392487; Fri, 17 Jan 2014 04:06:32 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp14584ved; Fri, 17 Jan 2014 04:06:31 -0800 (PST) X-Received: by 10.66.227.104 with SMTP id rz8mr1743850pac.74.1389960390618; Fri, 17 Jan 2014 04:06:30 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e8si9985096pac.24.2014.01.17.04.06.29 for ; Fri, 17 Jan 2014 04:06:30 -0800 (PST) Received-SPF: pass (google.com: domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0B7D36E37C; Fri, 17 Jan 2014 12:06:23 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by mail.openembedded.org (Postfix) with ESMTP id 2871B6B6A8 for ; Fri, 17 Jan 2014 12:06:21 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id fb10so589092wid.4 for ; Fri, 17 Jan 2014 04:06:21 -0800 (PST) X-Received: by 10.194.48.74 with SMTP id j10mr1569905wjn.41.1389960381603; Fri, 17 Jan 2014 04:06:21 -0800 (PST) Received: from localhost ([2001:610:612:0:5e51:4fff:fec8:7c15]) by mx.google.com with ESMTPSA id y13sm9153018wjr.8.2014.01.17.04.06.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jan 2014 04:06:20 -0800 (PST) From: Koen Kooi To: openembedded-devel@lists.openembedded.org Date: Fri, 17 Jan 2014 13:06:13 +0100 Message-Id: <1389960374-16694-2-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1389960374-16694-1-git-send-email-koen.kooi@linaro.org> References: <1389960374-16694-1-git-send-email-koen.kooi@linaro.org> Cc: Koen Kooi Subject: [oe] [meta-oe][PATCHv2 2/3] acpica: replace patch with EXTRA_OEMAKE args X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: koen.kooi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 No need to patch the makefile when you can just passs CC=${TARGET_PREFIX}gcc to make. Signed-off-by: Koen Kooi Tested-by: Fathi Boudra --- meta-oe/recipes-extended/acpica/acpica_20140114.bb | 3 +-- .../recipes-extended/acpica/files/cross-compile.patch | 19 ------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 meta-oe/recipes-extended/acpica/files/cross-compile.patch diff --git a/meta-oe/recipes-extended/acpica/acpica_20140114.bb b/meta-oe/recipes-extended/acpica/acpica_20140114.bb index 5cc2d5a..2bb7ad7 100644 --- a/meta-oe/recipes-extended/acpica/acpica_20140114.bb +++ b/meta-oe/recipes-extended/acpica/acpica_20140114.bb @@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://generate/unix/readme.txt;md5=204407e197c1a01154a48f6c DEPENDS = "bison flex" SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz \ - file://cross-compile.patch \ file://no-werror.patch \ " SRC_URI[md5sum] = "fcd4b7304f1bfabc7d4b9cfdecc6b0c6" @@ -20,7 +19,7 @@ SRC_URI[sha256sum] = "0d5bd32690ab77e21ab143ef25361c314a4ed13c33a5fb3ddd6f5559ab S = "${WORKDIR}/acpica-unix2-${PV}" -EXTRA_OEMAKE = "'OPT_CFLAGS=-Wall'" +EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc 'OPT_CFLAGS=-Wall'" do_install() { install -D -p -m0755 generate/unix/bin*/iasl ${D}${bindir}/iasl diff --git a/meta-oe/recipes-extended/acpica/files/cross-compile.patch b/meta-oe/recipes-extended/acpica/files/cross-compile.patch deleted file mode 100644 index f2917ca..0000000 --- a/meta-oe/recipes-extended/acpica/files/cross-compile.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: add cross compile support -Forwarded: not-needed -Author: Fathi Boudra - ---- - 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