Received: by 10.192.165.156 with SMTP id m28csp745756imm; Fri, 13 Apr 2018 07:09:27 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Mr+zhvFsT2m8MzAKkth2Q4qYAZVOtEnRceZo3nMHMvQ7wJPVSdVFPXOUEyMRJTX/8WaEL X-Received: by 10.99.98.198 with SMTP id w189mr3833812pgb.263.1523628567896; Fri, 13 Apr 2018 07:09:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523628567; cv=none; d=google.com; s=arc-20160816; b=uDrnoezwdpSI09ojqEcYCA+AEAdsvaYOPmEO8DcwNe8Rnq6r/3vz5JIB6OaJdDNsN2 /VHEneq2oe1lsivGVYWQc+DW+bUFcis4yYmNTIJbu+m6tvvCgnRav3K75My6cagrQ4/k 8aY8NDDD41taUl+CYQhbxkkJLngr96fdjXp/6+C5grudt3I08Fgw7eTDoknsglS5uJxb R5JYHaHje8K615uSo9KFQ2NFHcWW6yIJlTND5qqNUtWe+Y+vJDEPZna4jeaqiKV9zfQj 1IwCBYTeio96x33LXMYrJtNrV4tn+xBq265DflhvqiQWh6IgXU43ohQdXBLDZcvUsqFe 5E6A== 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:dkim-signature :arc-authentication-results; bh=G1WbU/YRyW7FPMd6ul6xQAwLF5Ul2020CQBGUrL2l/o=; b=WnrqDF39XOeCsKi5ABY6pGlgajVfGTGvMqMvwDu/Ag6c0hJotKQuWO1lX1WcvdJoX5 KpUnjh63vY5bO/U7tepAwzpseLmv85v0BWKpYFgeS7DZ8AYphQxifmrzO/X09/USk2NW 2M4WoNIceCdC8PfmEAUMOtrGxY+jf1xiHW83jt6sWMd4GkevoLQv8YOrI8jiOIb1SEl3 4Y8KAgi2qAOeEOsBqKZ9KOJycI95T/MDqANHjC7o+iy0552o9Av0NroVN5q02CSt8WGL jR9ZDEE+udL8aZErbGdB0PNiMGHMHBNEf/Vh1NrhwawHxI6uK/pJNvHzPqvkBBenducd XAxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=O0BesKp6; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k2-v6si3365378pli.539.2018.04.13.07.09.14; Fri, 13 Apr 2018 07:09:27 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=O0BesKp6; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755082AbeDMOHX (ORCPT + 99 others); Fri, 13 Apr 2018 10:07:23 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:31198 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754659AbeDMOHV (ORCPT ); Fri, 13 Apr 2018 10:07:21 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3DE6We6012992; Fri, 13 Apr 2018 09:06:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523628392; bh=bqSUlxbCD7dxU+vldDGNV7N60gsBTRKOh3yKzdFV0+8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=O0BesKp6yzle3Mbe7Ga3qNwG093y4xCiG1o9g0yd+D3HKAuvEPIYBhYmS8/i48Y77 nMaC2vPo5IHu1A43h4XUo210muTDCtTX6zbIETnHepi181ctc6lpbi4c6TlPt/Hn0b n/JVlmqIYzFTsgVg0Apm/WJMTLnPg9N9Rj1M9S0Y= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3DE6WPn003453; Fri, 13 Apr 2018 09:06:32 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 13 Apr 2018 09:06:32 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 13 Apr 2018 09:06:32 -0500 Received: from [128.247.59.203] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3DE6VQw031162; Fri, 13 Apr 2018 09:06:31 -0500 Subject: Re: [PATCH] ARM: omap2: Fix build when using split object directories To: Masahiro Yamada , Anders Roxell , Tony Lindgren CC: Linux Kernel Mailing List , Russell King - ARM Linux , Santosh Shilimkar , linux-arm-kernel , Linux-OMAP , Linux Kbuild mailing list , Michal Marek References: <20180411211543.7923-1-d-gerlach@ti.com> <20180412082157.GB4002@localhost.localdomain> From: Dave Gerlach Message-ID: <4343a047-18b1-409d-ccda-94e72ea63e2a@ti.com> Date: Fri, 13 Apr 2018 09:06:31 -0500 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: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tony, On 04/12/2018 04:08 AM, Masahiro Yamada wrote: > 2018-04-12 17:21 GMT+09:00 Anders Roxell : >> On 2018-04-11 16:15, Dave Gerlach wrote: >>> The sleep33xx and sleep43xx files should not depend on a header file >>> generated in drivers/memory. Remove this dependency and instead allow >>> both drivers/memory and arch/arm/mach-omap2 to generate all macros >>> needed in headers local to their own paths. >>> >>> This fixes an issue where the build fail will when using O= to set a >>> split object directory and arch/arm/mach-omap2 is built before >>> drivers/memory with the following error: >>> >>> .../drivers/memory/emif-asm-offsets.c:1:0: fatal error: can't open drivers/memory/emif-asm-offsets.s for writing: No such file or directory >>> compilation terminated. >>> >>> Fixes: 41d9d44d7258 ("ARM: OMAP2+: pm33xx-core: Add platform code needed for PM") >>> Acked-by: Tony Lindgren >>> Reviewed-by: Masahiro Yamada >>> Signed-off-by: Dave Gerlach >> >> Tested-by: Anders Roxell >> >> Maybe we can remove drivers/memory/Makefile.asm-offsets and move those >> changes into drivers/memory/Makefile ? > > Agree! > This is the version of this patch that we want to use, will this go through you? Regards, Dave > > >