Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2690138pxj; Mon, 31 May 2021 08:19:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvnNlkKO6cwmI1FWADpZvaRDf6XYnp4dVLRVkBhahXQPBJwDa/KMWIrerB6M3wYGdvtI7L X-Received: by 2002:a05:6402:b8c:: with SMTP id cf12mr25911129edb.61.1622474387925; Mon, 31 May 2021 08:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622474387; cv=none; d=google.com; s=arc-20160816; b=xeXBIefc5NPBNa4YM6nZIatGCwVelGdJBeSpXEwhCpG3OVKwZmRBQ9eFUXustT/ON7 3ltMHjrM2PdiLBAK0QIpewUl4UsY36tCA1gCWdSWZQZQFXRQ4mq1Lne3616kEXqiE7Rz ztvAYgeT/61V8fr31hNCkl6asvxujTYsyeoI6sZnJcGvo26Uzv7X2dUxdvWD0GJb6EDz Q/Ktkqf9UAt57BujokZEkCB4cL7hiiFgqxykKoS1LFytcA4bVbSKGNgzoJSr62t1yLAD yyhZvkGw9la8/CUO5xCZy7eUJS++NFsUWnKYzmJb2XLVioqqlHg49MQn77RiN9rsHJPM E2KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tFYcmhgwXNinlziccVmzfkBVervKi7x7JOKOiMKvw6k=; b=VekYgRaOPuyjGocl3EDkSPnHFPPsv5v6whdnhq2rTcUA2+Z5k9e3X7/Nt9Yu5nIDD6 ucFQVXjRv2VrhkGEJWxqjXoB3WWMQaDn8M+HJ/tL/EX7AsRuRl4yQ0fInqEeDtxfPpLf nPv5c8S5RjvkkrJlTEa/rzsbaaDpHQFx+JwTnKGbok2cOaF2vtLsxEFL6GEJig5ghdqI zjGYse0gog6TOjubK8rniw8YWH1QJwuyt/z7BvRoYtpzNwH7Wc7j/bLpEwPtwUrK0FPJ rRAgDW4Wy10LlwzSt53AVbjIO7/5fIaPxYOfoJzbp7nrhPrhB1fd3I4gTwarfoJVtM9f HLGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=agS92H5A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t2si13016368ejf.594.2021.05.31.08.19.25; Mon, 31 May 2021 08:19:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=agS92H5A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234389AbhEaPTf (ORCPT + 99 others); Mon, 31 May 2021 11:19:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:42958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233693AbhEaOPA (ORCPT ); Mon, 31 May 2021 10:15:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 67D666199F; Mon, 31 May 2021 13:42:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468556; bh=T54hkUKM1cSHJjKrhWFftd9sxcOlYm3wUo0LDqcjJUE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=agS92H5AEdKcaxHA6iA20vvsbk5Uf90sv9pfbn0LQgiPTPR8tKWY1c0Ke5UegVAZv aV30q+2cEjSWQO819TIGOFh457+ePHwwUb3xVHgDwxkf9qV3sTOOaxLaT8qkRuXJIb bqcWsNVhW6XKIp5u049n83X/yQ4/5213EQSSEPQ8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Ellerman , Shuah Khan , Sasha Levin Subject: [PATCH 5.4 035/177] selftests/gpio: Move include of lib.mk up Date: Mon, 31 May 2021 15:13:12 +0200 Message-Id: <20210531130649.146869693@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130647.887605866@linuxfoundation.org> References: <20210531130647.887605866@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Ellerman [ Upstream commit 449539da2e237336bc750b41f1736a77f9aca25c ] Move the include of lib.mk up so that in a subsequent patch we can use OUTPUT, which is initialised by lib.mk, in the definition of the GPIO variables. Signed-off-by: Michael Ellerman Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/testing/selftests/gpio/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/gpio/Makefile b/tools/testing/selftests/gpio/Makefile index 1963beaf5119..0b739bb4f2ad 100644 --- a/tools/testing/selftests/gpio/Makefile +++ b/tools/testing/selftests/gpio/Makefile @@ -13,6 +13,9 @@ TEST_PROGS := gpio-mockup.sh TEST_FILES := gpio-mockup-sysfs.sh TEST_GEN_PROGS_EXTENDED := gpio-mockup-chardev +KSFT_KHDR_INSTALL := 1 +include ../lib.mk + GPIODIR := $(realpath ../../../gpio) GPIOOBJ := gpio-utils.o @@ -21,9 +24,6 @@ override define CLEAN $(MAKE) -C $(GPIODIR) OUTPUT=$(GPIODIR)/ clean endef -KSFT_KHDR_INSTALL := 1 -include ../lib.mk - $(TEST_GEN_PROGS_EXTENDED): $(GPIODIR)/$(GPIOOBJ) $(GPIODIR)/$(GPIOOBJ): -- 2.30.2