From patchwork Thu Apr 2 11:27:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 6147131 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 945F69F2EC for ; Thu, 2 Apr 2015 11:27:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D59CB20396 for ; Thu, 2 Apr 2015 11:27:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EF51520392 for ; Thu, 2 Apr 2015 11:27:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751360AbbDBL1w (ORCPT ); Thu, 2 Apr 2015 07:27:52 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:32888 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714AbbDBL1v (ORCPT ); Thu, 2 Apr 2015 07:27:51 -0400 Received: by lbbzk7 with SMTP id zk7so40891879lbb.0 for ; Thu, 02 Apr 2015 04:27:50 -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=YDO/BEGIcWqIE7Zvg8hchnuAxFl4Ul0FguFDzwZ1G8g=; b=OTuq0pXXq3ImqKwLaZdhaMDX8VZJsr7kFPpmLV+DSOClzP2dKccb39JvdTdbo1RFCO Z2OBsnA9ZRPbVZfkt7DVzmSTxNA2mLiALbzeTdm2cskSo352UMZ2ao7BC9h0Ruu9mE+2 iz70MW8z8ld0Bjj98GRSIaZSLxbUF9uG8jsoydD2w4BMxGP35D0PgFPeOk0X9iDDhg/M 375VxXA94aXiuQSJ8Qq06Fq3cYd0MOr7+5HRlNbWocHqpwVEs+cPP7E40V2lo5J/2JGT gMFhXPKD2D5eKlqNSgh1liGJ+ixw4e3ATOKU0+rANH9n+IQoan/fSiN8BbFMVG/7TuwI yKyw== X-Gm-Message-State: ALoCoQlmhLJDVocJwmfY7OPYAr0RJR9DDWEUWNkeHBXH4EgAmQ/9bQsRPZw/yO4PAZRPXi6PPfE6 X-Received: by 10.152.22.133 with SMTP id d5mr27534879laf.99.1427974070202; Thu, 02 Apr 2015 04:27:50 -0700 (PDT) Received: from localhost.localdomain (91-157-196-38.elisa-laajakaista.fi. [91.157.196.38]) by mx.google.com with ESMTPSA id k3sm979450lah.40.2015.04.02.04.27.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Apr 2015 04:27:49 -0700 (PDT) From: riku.voipio@linaro.org To: linux-kbuild@vger.kernel.org, mmarek@suse.cz, debian-kernel@lists.debian.org Cc: Riku Voipio Subject: [PATCH 2/4] builddeb: install dtbs Date: Thu, 2 Apr 2015 14:27:28 +0300 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Riku Voipio When kernel is built with CONFIG_OF, install all built device tree files built. The installation location used is same as toplevel INSTALL_DTBS_PATH. Signed-off-by: Riku Voipio --- scripts/package/builddeb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 146b74f..147264e 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -174,6 +174,10 @@ if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then fi fi +if grep -q '^CONFIG_OF=y' $KCONFIG_CONFIG ; then + $MAKE dtbs_install KBUILD_SRC= INSTALL_DTBS_PATH="$tmpdir/boot/dtbs/$version/" +fi + if [ "$ARCH" != "um" ]; then $MAKE headers_check KBUILD_SRC= $MAKE headers_install KBUILD_SRC= INSTALL_HDR_PATH="$libc_headers_dir/usr"