From patchwork Mon Mar 6 22:32:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 13162458 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F20BC6FD1A for ; Mon, 6 Mar 2023 22:32:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229937AbjCFWch (ORCPT ); Mon, 6 Mar 2023 17:32:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbjCFWcg (ORCPT ); Mon, 6 Mar 2023 17:32:36 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A845B65450; Mon, 6 Mar 2023 14:32:35 -0800 (PST) From: Bastian Germann DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1678141953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DyQXSp5VcsanePt7oajW4QUYwJc1l20YmNRKclLiQkg=; b=hJHIuNf+O8z4XRjyatP+wAr9Xts9CwZVsiG6It+q7lLHMgimoPDURYFE1l/qJqEflc8JEh oHCMJtRm4uVZ/GVkfLPFkypgmT36+3yksGdvzSoypafDV8aGTk/3CYDjvxWNXv4lFxG3vV EBIoleOKlrN1MHXvudZEKXDmqOBC0KYY3h+RUKRn+x/dojs1Gx55xsl206AIOX9sh6tZmk p6WAPR77bvMDRUEmKEW1tE0+ZLhHdc0rrMbiRPYijpwBdO8O6ibB13aSkEnzBi5BIRqwL+ 9s4NNnZXXAUbGPCclDRb8GWJO6jd3ZYnNNBAO5Xxnc35sJQRkdKS/3rIo3MHPw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1678141953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DyQXSp5VcsanePt7oajW4QUYwJc1l20YmNRKclLiQkg=; b=GEDsy1wyLHGkjA7DVdcfBgUm8+X2uZt6CJ+9WORkoGmu2So2CuguBCjs5iXve07QtLSAPA V0kWsElzJpPJwGBA== To: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier Cc: Bastian Germann , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/1] builddeb: introduce profile excluding the dbg pkg Date: Mon, 6 Mar 2023 23:32:08 +0100 Message-Id: <20230306223208.6277-2-bage@linutronix.de> In-Reply-To: <20230306223208.6277-1-bage@linutronix.de> References: <20230306223208.6277-1-bage@linutronix.de> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Enabling CONFIG_DEBUG_INFO implies building the binary linux-image-*-dbg. As this increases package build time significantly, one might want to exclude it from being built. Add build profile pkg.$sourcename.nokerneldbg for that package so it can be excluded via e.g. `make DPKG_FLAGS="-P=pkg.linux-upstream.nokerneldbg" deb-pkg` The name is the same that is used in Debian's linux package since version 5.17~rc4-1~exp1. Link: https://wiki.debian.org/BuildProfileSpec Link: https://salsa.debian.org/kernel-team/linux/-/commit/140798ec2789 Signed-off-by: Bastian Germann --- scripts/package/mkdebian | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index f74380036bb5..8a7969926e53 100755 --- a/scripts/package/mkdebian +++ b/scripts/package/mkdebian @@ -227,6 +227,7 @@ if is_enabled CONFIG_DEBUG_INFO; then cat <> debian/control Package: linux-image-$version-dbg +Build-Profiles: Section: debug Architecture: $debarch Description: Linux kernel debugging symbols for $version