diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/crda/crda-3.13/crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch')
| -rw-r--r-- | meta-networking/recipes-connectivity/crda/crda-3.13/crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/crda/crda-3.13/crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch b/meta-networking/recipes-connectivity/crda/crda-3.13/crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch new file mode 100644 index 0000000000..36464004dc --- /dev/null +++ b/meta-networking/recipes-connectivity/crda/crda-3.13/crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From: "John W. Linville" <linville@tuxdriver.com> | ||
| 2 | Date: Fri, 14 Feb 2014 13:58:44 -0500 | ||
| 3 | Subject: [PATCH] crda: Add DESTDIR support in install-libreg* rules in Makefile | ||
| 4 | Origin: https://git.kernel.org/?p=linux/kernel/git/mcgrof/crda.git/commit?id=2cabb2588da56735369131b709f191453c080be0 | ||
| 5 | |||
| 6 | Upstream-Status: Backport | ||
| 7 | |||
| 8 | Signed-off-by: John W. Linville <linville@tuxdriver.com> | ||
| 9 | Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> | ||
| 10 | --- | ||
| 11 | Makefile | 8 ++++---- | ||
| 12 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/Makefile b/Makefile | ||
| 15 | index 0b2f0d7..1f25509 100644 | ||
| 16 | --- a/Makefile | ||
| 17 | +++ b/Makefile | ||
| 18 | @@ -120,13 +120,13 @@ $(LIBREG): regdb.h reglib.h reglib.c | ||
| 19 | |||
| 20 | install-libreg-headers: | ||
| 21 | $(NQ) ' INSTALL libreg-headers' | ||
| 22 | - $(Q)mkdir -p $(INCLUDE_DIR) | ||
| 23 | - $(Q)cp *.h $(INCLUDE_DIR)/ | ||
| 24 | + $(Q)mkdir -p $(DESTDIR)/$(INCLUDE_DIR) | ||
| 25 | + $(Q)cp *.h $(DESTDIR)/$(INCLUDE_DIR)/ | ||
| 26 | |||
| 27 | install-libreg: | ||
| 28 | $(NQ) ' INSTALL libreg' | ||
| 29 | - $(Q)mkdir -p $(LIBDIR) | ||
| 30 | - $(Q)cp $(LIBREG) $(LIBDIR)/ | ||
| 31 | + $(Q)mkdir -p $(DESTDIR)/$(LIBDIR) | ||
| 32 | + $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/ | ||
| 33 | $(Q)ldconfig | ||
| 34 | |||
| 35 | %.o: %.c regdb.h $(LIBREG) | ||
