From patchwork Tue Oct 8 10:01:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 175469 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5480919ill; Tue, 8 Oct 2019 03:02:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3omiJNjV6og6njpTPR0UZ8OZs7QqCHpy0xb7XtLcZluu10vuuSBUJwjR5lqkVw5cxO5T2 X-Received: by 2002:a17:906:9703:: with SMTP id k3mr27582336ejx.159.1570528922499; Tue, 08 Oct 2019 03:02:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570528922; cv=none; d=google.com; s=arc-20160816; b=Z9LwxwBEADTIbxelvQPT2mKvatbtyKP5Aijbpl3G5R6uRARNDOhHddQUXD3uAoJa2K UdFvKKCuRI6EN6JUx6ifnknNKqC0nlr6jP8HK8PXSLwaUGdpp4XGk8FlrzY0+rI+8JfG ZU2Br+pGo8pD5NqYxjEmbemZadgT18MjpTa2sss2O0ukhcnw+gg0DL1SxdKqbHoojdJN AM2vkOGzZ1HITal/uHDR7I8zVltu/q8ETepEOWmbAFG3o3EeOok8ugzmOLDY6+EMCf/d GWn/ECx3g9y5SWbUN0agQXMn4vP0kqjKOfhZKDOdkikAtVDpUwkI0v6BQUpLezHNfnhG /lKA== 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=DfabExpNYxiSgZ0gAUihY5IXQSRpa0ndnyt+2X8pJlI=; b=ZtI7qa9da71I92E95O4DbwUJ2vt0GHm4mxKdC+18ZF7gxppAyOcfU5Ne+rDwqwfO7Q 2PCWnfvUuGML6FSGDdFVO+IuD7TWacKAD8+JBUHvN4DVNqdaMJHryVDzxpxcSkI06SiY AJfdvZgNrHdR3uJ/Ew1tllyWXuq9FK9OTATlwoXh3XT7BW/Z75AltRPJ8VZ7oqvZVowD Zj8U1IeCKAzwwgpq7FADBK4AyvqxwoWYvL7KdLKAoOT7hWNS4psGwItQ+7V9nrDqdZxt 4n2Esg7A1jz5wNy/fHDKj8eB3ZIMq4rBW2AaqAq/ZUlX7i8EP7y14rcCy9FbnWmpKxuo p6Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=QtVQ5kYa; 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 o14si7203325ejc.405.2019.10.08.03.02.02; Tue, 08 Oct 2019 03:02:02 -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=QtVQ5kYa; 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 S1730177AbfJHKCB (ORCPT + 1 other); Tue, 8 Oct 2019 06:02:01 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:36337 "EHLO mail-wr1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730180AbfJHKCB (ORCPT ); Tue, 8 Oct 2019 06:02:01 -0400 Received: by mail-wr1-f43.google.com with SMTP id y19so18675210wrd.3 for ; Tue, 08 Oct 2019 03:01:59 -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=DfabExpNYxiSgZ0gAUihY5IXQSRpa0ndnyt+2X8pJlI=; b=QtVQ5kYaJZhKjB1G/ypllTrJpAQDL6wmYIBQXpkaypIykZTfErX9wnuNK2S17DR/Gd iM0JUpOAqrGAUvbJ6NSk78jkhRXchn9j9ANyNOi+h/AElgzXUmHNgqeoVdw1aQWOwl6e fon4qeuHqVk6KGQ43SMFnQxG1OHaMTqS4oC6V79sh9RNTdOZ2JCGMEgYH4RrgNilbpav OWkbsfdoy+IE7l2dGIrRuNcxmSVrSr4MV2x2bgm+Ootf9djuV1QwqqA6e5OetO/qUkwp Q4Kj5whb9yruxYPIr5T89wFbNwihn1pilGj0ggsnZD1tlz9DGagTPB6OGRKuUTL4E0dZ /wLw== 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=DfabExpNYxiSgZ0gAUihY5IXQSRpa0ndnyt+2X8pJlI=; b=NQ/jVfh0p5rc4n/eiTNAGfZ5CzyQ2pfYdv+lhYcd9xswfRX0DIDov99IRC21aoh5v/ ygOoqQQHAFuYmCuwyN400IDr78hooyxGFT2awSOhqFWHEMERAUidV3QN9SxVyFQmGYuT og8mDDr6qk0h9ZQsuzryow5yi8qohkCmqnB1W7U5kKfmUMk8oPEI1orbzang9wkiQWoR kiazsn0helSc6Csxlbs5gQ+f4+x101JcJM1fN24PwU2RME6vfF9VuQdzOFejhYu/xtMV qlaKk4/SgoBqkYifeLG5eG7KD/J9z7dD5EThEcA+rWw4gM0b+MmcedsVrrTmWoc/UxYJ JJxA== X-Gm-Message-State: APjAAAXZcxaplGaN6NXKBRY49Tmv7G+c0t7jQHGx/vrV+Zx5uIgRPBSH 5kXONmsjc0Bt/ZxQMXNJceNKrbgzzSM= X-Received: by 2002:a5d:4b47:: with SMTP id w7mr19937141wrs.7.1570528918419; Tue, 08 Oct 2019 03:01:58 -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 f3sm20680040wrq.53.2019.10.08.03.01.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 03:01:57 -0700 (PDT) From: Ross Burton To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v2] Makefile.am: add missing mkdir in rules generation Date: Tue, 8 Oct 2019 11:01:56 +0100 Message-Id: <20191008100156.3813-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 tools/*.rules are generated before the target directory has been implicitly created. Solve this by creating the directory before writing into it. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/Makefile.am b/Makefile.am index 2ac28b23d..e7bcd2366 100644 --- a/Makefile.am +++ b/Makefile.am @@ -589,6 +589,7 @@ src/builtin.h: src/genbuiltin $(builtin_sources) $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@ tools/%.rules: + $(AM_V_at)$(MKDIR_P) tools $(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@ $(lib_libbluetooth_la_OBJECTS): $(local_headers)