Received: by 10.192.165.156 with SMTP id m28csp241020imm; Thu, 12 Apr 2018 21:03:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx49uLnMzfh4jbQM1LmZ2MGmDD50psNlwq6nMc38fNaKQsz60vC86i9BPcxmj6LbP9B2hNDVH X-Received: by 10.99.160.25 with SMTP id r25mr2685267pge.95.1523592219890; Thu, 12 Apr 2018 21:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523592219; cv=none; d=google.com; s=arc-20160816; b=M11F0CXCEwD1B4TSmw64gndBJjpybAH0le4nmuLAy4hcrQUgQnr5vYt8ZJRBAFONXh +T3IzgTo3KZFng6Qxj+o030ppBT9HgHa+JYeqWaQrpzSekQpDbiB09D2kSSrBHTqC0WC amMsWbnLjRR+MzCcp2O235VLCy45wf4qO1OmlqBry4WOt01gEw2JaihG1hy3V8gYuRmN 2vMcSggZiWNcD+lhTlr0cNplbNEGWCupwyy17/qV3bu13sAyv1Bxn8RQDtn3pKKFmdfP VukmrNrlv9Uat0M5yttfx1LIzjWCmhbsKqq58Hp8dauFBGyqhgJ/6pP/f9+h59GrOlF5 uFYQ== 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=f3yrmKJlk8yMHY3Va1DoJnP+uJN5Ge8f9aP7cPkp1RM=; b=zHbK+MhDv+Dz0CnaTp4S+yWhNxWPIO5st5KNdMFWMF/N7x/BcY4x/1Kzv85JRv0goq eVu+pfc7W50DF2CNKcPGITmUVOdvC8PzK+Xt4SmGgSYU8yEeEckzoYjQXT+e6oB+ddwz Ua0C51HJ66QXrbGNh/p5qr6UOQgLUVguBeERAF2xLBxjsjnB+sRD0Qh5uM1TZutlSBpa /l3SeLsFhKqxywj7FI6ew/MTLZ6ow1bdvnYbKZAEmPtig4B4UYWM2FHCl4Uz0a1oZRTW /wPc/5Moz7Q8xIBYucr/zQJI/2+VtYuE1+HvKByguvushNGgIDZu+KGSXc5v++hY/npN nnlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a415P6Bj; 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 o17si3310578pge.787.2018.04.12.21.03.25; Thu, 12 Apr 2018 21:03:39 -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=a415P6Bj; 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 S1753519AbeDMDBK (ORCPT + 99 others); Thu, 12 Apr 2018 23:01:10 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:58608 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753424AbeDMDBI (ORCPT ); Thu, 12 Apr 2018 23:01:08 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3D30cZZ015782; Thu, 12 Apr 2018 22:00:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523588438; bh=Njtxi6gsqVDfd19dKteHda6k9ft2EaGDKnClh2cBXhk=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=a415P6BjnRzF+6yC8Ga/FOMNv09qhvT5kf319ZCvsA09w32h6JPFlFIu7vhcpTVOy yk7y+erTHVsIZYwn4WlijRAbdokgAGS4P0o3L6pgb26Z88V8VkopZsb099w1aKPT9v jx7xh5gNuj6Q2+9eOOvx9ZtI2L1sqwcavJG6FDhk= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3D30cUo000400; Thu, 12 Apr 2018 22:00:38 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 12 Apr 2018 22:00:37 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Thu, 12 Apr 2018 22:00:37 -0500 Received: from [128.247.59.203] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3D30bAh011385; Thu, 12 Apr 2018 22:00:37 -0500 Subject: Re: [PATCH] ARM: omap2: Fix build when using split object directories To: Masahiro Yamada , Anders Roxell CC: Linux Kernel Mailing List , Tony Lindgren , 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: <3d7e801a-7eab-7421-1dc8-b718aec33ffc@ti.com> Date: Thu, 12 Apr 2018 22:00:37 -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 Hi, 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! Alright, I agree as well, fixed in v2. Regards, Dave > > > >