added my Recipes
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From 15f0722bc5481cca5ba92adceab8c769112e4ea6 Mon Sep 17 00:00:00 2001
|
||||
From: Dengke Du <dengke.du@windriver.com>
|
||||
Date: Mon, 24 Oct 2016 07:28:13 +0000
|
||||
Subject: [PATCH] sdparm: make sysroot work
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Add = before the included dir to make sysroot work
|
||||
|
||||
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
|
||||
Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
||||
---
|
||||
src/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 61dd9f8..42c911f 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -53,7 +53,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
|
||||
../lib/sg_pt_common.c
|
||||
|
||||
if HAVE_SGUTILS
|
||||
-INCLUDES = -I/scsi
|
||||
+INCLUDES = -I=@includedir@/scsi
|
||||
sdparm_LDADD = @GETOPT_O_FILES@ @SGUTILS_LIBS@
|
||||
sdparm_DEPENDENCIES = @GETOPT_O_FILES@
|
||||
else
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "fetch and change SCSI mode pages"
|
||||
DESCRIPTION = "The sdparm utility accesses and optionally modifies \
|
||||
SCSI devices' mode page and inquiry data."
|
||||
HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html"
|
||||
SECTION = "console/utils"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
|
||||
file://lib/BSD_LICENSE;md5=12cde17a04c30dece2752f36b7192c64"
|
||||
DEPENDS="sg3-utils"
|
||||
SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
|
||||
file://make-sysroot-work.patch \
|
||||
"
|
||||
MIRRORS += "http://sg.danny.cz/sg/p https://fossies.org/linux/misc"
|
||||
|
||||
UPSTREAM_CHECK_REGEX = "sdparm-(?P<pver>\d+(\.\d+)+)\.tgz"
|
||||
|
||||
PACKAGES =+ "${PN}-scripts"
|
||||
RDEPENDS:${PN}-scripts += "bash ${PN}"
|
||||
|
||||
SRC_URI[md5sum] = "2902fd29e6834fd62c16bb5d1ac53c7e"
|
||||
SRC_URI[sha256sum] = "e7f84247069da9a0c293963948d8aba8e5897a13e35e5476c8258acb7ca3a124"
|
||||
|
||||
inherit autotools
|
||||
|
||||
# Put the bash scripts to ${PN}-scripts
|
||||
FILES:${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"
|
||||
Reference in New Issue
Block a user