blob: 3fd85d9e25e68d666810776ed1808e457697674e [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 15f0722bc5481cca5ba92adceab8c769112e4ea6 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com>
3Date: Mon, 24 Oct 2016 07:28:13 +0000
4Subject: [PATCH] sdparm: make sysroot work
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005
6Upstream-Status: Pending
7
8Add = before the included dir to make sysroot work
9
10Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011Signed-off-by: Dengke Du <dengke.du@windriver.com>
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012---
13 src/Makefile.am | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/Makefile.am b/src/Makefile.am
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017index 61dd9f8..42c911f 100644
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018--- a/src/Makefile.am
19+++ b/src/Makefile.am
Brad Bishop6e60e8b2018-02-01 10:27:11 -050020@@ -41,7 +41,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021 ../lib/sg_pt_common.c
22
23 if HAVE_SGUTILS
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024-INCLUDES = -I/scsi
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025+INCLUDES = -I=@includedir@/scsi
26 sdparm_LDADD = @GETOPT_O_FILES@ @os_libs@ @SGUTILS_LIBS@
27 sdparm_DEPENDENCIES = @GETOPT_O_FILES@
28 else
29--
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500302.7.4
Patrick Williamsb48b7b42016-08-17 15:04:38 -050031