Received: by 10.192.165.156 with SMTP id m28csp1719323imm; Thu, 12 Apr 2018 02:13:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+R8Peajg2LgBgs11GQSsEK+PUWg/Pw3o9dPengqVCWPRMsz5ftDaX3qKsEA0PNglzG/dNo X-Received: by 2002:a17:902:70c4:: with SMTP id l4-v6mr133407plt.382.1523524404039; Thu, 12 Apr 2018 02:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523524404; cv=none; d=google.com; s=arc-20160816; b=FhS4KxeDV3ZXDKoPGx1cVvZWo9zKpg/aYVRJyYpvaMnhEqEhdQFiJI7/c90+A0Cji4 Ejv3yI9fPUKwRMYWiVOCzG5dHaBQ0EFn9rvYEFlLyYyNiWb954TirA3qoBu1OndqfI22 y1WMrtMxWznLmqf7Zybj+uA2BX+jKvoeZwOROTDYgU6DuceOGIVe8WscU1Nd6wF4iz85 RH6+BHMwgoLgL+qHaIIW5suS9qVVefTAtvPlAxA7nEXoqqXRKZM0Jc23lKLdr2b/dBHS ZFlwSAsSq68MfdPv8KW06uNYVcW5kPG/1WIO+cNn69yfYG4rVFZ+PrwRfyP9febBhyPv HahQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=xDvV8/RCY/EjmR7e0bbheG4zY4CuTSltxVe+vp318Vg=; b=wNbv+9MfPVjquBs1tijjPwUTg0zZJez/zQzk0ZsflJgLQXIFY7+XNnm8gjUTG1M/Us t9PBAyyx+D1ND8FnGOLROIrs63DLCWfWNNkQOfUHg5k3V3Gt6ncOI1jIdQUo5Wd++30D 2WDvj4mSYRDlobw03Oefmad1h3gdfQqZjHCsoFPASKN4LNQZQ+GqsBvUXjwiocU5FYDN pv8gEEKtCralqLgJfLiybPFF7PPIGYLVMz/z9S2qtBgX1dfUDR1qaJ0lXJelCs/vgxVU 8m/HTsk2Sog3YW/8sjY0VMrQenJfR7ICRkfKNAPga9bdUhPWwBkdq41mNT4sThFec6yw CdRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=znDCuX02; 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 v1si1948197pgt.407.2018.04.12.02.12.46; Thu, 12 Apr 2018 02:13:24 -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=@nifty.com header.s=dec2015msa header.b=znDCuX02; 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 S1752664AbeDLJJy (ORCPT + 99 others); Thu, 12 Apr 2018 05:09:54 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:42667 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546AbeDLJJx (ORCPT ); Thu, 12 Apr 2018 05:09:53 -0400 Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) (authenticated) by conssluserg-05.nifty.com with ESMTP id w3C99d7g003906; Thu, 12 Apr 2018 18:09:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com w3C99d7g003906 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1523524180; bh=xDvV8/RCY/EjmR7e0bbheG4zY4CuTSltxVe+vp318Vg=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=znDCuX02FHu7xHNLOJd8IRtEWSjcbamEhMyjtQ3PhPeJ9y5OdDNmUQ6o/DBlYlULq FQfgEb6ODwf9FnnwYWsYvPxYkTwmmMmrCPUYdiGMTh7GtBs1pcxgpAed1bksM4dA+x soB2EQxUctmGOp0Qf+vGU+k/tbXEMXkYgzIxjDvIvVIRzPir8JhDx+SiInlK84FQbC PGfndyppgLETGt/aiIUQW1w933dHOHBJuz66zOaWDBAXhFyIcQYsvldQIjR10MbWst MSoIRpHan88jp5wJxH1ZXlw9dSohyUyFSrgOFSwfaahdMekETp6PVJ+VJMyD7Y3vtJ OTr6SoFUIz61A== X-Nifty-SrcIP: [209.85.213.48] Received: by mail-vk0-f48.google.com with SMTP id h134so2808123vke.2; Thu, 12 Apr 2018 02:09:40 -0700 (PDT) X-Gm-Message-State: ALQs6tAOR0HYgjlo0APXWo+xxQdRCNZtZZ4u8O7ErzvpqP0CRNHrVlwO l8pq/sOxjzXw0gG5tJLQ2oqIPtUFStpaSFEt2kI= X-Received: by 10.31.146.16 with SMTP id u16mr65080vkd.160.1523524179276; Thu, 12 Apr 2018 02:09:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.29.150 with HTTP; Thu, 12 Apr 2018 02:08:58 -0700 (PDT) In-Reply-To: <20180412082157.GB4002@localhost.localdomain> References: <20180411211543.7923-1-d-gerlach@ti.com> <20180412082157.GB4002@localhost.localdomain> From: Masahiro Yamada Date: Thu, 12 Apr 2018 18:08:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: omap2: Fix build when using split object directories To: Anders Roxell Cc: Dave Gerlach , Linux Kernel Mailing List , Tony Lindgren , Russell King - ARM Linux , Santosh Shilimkar , linux-arm-kernel , Linux-OMAP , Linux Kbuild mailing list , Michal Marek Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! -- Best Regards Masahiro Yamada