Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2741327pxk; Sun, 20 Sep 2020 15:51:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzzwnPF/6wmEi0loNfxJDlmdakGLqB9H/IILsJlfbn/XND2iYOhvPEnp/oJen6/vxx++oT X-Received: by 2002:a17:906:a947:: with SMTP id hh7mr45118681ejb.126.1600642285983; Sun, 20 Sep 2020 15:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600642285; cv=none; d=google.com; s=arc-20160816; b=OxDRdMt6kOkb4v3FhlwWhNwA6U3P8eVUA+uZDCVjUySpackDlsq20OheS1GWOroN9K L2SlYcXLZeTUZjJR5k1JcRQSI8Zg4kf3HZoopS+IhOkz9qc10NyRhKENvUnuKK1ZpDAy 3sYFsXm9VfCE620xG12XCe/NOuvkxK1inQ3qVl5AkgYS5gMw1OAyICFGsPSUKi+Ruex9 WJjgkPx6bxkCFZqD5TarwYytnBtYGvqo7xq9g7/Lk/jjmreIgku9T0br9St013Zdha7Y pFWWXPMlfyFc97f80sLuY/AAQaa6E/kmeqOYVD2XrAT8hEka7QEFVIM6woALbBfbirXM dqQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SZWE1kiinGwQdARrE4mBAtoiwoi5O1q3arbNxNYE6Uo=; b=zKzfjN9D1qq7vweiBgjvaguur4DTsB0EOAPaXIIHGCIBQ0dH6syX5SUtj4x/oGnbLp xWmbJny068mk7jat2Af/X1hGZFSwTzXjVqO085xjTcNy+3yf+G67ft+inza5O/nOgoWp aEKELG037IHU4SDdCn4AA9Q5GgFdpzqeXgMR240kFSA4eGYkNd046VEQByGSS7BeJBUN xPRBrzsjO4KMTW0jrrOsgk7S/KzDp/JM72aZH22t4dU4rIJ/BAbDDovN+hsR7Hrvwx7M sJHcvC9TuhJSOfIz+eHeSpI9RdhZOnn5IxPFqWKAU7XyyHx7OZG63tRc+/u821mZ3pIy a5iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hadrons.org header.s=201908 header.b=CQz5d9OQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=hadrons.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si7008897edp.364.2020.09.20.15.51.02; Sun, 20 Sep 2020 15:51:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hadrons.org header.s=201908 header.b=CQz5d9OQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=hadrons.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726497AbgITWs3 (ORCPT + 99 others); Sun, 20 Sep 2020 18:48:29 -0400 Received: from 2.152.178.181.dyn.user.ono.com ([2.152.178.181]:36170 "EHLO pulsar.hadrons.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726484AbgITWs3 (ORCPT ); Sun, 20 Sep 2020 18:48:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hadrons.org ; s=201908; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:From:Reply-To:Subject:Content-Type: Content-ID:Content-Description:X-Debbugs-Cc; bh=SZWE1kiinGwQdARrE4mBAtoiwoi5O1q3arbNxNYE6Uo=; b=CQz5d9OQJ2Cd30pr+HbUDvaDbY OKV7ATmDsJfNyux/IEw1XC8HNfvZA5WplGAxi+Kkvj1gVYcwAqdRvhFIavls9sgn0EWoObBXL9e5M G7GoTUzscjynP+qh7zXp6ZK00hJzqERJB7JYzpJaIUgLZxUpzqRVeD/HFKGXghCLp3pmai4wMPg2W F7dMq3PPN5EatjeyHW+j8Q2YgBZTiCTCL2qodoNJcae1TJRUQ+G17uZyqVYUgZnYjIzFLz/QBkMi4 s2O/Au/XNYksv5J5MNH7osBP46O01LjgVVabD+IYiQlY8273ORzJNwEz7MqiH1kBL2JnOv++FUdvB vkUnYWlg==; Received: from guillem by pulsar.hadrons.org with local (Exim 4.92) (envelope-from ) id 1kK7nB-0002cc-66; Mon, 21 Sep 2020 00:26:45 +0200 From: Guillem Jover To: linux-kbuild@vger.kernel.org, Masahiro Yamada , Michal Marek Cc: linux-kernel@vger.kernel.org Subject: [PATCH 4/7] builddeb: Add support for all required debian/rules targets Date: Mon, 21 Sep 2020 00:25:53 +0200 Message-Id: <20200920222556.10002-5-guillem@hadrons.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200920222556.10002-1-guillem@hadrons.org> References: <20200920222556.10002-1-guillem@hadrons.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These have been required by the Debian policy for a while, even though the tooling can detect and workaround their omission, but are a hard requirement when using rootless builds. Signed-off-by: Guillem Jover --- scripts/package/mkdebian | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index 69f2a6d7f009..dae6c0ec0bd6 100755 --- a/scripts/package/mkdebian +++ b/scripts/package/mkdebian @@ -231,11 +231,15 @@ cat < debian/rules srctree ?= . -build: +build-indep: +build-arch: \$(MAKE) KERNELRELEASE=${version} ARCH=${ARCH} \ KBUILD_BUILD_VERSION=${revision} -f \$(srctree)/Makefile -binary-arch: +build: build-arch + +binary-indep: +binary-arch: build-arch \$(MAKE) KERNELRELEASE=${version} ARCH=${ARCH} \ KBUILD_BUILD_VERSION=${revision} -f \$(srctree)/Makefile intdeb-pkg -- 2.28.0.297.g1956fa8f8d