From patchwork Tue May 13 13:17:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 348360 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id D7635140096; Tue, 13 May 2014 23:18:10 +1000 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1WkCar-0004TU-ER; Tue, 13 May 2014 13:18:05 +0000 Received: from mail-qc0-f182.google.com ([209.85.216.182]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1WkCam-0004TK-33 for kernel-team@lists.ubuntu.com; Tue, 13 May 2014 13:18:00 +0000 Received: by mail-qc0-f182.google.com with SMTP id e16so365133qcx.27 for ; Tue, 13 May 2014 06:17:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VXw3hCRy7bFFnXg8EJ8b1M3qd4jm2chBzd2H69GvGjQ=; b=jtrhL+oLQGPrkrB8fIntxhoMSS6t8RVX6qiys8460fsLUmsHXLm+PUfsrDeFCdRzLC 9ch7rcDgPB+JT+HeVuLpcmfE97/yen6hRapMGUfOtOV1+SEGYicdGboOA3Vl6C0le7yr 6kQ5DwI8wS42W91pe9k6vsPTeeUUbA+aWpq1qqQVrJDRD8mQEuzLFIRdUVlK3mBxvqgD XNC4uGlIHy/uVyZSAYw9ZdG1Lkl+WKguE6NiPD9tLOSuhGc68LzbnWvoTGxn16+vPZ+K yMLBlIHLYWQzZCQXwq9ugD2P70frM4mM4HRbq5idUxa4D7AvOI/jv1+XFf76tWrRE/d5 YOKg== X-Gm-Message-State: ALoCoQkj+l8eCh05PAcAjzWKL6Y0s+k4Z+bq8DzsNh1BVn0NYb5gwm14MEHLkgiODjKcCCgZVH50 X-Received: by 10.224.62.17 with SMTP id v17mr12994372qah.6.1399987079533; Tue, 13 May 2014 06:17:59 -0700 (PDT) Received: from localhost ([2001:470:6973:2:221:70ff:fe81:b177]) by mx.google.com with ESMTPSA id c16sm26670518qaw.4.2014.05.13.06.17.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 13 May 2014 06:17:58 -0700 (PDT) From: Andy Whitcroft To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/1] UBUNTU: [Packaging] ppc64el is a powerpc kernel arch and needs its quirks Date: Tue, 13 May 2014 14:17:53 +0100 Message-Id: <1399987073-8136-2-git-send-email-apw@canonical.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1399987073-8136-1-git-send-email-apw@canonical.com> References: <1399987073-8136-1-git-send-email-apw@canonical.com> Cc: Andy Whitcroft X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com BugLink: http://bugs.launchpad.net/bugs/1318848 Signed-off-by: Andy Whitcroft --- debian/rules.d/2-binary-arch.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 05e91c1..3339795 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -244,8 +244,8 @@ endif # Copy over the compilation version. cp "$(builddir)/build-$*/include/generated/compile.h" \ "$(hdrdir)/include/generated/compile.h" - # powerpc seems to need some .o files for external module linking. Add them in. -ifeq ($(arch),powerpc) + # powerpc kernel arch seems to need some .o files for external module linking. Add them in. +ifeq ($(build_arch),powerpc) mkdir -p $(hdrdir)/arch/powerpc/lib cp $(builddir)/build-$*/arch/powerpc/lib/*.o $(hdrdir)/arch/powerpc/lib endif