• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/asterisk/0005-build-ensure-target-directory-for-modules-exists.patch
Yann E. MORINYann E. MORIN committed eda25adcf8627 Nov 2017
Raw file
Source viewDiff to previous
 
1
From 933b2554a40f932571bdbdbb5217cda3e35fd61f Mon Sep 17 00:00:00 2001
2
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
3
Date: Mon, 27 Nov 2017 12:52:52 +0100
4
Subject: [PATCH] build: ensure target directory for modules exists
5
​
6
Currently, in highly-parallel builds, it is possible that installing
7
modules fails because the target directory does not exist yet.
8
​
9
We fix that by instructing $(INSTALL) to create the destination directory
10
first.
11
​
12
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
13
---
14
 Makefile.moddir_rules | 2 +-
15
 1 file changed, 1 insertion(+), 1 deletion(-)
16
​
17
diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules
18
index 59190bece9..b73153a9a5 100644
19
--- a/Makefile.moddir_rules
20
+++ b/Makefile.moddir_rules
21
@@ -110,7 +110,7 @@ clean::
22
 
23
 install:: all
24
    @echo "Installing modules from `basename $(CURDIR)`..."
25
-   @for x in $(LOADABLE_MODS:%=%.so); do $(INSTALL) -m 755 $$x "$(DESTDIR)$(ASTMODDIR)" ; done
26
+   @for x in $(LOADABLE_MODS:%=%.so); do $(INSTALL) -D -m 755 $$x "$(DESTDIR)$(ASTMODDIR)" ; done
27
 ifneq ($(findstring :,$(XMLSTARLET)$(BASH)),:)
28
    @if [ -f .moduleinfo ] ; then \
29
        declare -A DISABLED_MODS ;\
30
-- 
31
2.11.0
32
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.