diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-07-22 14:44:52 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-24 15:31:49 +0200 |
commit | f06154f640cd6d8432aa2e6f3de97488ce4561da (patch) | |
tree | 2e5f42813ae03d6c90e22699046e76a6d0f7db5d /meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch | |
parent | 4131e6dc552ca6aad043d27671ecaef9ad7292c4 (diff) | |
download | meta-openembedded-contrib-f06154f640cd6d8432aa2e6f3de97488ce4561da.tar.gz |
sdparm: add recipe file
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch')
-rw-r--r-- | meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch | 27 |
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 0000000000..5405ed802e --- /dev/null +++ b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch @@ -0,0 +1,27 @@ +[PATCH] make sysroot work + +Upstream-Status: Pending + +Add = before the included dir to make sysroot work + +Signed-off-by: Roy.Li <rongqing.li@windriver.com> +--- + src/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index c83788c..9f62115 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -32,7 +32,7 @@ sglib_SOURCES = ../lib/sg_lib.c \ + ../lib/sg_pt_common.c + + if HAVE_SGUTILS +-INCLUDES = -I/usr/include/scsi ++INCLUDES = -I=@includedir@/scsi + sdparm_LDADD = @GETOPT_O_FILES@ @os_libs@ @SGUTILS_LIBS@ + sdparm_DEPENDENCIES = @GETOPT_O_FILES@ + else +-- +1.9.1 + |