Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1952671ybv; Fri, 14 Feb 2020 08:47:33 -0800 (PST) X-Google-Smtp-Source: APXvYqz/97nmA+JpU2wuVc9LO2FDPNok6FpAj6yN+Wql4lBPk6nCSoMHwNWdm/KugXklrbuj7Xl4 X-Received: by 2002:a9d:6b84:: with SMTP id b4mr3056078otq.190.1581698853405; Fri, 14 Feb 2020 08:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581698853; cv=none; d=google.com; s=arc-20160816; b=VKo86SSQpF4cuM9ceIrj3etaOOD+O90s4e589OdS+hT+/WlxKbg5w/Bt3w5g0goGSY eZDkrnuoU0IpyCTvEYpekvRgqkFwbanAfUbyId7hMv6Ya5bhZvnA2lGNK1vQ4vgbq0Q5 zzK/UniGZKAF8MYJbXY2NlUbM3x9adPC58OojLMIL7J+svNqlop0nwf/Pk/E9P50XQS1 j5k5PO0FkSyp5TfuWHTcZjU+ghcGCCQLv0tccX7TEpgN0xS8uHs8NwH5H4LeBHszIth5 Fwq+f8+izaAmuCo3mgMC+VCrCWldpRg5Og6rf3SQG9ZjT13cWOpAl6aAqa67613akL8P /EhA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fqoccpZrkUuY959wxxASk314WbMoUJnmRJom+pTYm2A=; b=k5SeiHMFKBK2EfdQ8gPE+S95JdiHE1xmqcZgphEacHmL7T8tVvGGPx6dTAUEn8swaJ QWdP/bCjUU21k1vRm1Fdw6K6tcEL7KYlvvPF1UScsSZDb4iArJRRLiWBP/mB7IqHto3j OnAjfKpKjG0BZ6NQIZYegJcYJWfd2PVpfVsI1fhWW8FCCF48dJah2ymvqNyhQKgYg+Pe d9HwSgowbNII60MLIozUUfMU7Yx/KIzzscRlAeTwF2IDUZUBZuhk/E2QbaECdPJoZYUN 5VT5Wfb5P0KPav3Tm3OnI3DproiNFjcYBexNu1uiT28+Ur7slvf2KknzmyT3lmb6+7XZ ICfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t+n+GYrJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194si2901061oii.2.2020.02.14.08.47.21; Fri, 14 Feb 2020 08:47:33 -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=t+n+GYrJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393861AbgBNQqg (ORCPT + 99 others); Fri, 14 Feb 2020 11:46:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:56092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392947AbgBNQV3 (ORCPT ); Fri, 14 Feb 2020 11:21:29 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EF48A246BA; Fri, 14 Feb 2020 16:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581697288; bh=ftB5Z6b5r/RLIwz3EN0MwqoxY3tOGyZahjT6k1BwxAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t+n+GYrJHJk3n83cynVFggCFQJya0hLFoG6ZVAn1gUQwjPGNHZQ5L2vBOQNBiNf0k ZxdulhorJrp6p8twNUxEHu4BWkZRZsBrwnRIoqXl7EORNaGTWvaZbdVUGFZiSMnF1l ArSh4rz2mKxkNditVTziWKcIejyM0xWSRkPyYLNI= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Zhengyuan Liu , "Rafael J . Wysocki" , Sasha Levin , linux-acpi@vger.kernel.org, devel@acpica.org Subject: [PATCH AUTOSEL 4.9 005/141] tools/power/acpi: fix compilation error Date: Fri, 14 Feb 2020 11:19:05 -0500 Message-Id: <20200214162122.19794-5-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200214162122.19794-1-sashal@kernel.org> References: <20200214162122.19794-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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 [ Upstream commit 1985f8c7f9a42a651a9750d6fcadc74336d182df ] 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: Sasha Levin --- tools/power/acpi/Makefile.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/acpi/Makefile.config b/tools/power/acpi/Makefile.config index a1883bbb01447..fb5559f9819af 100644 --- a/tools/power/acpi/Makefile.config +++ b/tools/power/acpi/Makefile.config @@ -18,7 +18,7 @@ include $(srctree)/../../scripts/Makefile.include OUTPUT=$(srctree)/ ifeq ("$(origin O)", "command line") - OUTPUT := $(O)/power/acpi/ + OUTPUT := $(O)/tools/power/acpi/ endif #$(info Determined 'OUTPUT' to be $(OUTPUT)) -- 2.20.1