From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 15 May 2023 10:04:02 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pyTBb-001WLu-M8 for lore@lore.pengutronix.de; Mon, 15 May 2023 10:04:02 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pyTBY-0001xZ-Ma; Mon, 15 May 2023 10:04:00 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pyTB6-0001wl-9B; Mon, 15 May 2023 10:03:32 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pyTB5-000JB2-Jy; Mon, 15 May 2023 10:03:31 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pyTB4-008VQ6-OD; Mon, 15 May 2023 10:03:30 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Date: Mon, 15 May 2023 10:03:28 +0200 Message-Id: <20230515080329.2027394-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH 1/2] templates: generate 'default y if ALLYES' for host packages X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Make sure that all host packages are compile-tested. Signed-off-by: Roland Hieber --- rules/templates/template-class-existing-target-in | 2 +- rules/templates/template-class-in | 2 +- scripts/lib/ptxd_lib_template.sh | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rules/templates/template-class-existing-target-in b/rules/templates/template-class-existing-target-in index 3194d5b33e59..d563fb7bb657 100644 --- a/rules/templates/template-class-existing-target-in +++ b/rules/templates/template-class-existing-target-in @@ -2,6 +2,6 @@ config @CLASS@@PACKAGE@ tristate -@SELECT@ prompt "@package@" +@DEFAULT@@SELECT@ prompt "@package@" help FIXME diff --git a/rules/templates/template-class-in b/rules/templates/template-class-in index 3194d5b33e59..d563fb7bb657 100644 --- a/rules/templates/template-class-in +++ b/rules/templates/template-class-in @@ -2,6 +2,6 @@ config @CLASS@@PACKAGE@ tristate -@SELECT@ prompt "@package@" +@DEFAULT@@SELECT@ prompt "@package@" help FIXME diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh index d25835bd5670..6f91d8629b01 100644 --- a/scripts/lib/ptxd_lib_template.sh +++ b/scripts/lib/ptxd_lib_template.sh @@ -398,6 +398,8 @@ export -a ptxd_template_help_list ptxd_template_new_host() { template=template-class + export DEFAULT=" default y if ALLYES +" ptxd_template_setup_class HOST_ && ptxd_template_read_remote_existing && ptxd_template_write_rules -- 2.39.2