From patchwork Wed Jul 19 13:23:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangjin Wu X-Patchwork-Id: 13318972 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 D976CC001B0 for ; Wed, 19 Jul 2023 13:24:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230518AbjGSNYB (ORCPT ); Wed, 19 Jul 2023 09:24:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbjGSNYB (ORCPT ); Wed, 19 Jul 2023 09:24:01 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 462CEFD; Wed, 19 Jul 2023 06:23:59 -0700 (PDT) X-QQ-mid: bizesmtp85t1689773030t5e87exz Received: from linux-lab-host.localdomain ( [119.123.130.39]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 19 Jul 2023 21:23:49 +0800 (CST) X-QQ-SSF: 01200000000000D0X000000A0000000 X-QQ-FEAT: 3M0okmaRx3hNEMaNV2ioaObF5OMlW4ww9cct06aqxtedtRCfN70YUmF3a484b 9Qjbfp6aj9FY1AKa7K9kAHuWursDDOWcZoJgbNNRrs/V+KNyYZaDEGlwRoH/ib0d5FT6ZOL cveUkLm+0DaUPwrlGCrGJhHP+w2meeI96aA+kuHnMb3ZdIgHe7jV0WId4rG1T4LJdAPUxkV HIcERzcKwwEOUmmyjtbUBz39qzmo5rl1HFT/LmUmfP7joFD6tBfEtZygyydZezi8wic9O3z lMHAG1sCFWCHMIrzfZgha001OwwRZhf2AaMTNdQNuWzONlCCSr9OVyoX1IiGs880pf9TDpK D6ZsgwuXgQLzee68YjD58Iig0WHxM2QIUrNU0Q7tDUQeAh/hBuKj+XHASpPfw== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 37435219588245657 From: Zhangjin Wu To: w@1wt.eu Cc: thomas@t-8ch.de, arnd@arndb.de, falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH v2 06/14] selftests/nolibc: add mrproper for development Date: Wed, 19 Jul 2023 21:23:48 +0800 Message-Id: <30b7328645ad7baec6e63daaf069dd97d5456269.1689759351.git.falcon@tinylab.org> 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:qybglogicsvrgz:qybglogicsvrgz5a-1 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org When want to start a new building with O= option, the old generated files in the source code tree must be mrproper-ed, adding mrproper target here to avoid switch to the source code tree manually. 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 06954b4b3885..9d9902b54e5e 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -199,6 +199,9 @@ MAKE_KERNEL = $(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROS KERNEL_CONFIG = $(objtree)/.config KERNEL_IMAGE = $(objtree)/$(IMAGE) +mrproper: + $(Q)$(MAKE_KERNEL) mrproper + defconfig: $(Q)$(MAKE_KERNEL) mrproper $(DEFCONFIG) prepare