From patchwork Tue Oct 8 09:58:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 175467 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5477321ill; Tue, 8 Oct 2019 02:58:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyY+3csZKbId3FmX3lPaLKt5k8yUIwnG/KGlvMCeKvfzBSj7zZs77WST+EzUcClGJ+dTkCl X-Received: by 2002:a17:906:3281:: with SMTP id 1mr28228340ejw.181.1570528720458; Tue, 08 Oct 2019 02:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570528720; cv=none; d=google.com; s=arc-20160816; b=w60lQ+YdFvu64QWC1lMMoD6XO2KVV9I2Dpv9nmVprls6j4DphvTfgoWhYM8sbSaW6a qzIWMMUgv+mWZbEcMsdRG0GztavDG4HnYdhK9WK8v/rvv3piD2Su4P7uNbVgN9WCt1e3 c/CDrUs3UBxNaaAfXK8UZKqa9fi5BZtIMIH+QKB2zOdltGI1fetsGASI5ruEzTNtpcbg glYVBHuGZj2JmhN/RW3SObepLrpqPEWgt1PyrxHVaW2EWNEJO/9O7EFFjPyyHADd00ao kOheQtOu6WO1LSfePrRLkTLXg27atqQGi1qa8P+q1B3Vk0UtY7Fs8iGZbzWVloMqTVD2 mD6g== 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:to:from:dkim-signature; bh=1kwRTRzQbtkXTMXAtmm6XRsqFOIOoB3YH1a58jUf11I=; b=nrxDkXrjTSMJX/ViTeHz/1dl5UG15i1zOPm89/fTFeBfa0qb0PNbTYH3OHuPIfNwDX SO7jq/njNfxcOQS2t4f+PyB6EEOfgsQmOCLUHUd0uLDrxHNUw/i0DCG8+KglhCffWr1r hWDkIEZylWYBwuNtsWqXXtKIJ6qVIoG5PNi2v463OBLLu5BBxbLAVOZ05WMQ7ZoTYgss A3FlYbIEq9N12mRdST0Xn373FOFIn1XyL2XWAfWBxc7flFT+yA4O/aow++0uOuokQtau FTpe/dkKZJiakPUm2BpbOo2YXuXSohOZ8VRM3cpa2o6gASWFHBCpMuAS/DhvgnOWDQXy zwYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Qw8wCGLq; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p38si10426407edc.449.2019.10.08.02.58.40; Tue, 08 Oct 2019 02:58:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Qw8wCGLq; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730332AbfJHJ6k (ORCPT + 1 other); Tue, 8 Oct 2019 05:58:40 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:40979 "EHLO mail-wr1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730325AbfJHJ6j (ORCPT ); Tue, 8 Oct 2019 05:58:39 -0400 Received: by mail-wr1-f42.google.com with SMTP id q9so18640925wrm.8 for ; Tue, 08 Oct 2019 02:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=1kwRTRzQbtkXTMXAtmm6XRsqFOIOoB3YH1a58jUf11I=; b=Qw8wCGLq3+ryX4ahmP1aIbiMaxY10d5UXN/Cq9d+5ylNX595J8J/aosvCxcxktZy76 dhOGFy+CUG/BhM+2FdUMY1AkknhLF27h8EhILFF/GYVr+DXWTwfXqYtnbtKawZ5aCut/ bmtJ488gvSHmJ5dCpBb86345FafsRyJYvsEqN+m6RLw56S0soBudjTMAby50rSewW8zr g/Q+qvX4uLZzs33ZOtzY59ZnHr1eBBhdCtNQqbZV2ntZAqikwdF77Z9z2qgw2HF5/kZb OoILAj8x4wJriiS2Mqeh7mIuzhv/FlTdg7992GrZaedevJlFNAMWNyLPWr9RecLC8CUe W1fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=1kwRTRzQbtkXTMXAtmm6XRsqFOIOoB3YH1a58jUf11I=; b=ne6JC/xJj26ADoO1ygmTL4Qm8z6t/ws4KrdNloZ/SX58euO0j8bI8xlAb6FK90VJ7r hluZKnUnazUiIKommUhHrp8Rxk5j6VvYjgomoTWUg9W1Df2g0XnBmJYH8HA5TBCeH0te ITDum/YLQ9lxx6MEqCWq+VEHuw6fmWcOlMYp+gq8l7U4gfnnvcN04CeExVA9/kHR/obT bxkiuCcM0p/uEHQSmY/8rh5+0rlQH6NK0+dtntwiBuaGwWUycRe6RXYm9SirowYR/3V+ U1xK1uqRzojjTNQd1ZF/8yjfibE4KaY190/Ytz8yHxLOL9SigWP09Wa2eCIXPn60jzqE BfIQ== X-Gm-Message-State: APjAAAXqBK9E1SdQpw3J5mrQv5zfdqseBKWaRr8eWuu88/z4Rq3KVF/b Dx90aKMdYIbncLUYdR0HBt9qrcBO2qY= X-Received: by 2002:adf:f712:: with SMTP id r18mr6401424wrp.30.1570528717718; Tue, 08 Oct 2019 02:58:37 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id o19sm3567391wmh.27.2019.10.08.02.58.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 02:58:36 -0700 (PDT) From: Ross Burton To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ] Makefile.obexd: add missing mkdir in builtin.h generation Date: Tue, 8 Oct 2019 10:58:32 +0100 Message-Id: <20191008095832.3473-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org In parallel out-of-tree builds it's possible that obexd/src/builtin.h is generated before the target directory has been implicitly created. Solve this by creating the directory before writing into it. --- Makefile.obexd | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/Makefile.obexd b/Makefile.obexd index d36874770..de59d297b 100644 --- a/Makefile.obexd +++ b/Makefile.obexd @@ -104,6 +104,7 @@ BUILT_SOURCES += obexd/src/builtin.h obexd/src/plugin.$(OBJEXT): obexd/src/builtin.h obexd/src/builtin.h: obexd/src/genbuiltin $(obexd_builtin_sources) + $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GEN)$(srcdir)/obexd/src/genbuiltin $(obexd_builtin_modules) > $@ CLEANFILES += obexd/src/builtin.h $(builtin_files) obexd/src/obex.service