diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-15 13:59:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-19 17:34:18 +0100 |
commit | e6cf0ba96a2a3e23cd7a3474711ae154db8ee9c7 (patch) | |
tree | 1b7a4143d002f9e9113f24eff9223c8dd45c679f /meta/classes/base_srpm.bbclass | |
parent | e375da8e7434ca7cf8a7d2060f423bd795fe99c9 (diff) | |
download | poky-e6cf0ba96a2a3e23cd7a3474711ae154db8ee9c7.tar.gz |
classes: remove obsolete classes
All of these classes are currently unused in oe-core and meta-oe; several
are no longer in use even in OE classic:
* base_srpm.bbclass
* ccdv.bbclass
* flow-lossage.bbclass
* patcher.bbclass
* singlemachine.bbclass
* tmake.bbclass
* xlibs.bbclass
patcher.bbclass and singlemachine.bbclass probably still work but it is
unlikely that anyone is still using them.
(From OE-Core rev: 7416bdaf01daaeb183b1cc8d13a043e244c464e1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base_srpm.bbclass')
-rw-r--r-- | meta/classes/base_srpm.bbclass | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/classes/base_srpm.bbclass b/meta/classes/base_srpm.bbclass deleted file mode 100644 index aea6335278..0000000000 --- a/meta/classes/base_srpm.bbclass +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | inherit base package rpm_core | ||
2 | |||
3 | SPECFILE="${RPMBUILDPATH}/SPECS/${PN}.spec" | ||
4 | |||
5 | base_srpm_do_unpack() { | ||
6 | test -e ${SRPMFILE} || die "Source rpm \"${SRPMFILE}\"does not exist" | ||
7 | if ! test -e ${SPECFILE}; then | ||
8 | ${RPM} -i ${SRPMFILE} | ||
9 | fi | ||
10 | test -e ${SPECFILE} || die "Spec file \"${SPECFILE}\" does not exist" | ||
11 | ${RPMBUILD} -bp ${SPECFILE} | ||
12 | } | ||
13 | |||
14 | base_srpm_do_compile() { | ||
15 | ${RPMBUILD} -bc ${SPECFILE} | ||
16 | } | ||
17 | |||
18 | base_srpm_do_install() { | ||
19 | ${RPMBUILD} -bi ${SPECFILE} | ||
20 | } | ||