From patchwork Fri Apr 6 13:00:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 132911 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp749510ljb; Fri, 6 Apr 2018 06:00:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Y9Hl10UQ3cDTJF63yiq+38MMMZOa47A0R8Wz59jIBnlbQ4IlUWk5jOdE+YpM+dGDm26Kr X-Received: by 10.99.102.196 with SMTP id a187mr2234372pgc.349.1523019654009; Fri, 06 Apr 2018 06:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523019654; cv=none; d=google.com; s=arc-20160816; b=OU6r8XgqjSEd+uuaA/F0fbLozcCz4MCIhQX37PveBIqAMM8MI2cDx2m19lnj6TSpWT lU4PlleY3aTaM06b661/y5/YU5X6gRzUfyY9YQ4bqY3WRwQo/TCLlgLF6q+QRE9/30PP Ip7uLLE/qD7FIgn/rMVcA3BcP1duiW3jfzU5k/BztKQ0PuzlOfCLhwx7Ji3DmpHN5L7a kzGjMWVogb3liybQsHotXMEeIIt29O4KmxDxCvqBIavSoWPApYVOit31ioxifVPCHfA5 yKi0dHls++nX0EfD9C9zUMvIg3r6D+ihfMGodtTcKkK0l97XwqEz+CYKwVPwKG+Gmq0i Eyow== 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 :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=rGls7p0DPErrdpIsA6Jr0PklK2JU1JBWJVqMWoUS9+w=; b=Bd+jbiaYYKYEMCjnVgwRzO3x7wGNmP/BboT1GiiwomilrpLZ3vtmUJh+i5EnFaR2gv sbWa7RZTDb/YsXVle1PuL6h3msdCJbEA4Y4vD6Mw+CU0EYhnautgSAdWSykMQRZMJl4n rU46LO/fYNiMeCcaRuAXRX7ymlZBmzQ5m8jI5+F656oDS+XuuzFIUUEhEq3PH7XM7oZp MOQrN7pFrP5eGKhp+jgTmRlpkOkz6cOafKyoGjSxIefAvI3mbBWb8O6YThYdL9PrNsLM GfnZNYk5FmTQV0tLXqPkLnz7a8tvs5NSzwR9zWSnpSXYdVDAoFY7Aq7wice6bGH+MQOp jDxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QBttP6Yv; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11-v6si10697318plg.173.2018.04.06.06.00.53; Fri, 06 Apr 2018 06:00:53 -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=@linaro.org header.s=google header.b=QBttP6Yv; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752500AbeDFNAu (ORCPT + 29 others); Fri, 6 Apr 2018 09:00:50 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:42121 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752128AbeDFNAs (ORCPT ); Fri, 6 Apr 2018 09:00:48 -0400 Received: by mail-lf0-f68.google.com with SMTP id q9-v6so430638lfk.9 for ; Fri, 06 Apr 2018 06:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rGls7p0DPErrdpIsA6Jr0PklK2JU1JBWJVqMWoUS9+w=; b=QBttP6YvqBvG+5aCboZSdUhz7juz+PEtJEuE7xPCG3/q/xfEozD6Go8yPOC6iOb2pH iycH8HYpcA5lPV+dBKR2KD98pkMiJiN+q3bo14yfWTx0Wlt29eSZlCdMDUSo39TiP/No my3ei9afQCCmPKEEWqXzgBGkYfkDWSDCUnhx4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rGls7p0DPErrdpIsA6Jr0PklK2JU1JBWJVqMWoUS9+w=; b=n6aByIFKHLmTOoB9Z7M+SkZTa3qWC9cXrdyk6iN3zd5/LSUOavIQcUerOgvcol5nSr kW0tNKbS9dpsiGjP0Ik2zre8Y9kKzo6xF3iOIEu2P2Xn+iCAEGhf/Layi4hrD+unuDh7 wL8rxv470Ca0wA0A8FPA/lAZdaozWtUzbfEmPi4BpKiYwhZ5WnXIR3yLTj1hhFPkwxuf IOwYQBeSUMdbgY7MCVQMVT48+F2g5Z4MxDRIxlP+Xy5KtHQMOCNLVtZs83p+6Xa6ofFB H/IvYmN4iCJBDUoz6YfBLmfcOVJmoMRX5NS4fLRpNHi8DScENpX7qyfZd1ShLK4T+0xY mwmg== X-Gm-Message-State: ALQs6tCZ1RYvg3kJpTyrN+DD1z9NuQrsFVQ+iYZwhSVuSC2e5492Y9O9 E6UkOxqdpNJP3l7sG5pWCUsEzQ== X-Received: by 2002:a19:cfc2:: with SMTP id f185-v6mr16472575lfg.75.1523019645106; Fri, 06 Apr 2018 06:00:45 -0700 (PDT) Received: from localhost (c-4c3770d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.55.76]) by smtp.gmail.com with ESMTPSA id p2sm1747178ljc.19.2018.04.06.06.00.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Apr 2018 06:00:44 -0700 (PDT) From: Anders Roxell To: tony@atomide.com, d-gerlach@ti.com Cc: santosh.shilimkar@oracle.com, rmk+kernel@armlinux.org.uk, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] drivers/memory: can't open emif-asm-offsets.s for writing Date: Fri, 6 Apr 2018 15:00:30 +0200 Message-Id: <20180406130030.745-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.16.3 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Build failes due to that the directory isn't created before we execute the build rule. cc1: fatal error: can’t open ‘drivers/memory/emif-asm-offsets.s’ for writing: No such file or directory compilation terminated. drivers/memory/Makefile.asm-offsets:2: recipe for target 'drivers/memory/emif-asm-offsets.s' failed make[2]: *** [drivers/memory/emif-asm-offsets.s] Error 1 Makefile:1060: recipe for target 'arch/arm/mach-omap2' failed make[1]: *** [arch/arm/mach-omap2] Error 2 make[1]: *** Waiting for unfinished jobs.... Current code adds a file check before checking the dependency, in filechk it does mkdir -p $(dir $@). Fixes: 41d9d44d7258 ("ARM: OMAP2+: pm33xx-core: Add platform code needed for PM") Signed-off-by: Anders Roxell --- drivers/memory/Makefile.asm-offsets | 1 + 1 file changed, 1 insertion(+) -- 2.16.3 Acked-by: Santosh Shilimkar diff --git a/drivers/memory/Makefile.asm-offsets b/drivers/memory/Makefile.asm-offsets index 843ff60ccb5a..70d44a9ed32a 100644 --- a/drivers/memory/Makefile.asm-offsets +++ b/drivers/memory/Makefile.asm-offsets @@ -1,4 +1,5 @@ drivers/memory/emif-asm-offsets.s: drivers/memory/emif-asm-offsets.c + $(call filechk,$@) $(call if_changed_dep,cc_s_c) include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE