Received: by 10.213.65.68 with SMTP id h4csp1075367imn; Tue, 27 Mar 2018 14:21:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx48SbtyDABjlGzJ55hBsrtbo5SO9+fpMCMYq1oy+cyYZ3NXX+1aj70WHLU1HXd784Sq2now3 X-Received: by 2002:a17:902:6b85:: with SMTP id p5-v6mr948134plk.66.1522185664621; Tue, 27 Mar 2018 14:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522185664; cv=none; d=google.com; s=arc-20160816; b=bXYRmLqd1YEhFP0tDhdf83oeUj69HyxGyvqDp5qeFgSKHXgbLEdaTxJdZhygLBBIVj AO8DHK4307FI2WD0ka7k5pTvizNVPOuM3SJUEVqoxTPjZJn8aQq0i0uT3zn/eUBF2uWX O5PywtlQCCTgk77u4UB77ZaKE2Qx6i++oMhdQYJutCZ6bBzq2R8PonOCXsDvl+YMQBL6 y2NVtxbP1qjPf+/Rl86Q/iSBpj0GAcfpZKLMC57XmXy+cTfYeMx7ZQ5rPYxvlFPKBgH3 jj08/KCmgpgHovzWwHS6XxCJVlOD12jIOPyJjDJOB5OSgZ4pwl0mjIjjQFIefKVJrLoQ qQxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=0253nUXSrqsI/BjDaVG8JMJ/jrs0snI3DNOhk/VoOqs=; b=atrwRy1ZcuWr5f8xzXyG4Nwez+NwgVdgJgusWqhRlixUAAyaCnp8BjuJ6KQKfrhCq8 4scBLpaOf9dL5FXiX8M9HU7BZXsgEqw0B4Xo6boyvxWIHFPM12O38m2OalDrJNFvhuJW p2tK5lOVcwlDADBXbpA3Wm+vgtruYssMPMDZX1IEdfMbWuM1XBohJ6rxx+CftJuu7geQ Tj7k6wOSzlOPikgXaTRn23SbUrg0fjsB75Yj9Fno6+nV3j6cuL0akOkSoX864hEnDHPs cn8XBXaZMikU50UUBRYGXyo5Pvx9f63MqoNOg745YLFLTsLOLwBc0wmDgxJqQl5lisi0 xm7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8-v6si2015073plm.407.2018.03.27.14.20.48; Tue, 27 Mar 2018 14:21:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752128AbeC0VTq (ORCPT + 99 others); Tue, 27 Mar 2018 17:19:46 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:37533 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008AbeC0VTp (ORCPT ); Tue, 27 Mar 2018 17:19:45 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 80BECC141A; Tue, 27 Mar 2018 21:19:44 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTIJ4-2o83LC; Tue, 27 Mar 2018 21:19:44 +0000 (UTC) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 24D7BC0C83; Tue, 27 Mar 2018 21:19:36 +0000 (UTC) Subject: Re: [PATCH v2 1/4] selftests/Makefile: append a slash to env variable OUTPUT To: changbin.du@intel.com Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan , Shuah Khan References: <1522120294-24926-1-git-send-email-changbin.du@intel.com> <1522120294-24926-2-git-send-email-changbin.du@intel.com> From: Shuah Khan Message-ID: Date: Tue, 27 Mar 2018 15:19:26 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1522120294-24926-2-git-send-email-changbin.du@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/26/2018 09:11 PM, changbin.du@intel.com wrote: > From: Changbin Du > > The tools/build/Makefile.build use 'OUTPUT' variable as below example: > objprefix := $(subst ./,,$(OUTPUT)$(dir)/) > > So it requires the 'OUTPUT' already has a slash at the end. > > This patch can kill below odd paths: > make[3]: Entering directory '/home/changbin/work/linux/tools/gpio' > CC /home/changbin/work/linux/tools/testing/selftests/gpiolsgpio.o > CC /home/changbin/work/linux/tools/testing/selftests/gpiogpio-utils.o > LD /home/changbin/work/linux/tools/testing/selftests/gpiolsgpio-in.o > > A correct path should be: > /home/changbin/work/linux/tools/testing/selftests/gpio/lsgpio.o > > Signed-off-by: Changbin Du Are you seeing this when you run "make kselftest" - if gpio is the only test compile that fails, it should be fixed in gpio/Makefile, not is the common Makefile. thanks, -- Shuah