Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4690484iob; Sun, 8 May 2022 22:08:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkW5juoLos7ralXm6w7X7irlPjm9IfD36SOJTLPWBjI1tXpq+oWTaA7UfDIP4/Re6eT1Xq X-Received: by 2002:a17:90b:4a84:b0:1dc:67e9:a92c with SMTP id lp4-20020a17090b4a8400b001dc67e9a92cmr16197755pjb.141.1652072883381; Sun, 08 May 2022 22:08:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652072883; cv=none; d=google.com; s=arc-20160816; b=PCsk5pwGgVT2RTyoYMCT6xwk40eV0mTJxuBRzV71sZy/56qP6ehACNHljp4p9P4NMd qyXyxFSkDzKp0+CPdhf2pmb35dXICQEKduvxp39VZSRckGE7cX/fvM4kMGn8PkM1qo1G MwKDYXwH2LXneGyAxGCzmAbzntdRBKqBi1xrzxRyg7QtaDTGOXTsleq7ys9hRKd8gdX0 2QFcW8sGnEBbA+vDSLlZmRJqY6bKbUSgBdUClQbTklaF1RUPdJ0DEAM2P0SY/ZL7jbd/ 4nXjuazRWVpzDYf270chcEOZ8bycnCKNggJvGHTvfnpFFRLLBb8e+pA3+ctmw+SZYjSy Et/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=x+VFB+RbqDxtdPfXH5fs43HvbZapK8JlXZrJfass0jo=; b=g5cOzPHQPdEuXP5PBGbGGPARRiq5fOKbbWlZL7QUieb95kxDIsxFNkB+ONnxt5prs0 yOXxHViF/Mxj/sgO+9J/E01yZMjrdoVhQTg63vJ2BXCPKf2LygWm2S9zXwwQzjoiEf3z gG610OngyEMk8oiusGv+HhIqs/0TnmAj3PTwgUed5eHYtcHiiMItcLISfUY+6hwlMhZB mnD6p4otPJ4nUheHrZfPzj5vksgdwEZHz7op9907/bY8uNfzUHbedTAk2JLs7zrY2/J6 zbOrEC+R0S5eDP7Pvvb6S3nlH/gEwnnjPnKfxElE2veKJAXF7JkQ7E1xqzytVPE/RNwh qzPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iPcBX47j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l10-20020a056a00140a00b004fa3a8e000esi13555277pfu.197.2022.05.08.22.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 22:08:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iPcBX47j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AB4D013E1B; Sun, 8 May 2022 22:00:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231363AbiEEAas (ORCPT + 99 others); Wed, 4 May 2022 20:30:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229999AbiEEAaq (ORCPT ); Wed, 4 May 2022 20:30:46 -0400 X-Greylist: delayed 64 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 04 May 2022 17:27:04 PDT Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [170.10.129.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8E337396A9 for ; Wed, 4 May 2022 17:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651710423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x+VFB+RbqDxtdPfXH5fs43HvbZapK8JlXZrJfass0jo=; b=iPcBX47jh+qpj+j3L6zJpDUABVmc0DGKs38DLwZZTCppKkBRD2p7OwdK9KfwZNdASWxQhW wsFxvmh2N1CVOQ6iRfSCS57M/BWUikrlyWZ3uLFu8aVR2oym7NhoT8rghivtGSWpraxVtd yGzWHAezDOkbCVCtNeLUEAwjfO5jgA8= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-65-d4FAHEBBMxWxPT5ttlFhwA-1; Wed, 04 May 2022 20:25:58 -0400 X-MC-Unique: d4FAHEBBMxWxPT5ttlFhwA-1 Received: by mail-qv1-f70.google.com with SMTP id kj4-20020a056214528400b0044399a9bb4cso2035252qvb.15 for ; Wed, 04 May 2022 17:25:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=x+VFB+RbqDxtdPfXH5fs43HvbZapK8JlXZrJfass0jo=; b=qrZUNhmqh8ZN9i7jDlTpcuPyE2Cm0WVEFeqAtyf+JdWsv6n4ivciwKVzz4N9M4yl2t p8qfEWHkappESQYNG+jPF0m5+BbMzhtEsSn46VB+Csl7NpDGkzJ4r71DuEo5d7VZjRF5 Pasiq2ex0sXGzO3hVn8BQkK4NSXtVfN7Kb/JZbva4oXgbZ3L3v10JRge+zwTfftvsxCU lm9p8J4zhR4ICWfnWBUvBXBNGqTRouFQhfIB1tqfbjk/n79fZQjW1K2xcMYdeSPmsFOg T+mjABLWYaUSV5/gxumPmdIul40PTUNzWIioDYUMJNDTXtqP+a9fx0qGfcMnFSWaVXNV iA6g== X-Gm-Message-State: AOAM533QdlFRq5tON6W6N9hJtEXRMACU6hRGm5NaXxEXuiqRv9c3WJfN 7soWdND3/JgMYTmIzszxw7RSiHoktPjqQDt6x7S3btqiTa2IFQN+qHhHCDPaCgz/8PWvV63mOXc M+Ilkycuocth/X0Zm/5frSPhZ X-Received: by 2002:a05:620a:45a5:b0:6a0:455:b829 with SMTP id bp37-20020a05620a45a500b006a00455b829mr7166824qkb.450.1651710358148; Wed, 04 May 2022 17:25:58 -0700 (PDT) X-Received: by 2002:a05:620a:45a5:b0:6a0:455:b829 with SMTP id bp37-20020a05620a45a500b006a00455b829mr7166816qkb.450.1651710357920; Wed, 04 May 2022 17:25:57 -0700 (PDT) Received: from ?IPV6:2600:1700:5610:6e80::41? ([2600:1700:5610:6e80::41]) by smtp.gmail.com with ESMTPSA id n1-20020ac81e01000000b002f39b99f679sm18727qtl.19.2022.05.04.17.25.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 May 2022 17:25:57 -0700 (PDT) Message-ID: <9b00397e-f0fd-18c2-8268-c071257443cd@redhat.com> Date: Wed, 4 May 2022 20:25:56 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH] selftests: vm: Makefile: rename TARGETS to VMTARGETS Content-Language: en-US To: Joel Savitz , linux-kernel@vger.kernel.org Cc: Andrew Morton , Shuah Khan , Sandipan Das , Dave Hansen , linux-mm@kvack.org, linux-kselftest@vger.kernel.org References: <20220504214032.1283777-1-jsavitz@redhat.com> From: Nico Pache In-Reply-To: <20220504214032.1283777-1-jsavitz@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 5/4/22 17:40, Joel Savitz wrote: > The tools/testing/selftests/vm/Makefile uses the variable TARGETS > internally to generate a list of platform-specific binary build targets > suffixed with _{32,64}. When building the selftests using its own > Makefile directly, such as via the following command run in a kernel > tree: > > # make -C tools/testing/selftests install TARGETS="vm" > > One receives an error such as the following: > > make: Entering directory '/root/linux/tools/testing/selftests' > make --no-builtin-rules ARCH=x86 -C ../../.. headers_install > make[1]: Entering directory '/root/linux' > INSTALL ./usr/include > make[1]: Leaving directory '/root/linux' > make[1]: Entering directory '/root/linux/tools/testing/selftests/vm' > make[1]: *** No rule to make target 'vm.c', needed by '/root/linux/tools/testing/selftests/vm/vm_64'. Stop. > make[1]: Leaving directory '/root/linux/tools/testing/selftests/vm' > make: *** [Makefile:175: all] Error 2 > make: Leaving directory '/root/linux/tools/testing/selftests' > > The TARGETS variable passed to tools/testing/selftests/Makefile collides > with the TARGETS used in tools/testing/selftests/vm/Makefile, so rename > the latter to VMTARGETS, eliminating the collision with no functional > change. > > Fixes: f21fda8f6453 ("selftests: vm: pkeys: fix multilib builds for > x86") > > Signed-off-by: Joel Savitz Acked-by: Nico Pache