]> git.ipfire.org Git - ipfire-3.x.git/blame - crda/patches/crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch0
crda: Update to 3.13 (wireless-regdb 2014.06.13)
[ipfire-3.x.git] / crda / patches / crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch0
CommitLineData
efba80b6
MT
1From 79f5cb8d130a635e0ee3eeb6a061a31d6bd7286e Mon Sep 17 00:00:00 2001
2From: "John W. Linville" <linville@tuxdriver.com>
3Date: Fri, 14 Feb 2014 13:39:14 -0500
4Subject: [PATCH] crda: Add DESTDIR support in install-libreg* rules in
5 Makefile
6
7Signed-off-by: John W. Linville <linville@tuxdriver.com>
8---
9 Makefile | 8 ++++----
10 1 file changed, 4 insertions(+), 4 deletions(-)
11
12diff --git a/Makefile b/Makefile
13index 4a351c645bf4..807a53819453 100644
14--- crda-3.13/Makefile
15+++ crda-3.13/Makefile
16@@ -119,13 +119,13 @@ $(LIBREG): regdb.h reglib.h reglib.c
17
18 install-libreg-headers:
19 $(NQ) ' INSTALL libreg-headers'
20- $(Q)mkdir -p $(INCLUDE_DIR)
21- $(Q)cp *.h $(INCLUDE_DIR)/
22+ $(Q)mkdir -p $(DESTDIR)/$(INCLUDE_DIR)
23+ $(Q)cp *.h $(DESTDIR)/$(INCLUDE_DIR)/
24
25 install-libreg:
26 $(NQ) ' INSTALL libreg'
27- $(Q)mkdir -p $(LIBDIR)
28- $(Q)cp $(LIBREG) $(LIBDIR)/
29+ $(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
30+ $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
31 $(Q)ldconfig
32
33 %.o: %.c regdb.h $(LIBREG)
34--
351.8.5.3
36