diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-02-20 15:30:37 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-02-20 15:30:37 +0800 |
commit | 12123061738f259faf17a0910a8a26c26c4f611b (patch) | |
tree | 7190b39efd489ef3f0884dce343afb5cfe732e1f | |
parent | 2c2506fbecd39912f48767583f18b14eea098e7f (diff) | |
download | meta-selinux-12123061738f259faf17a0910a8a26c26c4f611b.tar.gz |
Modify git inc file to use the common inc file.
-rw-r--r-- | recipes-security/selinux/selinux_git.inc | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/recipes-security/selinux/selinux_git.inc b/recipes-security/selinux/selinux_git.inc index f635f54..1301d6f 100644 --- a/recipes-security/selinux/selinux_git.inc +++ b/recipes-security/selinux/selinux_git.inc | |||
@@ -1,27 +1,7 @@ | |||
1 | HOMEPAGE = "http://userspace.selinuxproject.org" | ||
2 | |||
3 | SRC_URI = "git://oss.tresys.com/git/selinux.git;protocol=http" | 1 | SRC_URI = "git://oss.tresys.com/git/selinux.git;protocol=http" |
4 | SRC_URI[md5sum] = "4ec64a0d24aaa77c80b86e74d271e464" | 2 | SRC_URI[md5sum] = "4ec64a0d24aaa77c80b86e74d271e464" |
5 | SRC_URI[sha256sum] = "9c8a8643c9a4dd0eb76fcda1420d636b750b84b27656c6f8bc6886a829d7e520" | 3 | SRC_URI[sha256sum] = "9c8a8643c9a4dd0eb76fcda1420d636b750b84b27656c6f8bc6886a829d7e520" |
6 | 4 | ||
7 | S = "${WORKDIR}/git/${BPN}" | 5 | S = "${WORKDIR}/git/${BPN}" |
8 | 6 | ||
9 | # EXTRA_OEMAKE is typically: -e MAKEFLAGS= | 7 | include selinux_common.inc |
10 | # "MAKEFLAGS= " causes problems as ENV variables will not pass to subdirs, so | ||
11 | # we redefine EXTRA_OEMAKE here | ||
12 | EXTRA_OEMAKE = "-e" | ||
13 | |||
14 | do_compile() { | ||
15 | oe_runmake all \ | ||
16 | INCLUDEDIR='${STAGING_INCDIR}' \ | ||
17 | LIBDIR='${STAGING_LIBDIR}' | ||
18 | } | ||
19 | |||
20 | do_install() { | ||
21 | oe_runmake install \ | ||
22 | DESTDIR="${D}" \ | ||
23 | PREFIX="${D}/${prefix}" \ | ||
24 | INCLUDEDIR="${D}/${includedir}" \ | ||
25 | LIBDIR="${D}/${libdir}" \ | ||
26 | SHLIBDIR="${D}/${base_libdir}" | ||
27 | } | ||