Received: by 10.213.65.68 with SMTP id h4csp602310imn; Fri, 6 Apr 2018 06:02:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx49ERQladpb1/rdT1zyIffeufsRZ5kg7oWTGrBTfEUtFrtk/VL68O+6kzIkmXLFReArjH2WU X-Received: by 10.98.36.76 with SMTP id r73mr20503294pfj.108.1523019762549; Fri, 06 Apr 2018 06:02:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523019762; cv=none; d=google.com; s=arc-20160816; b=u+l2XM8YT2YmXKeH6aNLx/0QRoY2FiTUbudE7PeWicWsplXpGA3X7J7gVEDHbgPfzu sJdAY0w6a4yau7EoCvWZxnQPK1wprL/vhWNBfVAVz9Q+eSyTMIHBIpjJsvbX+jV9+Nzb HSQ7X6FyEnaRsm6lByEYj/6YsNhxZ4LH0NJnHDLmJCLx1HLxKulLmR2yqjSqxZq3TDZl /Wi8mS8Ddd3TC0sgk1fqU0du/FpR7Gqkk3v+jPHT6KNpOJzGOiIOWKax9MFf1JzbZUOY ug3cWX8CfFUdOs0DYA0NYbLc2FW7M62cI9EwdOx6oaH6TImIW8ddS4DkSn1u8eWxlx80 xQog== 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 n3si7942296pfi.302.2018.04.06.06.02.28; Fri, 06 Apr 2018 06:02:42 -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 S1752489AbeDFNAu (ORCPT + 99 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 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 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(+) 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 -- 2.16.3