Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 73fdc58ca4eb9e2f24d854b3af3a4e5daac5a33e Mon Sep 17 00:00:00 2001 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 2 | From: Ting Liu <b28495@freescale.com> |
| 3 | Date: Fri, 22 Nov 2013 15:20:08 +0800 |
| 4 | Subject: [PATCH] use base_libdir instead of hardcoded /lib |
| 5 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 6 | Upstream Status: Inappropriate [configuration] |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 7 | |
| 8 | Signed-off-by: Ting Liu <b28495@freescale.com> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 9 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | --- |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 11 | src/Makefile | 4 ++-- |
| 12 | 1 file changed, 2 insertions(+), 2 deletions(-) |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 13 | |
| 14 | diff --git a/src/Makefile b/src/Makefile |
| 15 | index c7a8c79..c7e4e3c 100644 |
| 16 | --- a/src/Makefile |
| 17 | +++ b/src/Makefile |
| 18 | @@ -143,10 +143,10 @@ install-target: |
| 19 | if [ ! -d $(BASE) ]; then mkdir $(BASE); fi |
| 20 | if [ ! -d $(BASE)/bin ]; then mkdir $(BASE)/bin; fi |
| 21 | if [ ! -d $(BASE)/include ]; then mkdir $(BASE)/include; fi |
| 22 | - if [ ! -d $(BASE)/lib ]; then mkdir $(BASE)/lib; fi |
| 23 | + if [ ! -d $(BASE)$(base_libdir) ]; then mkdir $(BASE)$(base_libdir); fi |
| 24 | cp $(EXES) $(BASE)/bin |
| 25 | cp $(INCS) $(BASE)/include |
| 26 | - cp $O/lmbench.a $(BASE)/lib/libmbench.a |
| 27 | + cp $O/lmbench.a $(BASE)$(base_libdir) |
| 28 | cd ../doc; env MAKEFLAGS="$(MAKEFLAGS)" make CC="${CC}" OS="${OS}" BASE="$(BASE)" install |
| 29 | |
| 30 | |