| From: Ben Hutchings <ben@decadent.org.uk> |
| Date: Sat, 23 Aug 2014 12:27:34 -0700 |
| Subject: crda: Do not run ldconfig if DESTDIR is set |
| |
| Upstream-Status: Backport [http://www.spinics.net/lists/linux-wireless/msg126028.html] |
| |
| Signed-off-by: Ben Hutchings <ben@decadent.org.uk> |
| Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> |
| |
| Rebase patch for crda 4.15. |
| |
| Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| |
| Makefile | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/Makefile b/Makefile |
| index 6ca26f3..528a14e 100644 |
| --- a/Makefile |
| +++ b/Makefile |
| @@ -127,7 +127,9 @@ install-libreg: |
| $(NQ) ' INSTALL libreg' |
| $(Q)mkdir -p $(DESTDIR)/$(LIBDIR) |
| $(Q)$(INSTALL) -m 644 $(LIBREG) $(DESTDIR)/$(LIBDIR)/ |
| +ifndef DESTDIR |
| $(Q)ldconfig |
| +endif |
| |
| %.o: %.c regdb.h $(LIBREG) |
| $(NQ) ' CC ' $@ |