From patchwork Thu Jan 13 14:34:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: maximilian attems X-Patchwork-Id: 476031 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0DEYRMw023109 for ; Thu, 13 Jan 2011 14:34:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755832Ab1AMOe0 (ORCPT ); Thu, 13 Jan 2011 09:34:26 -0500 Received: from vostochny.stro.at ([78.47.22.85]:46745 "EHLO vostochny.stro.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754728Ab1AMOe0 (ORCPT ); Thu, 13 Jan 2011 09:34:26 -0500 Received: from stro.at (cp4.itp.tuwien.ac.at [128.131.48.204]) by vostochny.stro.at (Postfix) with ESMTPA id BA2D2C003; Thu, 13 Jan 2011 14:34:24 +0000 (UTC) Received: by stro.at (Postfix, from userid 1000) id 3319020A92; Thu, 13 Jan 2011 15:34:24 +0100 (CET) From: maximilian attems To: linux-kbuild@vger.kernel.org Cc: Michal Marek , maximilian attems Subject: [PATCH] deb-pkg: Use $SRCARCH for include path Date: Thu, 13 Jan 2011 15:34:20 +0100 Message-Id: <1294929260-9511-1-git-send-email-max@stro.at> X-Mailer: git-send-email 1.7.2.3 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 13 Jan 2011 14:34:28 +0000 (UTC) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index b0b2357..ebc6d6e 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -239,7 +239,7 @@ fi # Build header package find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$ -find arch/x86/include include scripts -type f >> /tmp/files$$ +find arch/$SRCARCH/include include scripts -type f >> /tmp/files$$ (cd $objtree; find .config Module.symvers include scripts -type f >> /tmp/objfiles$$) destdir=$kernel_headers_dir/usr/src/linux-headers-$version mkdir -p "$destdir"