diff options
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 @@ | |||
| 1 | [PATCH] make sysroot work | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | |||
| 5 | Add = before the included dir to make sysroot work | ||
| 6 | |||
| 7 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
| 8 | --- | ||
| 9 | src/Makefile.am | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
| 13 | index 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 | -- | ||
| 26 | 1.9.1 | ||
| 27 | |||
