From nobody Thu Nov 28 01:49:00 2024 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E6A5165F05 for ; Sat, 5 Oct 2024 21:56:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728165366; cv=none; b=XSk+51RUZl0XvTW5CYpgQjUWi0EFQ5BcEEt9VylXh0+Us5VMW9Ts5hK61kbDP6hKsJ1VyoYOUeup76Y5WBwp5aOMTPwn/VUNkKMOOACn7F9U1goFUalMUFZJ0qHpV6ZCKg2Ykoud0SoVlPehYPboDUn0untDVefY2dMKnf8K+XE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728165366; c=relaxed/simple; bh=Kv3tGeYVEvki+TLXFk7nQI92L8KqidN/GBFVcVcLd+s=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=FncxuOdPUNFf5ChYR6f4aXtFP7ZuFJ5vegu1AglRzVK3Wzs//rSJKm+XxiUo816gqxGJZ9WoP9Ug2QVEICd14Sb1ukWl5lKeIKdmay9SA+dG+nJMedUG7Rd5S1u9q+hMc/Rhcm/HchU909ANJzeMZBypqOxrsedz0huQJhxf6oo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--gthelen.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=lfGD5exN; arc=none smtp.client-ip=209.85.219.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--gthelen.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="lfGD5exN" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-e28694ff555so4969815276.2 for ; Sat, 05 Oct 2024 14:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1728165363; x=1728770163; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=UjrRZf+/scm4ik6V8Y3O+VVxMpeJ9ouK1fJjBIa+BxA=; b=lfGD5exNlaJ3N8q909yLbyjvmTVwnLaWDJBWjyuYPD1H715L/ULegSOQs39jDrM5Pv 0bLUpIoxXoxiLHvcuK0IhzquL6/YPHckuqOvFf31sY+grAPx/ylHZ35qgTXWUNq0nS63 VAqTBRzoYyMKQTFyU4EO9NFUSHeiFlUktU5Oigr8uRgYK4Kyjn8bNhOdtyfi6RPCirye iEj2RXOrXn+FY3u1QM6olAhlVA0UkdCxyAfUUKLG0LeaAfUuXP8WjOHwhcICskY7ufV4 ExDl8nZc99/OwRG3Hi4iLrXG5RQxjA0WE1LmMtsqPJ3sutyS9rHHjD/tMZheBPv4+FwR NOvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728165363; x=1728770163; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UjrRZf+/scm4ik6V8Y3O+VVxMpeJ9ouK1fJjBIa+BxA=; b=YTjwPsagBpyFw2YFBzS3ad8Wv7zOk+OYq3h6PjQSK3N3jxv/XPL3ADVFVdMT8juJIg yBfZQlQN2oQzrJmU6903vNJpT4ti7Yod7JtMXq65XrlvU+WhrIlEXxj2t6YBUpZvACpb Ex2e60sUiLYwKhh35FmF+K6EzeBaya2urs1VFY8Oe8WLqIwzkVu46gOEXiabyw8u/Nxd 6TK/2AX9cLTOxi54XdvzENv/XBHC4UoYkUUK1KfnW1nZs4UOjc3kmTBJqJ2ZrVgc4H+N oCc2ENu6dDZ8q3QPCROsl/wY5dBAHpHiLAjoWOlp6ib8OL7X91SvBG2RxoHItA2DlVGG ZrgQ== X-Forwarded-Encrypted: i=1; AJvYcCXCxvLY0JP7lj8fisniGLk2gOibaKfcxF4Ap3C0mJ5fZFFyFDx8EwvlG++dUKPc50fsYqZkq8MldF4sW5s=@vger.kernel.org X-Gm-Message-State: AOJu0YxFRJCAR0PAWsy9f3ZiVzPJNGVStZyRJG0gkMrau9TciU1JKq/Q kGt1AEwdoNq6a/SuY66m7GUiL0m2Vwp3vrUEPIGyfrS7z5oKd/flgJG4emf68gy3+68RC2c7coG AIqkM2Q== X-Google-Smtp-Source: AGHT+IHWpc6AdTIJHoH8hPk5oe2zVGLycQ2hBiOKJKUuhmS+kKN3bJkizgngYFJ0CrJraC8hT/t8k3PUgXO9 X-Received: from gthelen-cloudtop.c.googlers.com ([fda3:e722:ac3:cc00:2c:2b44:ac13:f9ac]) (user=gthelen job=sendgmr) by 2002:a25:8b89:0:b0:e25:cea9:b0e with SMTP id 3f1490d57ef6-e2893939abemr5252276.9.1728165363498; Sat, 05 Oct 2024 14:56:03 -0700 (PDT) Date: Sat, 5 Oct 2024 14:56:00 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.47.0.rc0.187.ge670bccf7e-goog Message-ID: <20241005215600.852260-1-gthelen@google.com> Subject: [PATCH] selftests: make kselftest-clean remove libynl outputs From: Greg Thelen To: Shuah Khan , Mina Almasry Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Thelen Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Starting with 6.12 commit 85585b4bc8d8 ("selftests: add ncdevmem, netcat for devmem TCP") kselftest-all creates additional outputs that kselftest-clean does not cleanup: $ make defconfig $ make kselftest-all $ make kselftest-clean $ git clean -ndxf | grep tools/net Would remove tools/net/ynl/lib/__pycache__/ Would remove tools/net/ynl/lib/ynl.a Would remove tools/net/ynl/lib/ynl.d Would remove tools/net/ynl/lib/ynl.o Make kselftest-clean remove the newly added net/ynl outputs. Fixes: 85585b4bc8d8 ("selftests: add ncdevmem, netcat for devmem TCP") Signed-off-by: Greg Thelen Reviewed-by: Guenter Roeck Reviewed-by: Mina Almasry Reviewed-by: Muhammad Usama Anjum --- tools/testing/selftests/net/ynl.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/net/ynl.mk b/tools/testing/selftests/n= et/ynl.mk index 59cb26cf3f73..1ef24119def0 100644 --- a/tools/testing/selftests/net/ynl.mk +++ b/tools/testing/selftests/net/ynl.mk @@ -19,3 +19,7 @@ $(YNL_OUTPUTS): CFLAGS +=3D \ $(OUTPUT)/libynl.a: $(Q)$(MAKE) -C $(top_srcdir)/tools/net/ynl GENS=3D"$(YNL_GENS)" libynl.a $(Q)cp $(top_srcdir)/tools/net/ynl/libynl.a $(OUTPUT)/libynl.a + +EXTRA_CLEAN +=3D \ + $(top_srcdir)/tools/net/ynl/lib/__pycache__ \ + $(top_srcdir)/tools/net/ynl/lib/*.[ado] --=20 2.47.0.rc0.187.ge670bccf7e-goog