From patchwork Sun Jun 25 16:15:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangjin Wu X-Patchwork-Id: 13292016 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 E1922EB64DC for ; Sun, 25 Jun 2023 16:18:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230169AbjFYQSe (ORCPT ); Sun, 25 Jun 2023 12:18:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbjFYQSd (ORCPT ); Sun, 25 Jun 2023 12:18:33 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97A8B18D; Sun, 25 Jun 2023 09:18:31 -0700 (PDT) X-QQ-mid: bizesmtp79t1687709901tb2iajrv Received: from linux-lab-host.localdomain ( [116.30.129.193]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 26 Jun 2023 00:18:20 +0800 (CST) X-QQ-SSF: 01200000000000D0V000000A0000000 X-QQ-FEAT: 3M0okmaRx3hcF+S99Fpw/jxjR7hoHB1tjQPBUK8gngnJMi+HZ2VtCebvgRwRp y9Rc5husLEZJxYSNuJLBiqv1VvbA7z4Bh5k9x6oCWZR3j+I7wa/PncQEDZKTcOuuBOLOlWo s3+XSH5JiK0/PzxZVKyhmUAVuYOZk4hKY8a6RhTkte4JjGcXsjcZleXt0Wy8BKMWe14H/Rr oKGXxweT29IeiZuEWTl+VZUaGonZWfGCEdaoKk7TiPbIG6lnm/gP9v3ciVxPpDNWGJo5R1x ZF8MtgZemdf0EdEqLGD/wtVaP7sQIaoJZ4KRn8f5DpkWXj9fhmayPJOCLDWHNMieCuh0IGM aXQuZTofIvKITjgkBAMFI3lvaF8wTV+A2UVr846ThvApEtSUHfYc2Ij9KJfAw== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 10532903300621852071 From: Zhangjin Wu To: thomas@t-8ch.de, w@1wt.eu Cc: falcon@tinylab.org, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH v1 04/22] selftests/nolibc: add menuconfig target for manual config Date: Mon, 26 Jun 2023 00:15:58 +0800 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrsz:qybglogicsvrsz3a-3 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org The default DEFCONFIG_ may not really work for all architectures, let's allow users to tune some configs with 'menuconfig'. This is important when porting nolibc to a new architecture, it also allows to speed up nolibc 'run' target testing via manually disabling tons of unnecessary configs. Signed-off-by: Zhangjin Wu --- tools/testing/selftests/nolibc/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index f8be0de0ce0e..10579396e60e 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -177,6 +177,9 @@ initramfs: nolibc-test defconfig: $(Q)$(MAKE) -C $(srctree) ARCH=$(KARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) mrproper $(DEFCONFIG) prepare +menuconfig: + $(Q)$(MAKE) -C $(srctree) ARCH=$(KARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) menuconfig + kernel: initramfs $(Q)$(MAKE) -C $(srctree) ARCH=$(KARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) $(IMAGE_NAME) CONFIG_INITRAMFS_SOURCE=$(CURDIR)/initramfs