summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/sdparm/files
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-08 22:51:41 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-08 22:51:41 +0200
commit1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch)
treea21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-support/sdparm/files
downloadmeta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/sdparm/files')
-rw-r--r--meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
new file mode 100644
index 000000000..5405ed802
--- /dev/null
+++ b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
@@ -0,0 +1,27 @@
1[PATCH] make sysroot work
2
3Upstream-Status: Pending
4
5Add = before the included dir to make sysroot work
6
7Signed-off-by: Roy.Li <rongqing.li@windriver.com>
8---
9 src/Makefile.am | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/Makefile.am b/src/Makefile.am
13index c83788c..9f62115 100644
14--- a/src/Makefile.am
15+++ b/src/Makefile.am
16@@ -32,7 +32,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
17 ../lib/sg_pt_common.c
18
19 if HAVE_SGUTILS
20-INCLUDES = -I/usr/include/scsi
21+INCLUDES = -I=@includedir@/scsi
22 sdparm_LDADD = @GETOPT_O_FILES@ @os_libs@ @SGUTILS_LIBS@
23 sdparm_DEPENDENCIES = @GETOPT_O_FILES@
24 else
25--
261.9.1
27