Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1116801rwo; Sat, 22 Jul 2023 06:58:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlFzeis4SuoyD2qjUdA/vzJs+UyKoThT4Jc79+Yp5Z4mrl1kZuDMBKs3GKkX0Lo5fBYfCkq4 X-Received: by 2002:a05:6a00:8c5:b0:682:537f:2cb8 with SMTP id s5-20020a056a0008c500b00682537f2cb8mr4835586pfu.26.1690034331851; Sat, 22 Jul 2023 06:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690034331; cv=none; d=google.com; s=arc-20160816; b=tF45Y5MtQM3mt95HjtGxpNvr0P9nRMBF5xC/WSHi3E2PIUazdfO1uoOSDnVBoZMXID FQdIRiIKHuxBFQbPbSPab1AxIgo6TQswFqlo/4KpokgWy53bXnAXZWzUpn9fqpNjbGf0 3tV9h/pOrU17NOuMpMLIBZgZv14/nh1DAwv+5T+KRqhGxp66OgtuNDTuiIpGUUT65/nt sccg4CIz72DVA7UHt7wpUntGlKN5R/Qbu0RlaqHWxAdriMVszYLxKSaRYxSfp7PtjAW4 EyDiQD6bGuBhuRLWHqAAON10QJ3/t47uGqCuX+iF47H3c0BRuBUYGu8EziAHJlxk6jfO Gm0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=2ovq/EYl6PcZyCmXukVFeTwSodlgGZ4DzBr+kcGm9GI=; fh=ujwW7c4tbJyQEFqfHDIuJXTy68vjNzYK6N7f8YmL270=; b=uXbUFLEVArvZvspJGDTzJ1ptwhYhTTVdS6evB6u/+iAe9ITrvF3O7GWudV4dIrP1NI 5H3vUa5svww9S5HoaYez3YNDQnsE1wh43bptNYBdYK0/OJ9ytFdxjaXJO0e1CS5WlA/B ZbeP54/tzgF+dy5/ZLNlU//MPzHEjyX1tc06cNQl0YJLmLljapz/sL4O5VJkHt+vehXD Bzkz6mP9K+UzeboMhlEXu7qaXRF3jIWvZmr+nwMX1exTajp89lCVTFcMzzUOu7C7du3U U5JHTcMK0Kb7m61lHobff+uHgkeCybObAtzZ+u6s7pnVa4jbC3NwvxA0EOkoFkbBkzVH l5iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l131-20020a633e89000000b00543eeb76c52si3932269pga.756.2023.07.22.06.58.39; Sat, 22 Jul 2023 06:58:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbjGVNIJ (ORCPT + 99 others); Sat, 22 Jul 2023 09:08:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbjGVNIJ (ORCPT ); Sat, 22 Jul 2023 09:08:09 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E03B5122; Sat, 22 Jul 2023 06:08:07 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 36MD7xME017467; Sat, 22 Jul 2023 15:07:59 +0200 Date: Sat, 22 Jul 2023 15:07:59 +0200 From: Willy Tarreau To: Zhangjin Wu Cc: thomas@t-8ch.de, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 12/14] selftests/nolibc: add tinyconfig target Message-ID: <20230722130759.GL17311@1wt.eu> References: <6c58b9bec8fdf593d5dd1d5ba55aabddb0ce02d1.1689759351.git.falcon@tinylab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6c58b9bec8fdf593d5dd1d5ba55aabddb0ce02d1.1689759351.git.falcon@tinylab.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 19, 2023 at 09:30:30PM +0800, Zhangjin Wu wrote: > The original tinyconfig target only enables minimal kernel config > options, it can speed up the kernel build and nolibc test a lot and also > brings us with smaller kernel image size. > > But the default enabled options are not enough for qemu boot and console > print, some additional config options should be added for every > architecture individually. > > 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 eec2935672ad..f42782fa78a9 100644 > --- a/tools/testing/selftests/nolibc/Makefile > +++ b/tools/testing/selftests/nolibc/Makefile > @@ -218,6 +218,9 @@ mrproper: > defconfig: > $(Q)$(MAKE_KERNEL) $(DEFCONFIG) prepare > > +tinyconfig: > + $(Q)$(MAKE_KERNEL) tinyconfig prepare So for the same reasons as defconfig above, I'd actually keep mrproper here. And if we figure that tinyconfig is never called by the user directly but as a dependency from the makefile itself or scripts, then we likely don't even need to create a visible entry for it. Willy