Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp678578ybv; Thu, 13 Feb 2020 07:37:55 -0800 (PST) X-Google-Smtp-Source: APXvYqwOM6wSZRjQgRZwOQjhwDPx2X9DwP+zHfSWwnHOxkq5SbYDf+p0o8FyPOenGdknY710Su5L X-Received: by 2002:a9d:760d:: with SMTP id k13mr13089381otl.42.1581608275736; Thu, 13 Feb 2020 07:37:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581608275; cv=none; d=google.com; s=arc-20160816; b=uitZXS72CVw50bO+2oq+n4VLJvPxpRTabtN1gcN48TX3E7vuphXyAP3jDaa4ZIomqK qwBbWgxIC5J3GAnRVswU1sIZsf8yFSTOg7LVBBRbhbMnrGHJAbgMj/48cOjM4b5783MX i4T0FUuazgC+KIoo2A4cSYtLaeo7KZxdZKCFmzCSN6JqifvaPLQTOB02Sc8X/hVl1T31 noPvh3pZpTe3ktvl5vBSyacYeYye2TzCyY1Gn6Qov8XxrP9mUE6bdJpVXR8POSvib3hA HoTtKuzn5VS0BUfablrS4Mt7NfMRirYUrVNpM8aj5OqBEGeH66FxWDmtw62jv1WRtR/Q aB8Q== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=T+TfimCF10hEU61TjpUYBEpR6NHcq7MBfkUw2URLP1s=; b=GHEVi5rOwGxDHMsrpNzYRdny92fSsZkxmXeZ+6uOvWLJyMeWULHvxtlHo3FWSsqU+/ uvZPLNZLzezmMmBygM8zu7Nmk6yWpCqkay3xDDUiLE21jz6JXApug/sZJXXagxvjXs98 g4KCC8Zr7UQ5LOkZe4matUGhFL+4WyznvvOZ8kIWkzPFR0tKKwq0hqebkuEiexqJJ/Zr kbVSnuLHcKk6TwfktYZfch/Mswl2hMSGUsnqsOGb93w5zvPS+0zK7OcsLb+OpLDfufS8 vp97+Nx91RYe8OpD/MMY3okHzLlmTDwVRmVvTEinfVgrqOlaTjzyWUFAWL5ARWH04Ku+ EaNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QEbzyKtk; 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 z21si1210929oti.199.2020.02.13.07.37.42; Thu, 13 Feb 2020 07:37:55 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=QEbzyKtk; 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 S2387831AbgBMP3W (ORCPT + 99 others); Thu, 13 Feb 2020 10:29:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:45638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387604AbgBMP0f (ORCPT ); Thu, 13 Feb 2020 10:26:35 -0500 Received: from localhost (unknown [104.132.1.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2F18824676; Thu, 13 Feb 2020 15:26:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581607595; bh=YWwsiAPRyvw4xteGMCEmiUmKRJ6fxQY1oH9OoFfKU2E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QEbzyKtkpRmj+VmD2hccG0nQRRmL8Vs1AUXtlo9bMNUjhEegr4VhLy1Fy9c2BH8r5 RPXTN+ooYtAVYNxV69fskCjD+qcmBCPYg7q08Krp5V+ZHuLXaydi9EjhPkFQTHz74D I9iISeWi8n9mWmJpHYL7iugnvov6QYRXyIWz5cPM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Zhengyuan Liu , "Rafael J. Wysocki" Subject: [PATCH 4.19 28/52] tools/power/acpi: fix compilation error Date: Thu, 13 Feb 2020 07:21:09 -0800 Message-Id: <20200213151821.592152513@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200213151810.331796857@linuxfoundation.org> References: <20200213151810.331796857@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhengyuan Liu commit 1985f8c7f9a42a651a9750d6fcadc74336d182df upstream. If we compile tools/acpi target in the top source directory, we'd get a compilation error showing as bellow: # make tools/acpi DESCEND power/acpi DESCEND tools/acpidbg CC tools/acpidbg/acpidbg.o Assembler messages: Fatal error: can't create /home/lzy/kernel-upstream/power/acpi/\ tools/acpidbg/acpidbg.o: No such file or directory ../../Makefile.rules:26: recipe for target '/home/lzy/kernel-upstream/\ power/acpi/tools/acpidbg/acpidbg.o' failed make[3]: *** [/home/lzy/kernel-upstream//power/acpi/tools/acpidbg/\ acpidbg.o] Error 1 Makefile:19: recipe for target 'acpidbg' failed make[2]: *** [acpidbg] Error 2 Makefile:54: recipe for target 'acpi' failed make[1]: *** [acpi] Error 2 Makefile:1607: recipe for target 'tools/acpi' failed make: *** [tools/acpi] Error 2 Fixes: d5a4b1a540b8 ("tools/power/acpi: Remove direct kernel source include reference") Signed-off-by: Zhengyuan Liu Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- tools/power/acpi/Makefile.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/power/acpi/Makefile.config +++ b/tools/power/acpi/Makefile.config @@ -18,7 +18,7 @@ include $(srctree)/../../scripts/Makefil OUTPUT=$(srctree)/ ifeq ("$(origin O)", "command line") - OUTPUT := $(O)/power/acpi/ + OUTPUT := $(O)/tools/power/acpi/ endif #$(info Determined 'OUTPUT' to be $(OUTPUT))