• 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/ejabberd/0001-remove-make-targets-for-deps.patch
Frank HunlethFrank Hunleth committed c3deb95339122 Feb 2016
Raw file
Source viewDiff to previous
 
1
From 21d1f05a8882657c151397d0e4723535402f1757 Mon Sep 17 00:00:00 2001
2
From: Philipp Huebner <debalance@debian.org>
3
Date: Wed, 20 Jan 2016 10:22:57 -0500
4
Subject: [PATCH] remove make targets for deps
5
​
6
Without this patch, dependencies would be downloaded and compiled
7
using rebar at build time.
8
​
9
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
10
---
11
 Makefile.in | 26 +++-----------------------
12
 1 file changed, 3 insertions(+), 23 deletions(-)
13
​
14
diff --git a/Makefile.in b/Makefile.in
15
index 08cd837..2a6457c 100644
16
--- a/Makefile.in
17
+++ b/Makefile.in
18
@@ -77,26 +77,11 @@ else
19
   INIT_USER=$(INSTALLUSER)
20
 endif
21
 
22
-all: deps src
23
+all: src
24
 
25
-deps: deps/.got
26
-
27
-deps/.got:
28
-   rm -rf deps/.got
29
-   rm -rf deps/.built
30
-   $(REBAR) get-deps && :> deps/.got
31
-
32
-deps/.built: deps/.got
33
-   $(REBAR) compile && :> deps/.built
34
-
35
-src: deps/.built
36
+src:
37
    $(REBAR) skip_deps=true compile
38
 
39
-update:
40
-   rm -rf deps/.got
41
-   rm -rf deps/.built
42
-   $(REBAR) update-deps && :> deps/.got
43
-
44
 xref: all
45
    $(REBAR) skip_deps=true xref
46
 
47
@@ -152,16 +137,13 @@ $(foreach file,$(DEPS_FILES_FILTERED) $(MAIN_FILES),$(eval $(call COPY_template,
48
 $(sort $(call TO_DEST,$(MAIN_DIRS) $(DEPS_DIRS))):
49
    $(INSTALL) -d $@
50
 
51
-$(call TO_DEST,deps/p1_pam/priv/bin/epam): $(LIBDIR)/%: deps/p1_pam/priv/bin/epam $(call TO_DEST,deps/p1_pam/priv/bin/)
52
-   $(INSTALL) -m 750 $(O_USER) $< $@
53
-
54
 $(call TO_DEST,priv/sql/lite.sql): sql/lite.sql $(call TO_DEST,priv/sql)
55
    $(INSTALL) -m 644 $< $@
56
 
57
 $(call TO_DEST,priv/bin/captcha.sh): tools/captcha.sh $(call TO_DEST,priv/bin)
58
    $(INSTALL) -m 750 $(O_USER) $< $@
59
 
60
-copy-files-sub2: $(call TO_DEST,$(DEPS_FILES) $(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql)
61
+copy-files-sub2: $(call TO_DEST,$(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql)
62
 
63
 endif
  • 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.