Skip to content
Permalink
Browse files

This patch allows to fail plugin build

  • Loading branch information...
zyxmon committed Mar 21, 2019
1 parent 5fea567 commit 2fe26c83bf72f05e7ecde9a86e57406a3067363d
Showing with 27 additions and 0 deletions.
  1. +27 −0 package/network/services/ppp/patches/9999-fix.patch
@@ -0,0 +1,27 @@
--- a/pppd/plugins/Makefile.linux
+++ b/pppd/plugins/Makefile.linux
@@ -27,7 +27,7 @@
endif

all: $(PLUGINS)
- for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d all || exit $$?; done
+ for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d all; done

%.so: %.c
$(CC) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED) $(CFLAGS) $^
@@ -37,12 +37,12 @@
install: $(PLUGINS)
$(INSTALL) -d $(LIBDIR)
$(INSTALL) $? $(LIBDIR)
- for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d install || exit $$?; done
+ for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d install; done

clean:
rm -f *.o *.so *.a
- for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d clean || exit $$?; done
+ for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d clean; done

depend:
$(CPP) -M $(CFLAGS) *.c >.depend
- for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d depend || exit $$?; done
+ for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d depend; done

0 comments on commit 2fe26c8

Please sign in to comment.
You can’t perform that action at this time.