From patchwork Sat Apr 12 17:15:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 3973121 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 995D89F370 for ; Sat, 12 Apr 2014 17:15:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0618202EB for ; Sat, 12 Apr 2014 17:15:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 17EB5202D1 for ; Sat, 12 Apr 2014 17:15:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754795AbaDLRPn (ORCPT ); Sat, 12 Apr 2014 13:15:43 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:58411 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754628AbaDLRPn (ORCPT ); Sat, 12 Apr 2014 13:15:43 -0400 Received: by mail-la0-f48.google.com with SMTP id gf5so4386813lab.7 for ; Sat, 12 Apr 2014 10:15:41 -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; bh=YEMuCHapc6qMClP7Ocw2smwUM0RGYg1pX9HH5qYWT5E=; b=c0dl3RUXD5kN8k8AmhIWpqMZsXyZlPCfNyDCY1bLHZU3RJnNUyqTuX9xspivm9LP5L 26QiEn/AlF3jLFf4vmE9Hk6UqelDS80rff43ZdOJEA5xV1wU8Fq5eU1J5rRIPHa/VWXj n8wN1c4E6t/dvxtMmOnVRzSJK5k8koOSx3J7+JlLah1s/X4MfGuKCYVe74DQgRqJoc7N X0iRhm0pMxzISolO/PEuDJRnKj3RN1VhJm5iFYyRWNtMUYZDU2bqPIK2hIK6CENUX8tT 5mtadUEInlvlzdcSwhXd6jnbe4IcHe1vgfEqqw21nOu0uR80p8P3GRKmnWUAvvxzeBaG PCkw== X-Gm-Message-State: ALoCoQm6tzOzoL622QYBxyfmSziH85+CnlkhlmItfe8avUsBIkpgBqKfv3V3br7iBL9vdFurDhIx X-Received: by 10.112.137.5 with SMTP id qe5mr20898583lbb.16.1397322941873; Sat, 12 Apr 2014 10:15:41 -0700 (PDT) Received: from localhost.localdomain (a91-152-78-194.elisa-laajakaista.fi. [91.152.78.194]) by mx.google.com with ESMTPSA id qf1sm9155269lbc.8.2014.04.12.10.15.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 12 Apr 2014 10:15:41 -0700 (PDT) From: Fathi Boudra To: linux-kbuild Cc: Michal Marek , Ben Hutchings , Maximilian Attems , Fathi Boudra Subject: [PATCH] deb-pkg: install device tree blobs in linux-image package Date: Sat, 12 Apr 2014 20:15:31 +0300 Message-Id: <1397322931-16688-1-git-send-email-fathi.boudra@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Signed-off-by: Fathi Boudra --- scripts/package/builddeb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index f46e4dd..24cb3b1 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -165,6 +165,11 @@ if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then fi fi +if grep -q '^CONFIG_OF=y' $KCONFIG_CONFIG ; then + mkdir -p "$tmpdir/boot/dtb/$version" + INSTALL_DTBS_PATH="$tmpdir/boot/dtb/$version" $MAKE KBUILD_SRC= dtbs_install +fi + if [ "$ARCH" != "um" ]; then $MAKE headers_check KBUILD_SRC= $MAKE headers_install KBUILD_SRC= INSTALL_HDR_PATH="$libc_headers_dir/usr"