1From 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
5
6Upstream-Status: Pending
7
8Add = before the included dir to make sysroot work
9
10Signed-off-by: Roy.Li <rongqing.li@windriver.com>
11Signed-off-by: Dengke Du <dengke.du@windriver.com>
12---
13 src/Makefile.am | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/Makefile.am b/src/Makefile.am
17index 61dd9f8..42c911f 100644
18--- a/src/Makefile.am
19+++ b/src/Makefile.am
20@@ -53,7 +53,7 @@ sglib_SOURCES =		../lib/sg_lib.c \
21 			../lib/sg_pt_common.c
22
23 if HAVE_SGUTILS
24-INCLUDES = -I/scsi
25+INCLUDES = -I=@includedir@/scsi
26 sdparm_LDADD = @GETOPT_O_FILES@ @SGUTILS_LIBS@
27 sdparm_DEPENDENCIES = @GETOPT_O_FILES@
28 else
29--
302.7.4
31
32