• 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/fltk/fltk-1.1.7-bail-out-on-error.patch
Thomas PetazzoniThomas Petazzoni committed 584921cb87b21 May 2010
Raw file
Source viewDiff to previous
 
1
When a submake fails, the build of FLTK was stopping, but the main
2
make was returning 0. Therefore, Buildroot was going on with the build
3
of the other components, even though the build of FLTK failed.
4
​
5
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6
​
7
Index: fltk-1.1.7/Makefile
8
===================================================================
9
--- fltk-1.1.7.orig/Makefile    2010-05-21 15:52:20.000000000 +0200
10
+++ fltk-1.1.7/Makefile 2010-05-21 15:52:43.000000000 +0200
11
@@ -32,7 +32,7 @@
12
 all: makeinclude
13
    for dir in $(DIRS); do\
14
        echo "=== making $$dir ===";\
15
-       (cd $$dir; $(MAKE) $(MFLAGS)) || break;\
16
+       (cd $$dir; $(MAKE) $(MFLAGS)) || exit 1;\
17
    done
18
 
19
 install: makeinclude
20
@@ -42,7 +42,7 @@
21
    -chmod 755 $(DESTDIR)$(bindir)/fltk-config
22
    for dir in FL $(DIRS); do\
23
        echo "=== installing $$dir ===";\
24
-       (cd $$dir; $(MAKE) $(MFLAGS) install) || break;\
25
+       (cd $$dir; $(MAKE) $(MFLAGS) install) || exit 1;\
26
    done
27
 
28
 install-desktop: makeinclude
29
@@ -54,7 +54,7 @@
30
    $(RM) $(DESTDIR)$(bindir)/fltk-config
31
    for dir in FL $(DIRS); do\
32
        echo "=== uninstalling $$dir ===";\
33
-       (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || break;\
34
+       (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || exit 1;\
35
    done
36
 
37
 uninstall-desktop: makeinclude
38
@@ -65,14 +65,14 @@
39
 depend: makeinclude
40
    for dir in $(DIRS); do\
41
        echo "=== making dependencies in $$dir ===";\
42
-       (cd $$dir; $(MAKE) $(MFLAGS) depend) || break;\
43
+       (cd $$dir; $(MAKE) $(MFLAGS) depend) || exit 1;\
44
    done
45
 
46
 clean:
47
    -$(RM) core *.o
48
    for dir in $(DIRS); do\
49
        echo "=== cleaning $$dir ===";\
50
-       (cd $$dir; $(MAKE) $(MFLAGS) clean) || break;\
51
+       (cd $$dir; $(MAKE) $(MFLAGS) clean) || exit 1;\
52
    done
53
 
54
 distclean: clean
  • 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.