Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp687044ybv; Thu, 13 Feb 2020 07:46:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzW2wW39J5r9ysu8UhveaupiQZ8uXEAyADWWchGyf6+i12/G9M4T6tBkVbASXZkYBRFabnQ X-Received: by 2002:a9d:6f8f:: with SMTP id h15mr13140792otq.1.1581608797156; Thu, 13 Feb 2020 07:46:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581608797; cv=none; d=google.com; s=arc-20160816; b=zeZ9FQU4lZi/tgQNwS+fzLc110w10BJRUF2NU6phEvmz0M0dph/TfbXSajgM/s8eeO en2Bp0XlFz+jXXJlLt0OVz46vJCTyNAuTF/tyJMYvRF/qHS5hRWjGfjniEqipXGJDSML iw7HnKzJBROgrT5wYEMj91tnntN8qdpAjGreDGUB+QOtkSHDQd2vlRFvrkVi+12XinA6 MT/Pn/UX1PTHH/UPg6yalX9iKfsNWwi5UslqIwpIZrEzuoH7zEznD0ATscCbHiBvuWMQ 7LowmwkjljAdDGdBBYNd9Xg9cwhG0lWVs6224MH7uwpjLQby4akbywn65t4ZcHTTwX5k pYLQ== 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=jY2tLX5BlidxCI6FRUI1fxUo1uhxktwJIoTMfszuDKY=; b=x5cKy3Lmc26eL04uDRwLlH4n9Um0/XXOjAnE38OktsXLtIPd3ExQ6pGXNTzxGOBWO8 KG4WMIyjaqI4Z3X1lD18wDS85zsXmpwv8Y0N6FWFf0b469ZQ8KRaOLZHXmj+UyjM7HXD CcM3flzRPLql/fFyaE+EhNpP2dymZVo+b2wv4jxPOimrxXHTEYlqRFPTzb53KBkP2G3b Xd/P2+zHUwKtO4DNXPGK4611b4mULA2jbNIBPybE7DOAfI8GNVZKnRD0HRphZhkvDUDa fJj28RBrZ7FHOOLlKxJ2/YFPypWvbgPPMn3MvnQ54kTtbkj4i2CU1m3w13bQZ3YhU31r u/Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=njgVF+Tz; 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 z15si1218384oih.41.2020.02.13.07.46.24; Thu, 13 Feb 2020 07:46:37 -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=njgVF+Tz; 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 S1729568AbgBMPpw (ORCPT + 99 others); Thu, 13 Feb 2020 10:45:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:50316 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728976AbgBMP1Y (ORCPT ); Thu, 13 Feb 2020 10:27:24 -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 ABC8824681; Thu, 13 Feb 2020 15:27:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581607643; bh=6APSuzR5QQ1pD6w/up3le0id6xut3M8E7VEdJw0ul/k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=njgVF+Tz7p/k1CwqakA7gQBr3MA68JoHaKKjZNFxk85PqDOEb1puKdJKxS36jUD1x tRCb3r4B9nCx/zVs/EePwze2bY5p/Ep0wKElo9rFgROi20O31+r9jqvK4eclUFDS0+ A3uwtkpzOxT73GBEoK7m+WpfGuL1cDEmn47hWwKM= 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 5.4 51/96] tools/power/acpi: fix compilation error Date: Thu, 13 Feb 2020 07:20:58 -0800 Message-Id: <20200213151859.191189876@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200213151839.156309910@linuxfoundation.org> References: <20200213151839.156309910@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 @@ -15,7 +15,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))