summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-12 22:33:31 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-13 22:06:24 +0000
commit357282e2111fa6b84b34185d9916b0c17119480c (patch)
tree4fa5e2ed4f721233ebed4044bd1fae91c807706a /meta
parent88872c05b539521ad152576259adbb9fac853ce6 (diff)
downloadopenembedded-core-357282e2111fa6b84b34185d9916b0c17119480c.tar.gz
openembedded-core-357282e2111fa6b84b34185d9916b0c17119480c.tar.bz2
openembedded-core-357282e2111fa6b84b34185d9916b0c17119480c.tar.xz
openembedded-core-357282e2111fa6b84b34185d9916b0c17119480c.zip
freetype: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/freetype/freetype-2.3.5/configure.patch (renamed from meta/packages/freetype/files/configure.patch)0
-rw-r--r--meta/packages/freetype/freetype-2.3.5/no-hardcode.patch (renamed from meta/packages/freetype/files/no-hardcode.patch)0
-rw-r--r--meta/packages/freetype/freetype-native_2.3.5.bb9
-rw-r--r--meta/packages/freetype/freetype_2.3.5.bb9
4 files changed, 9 insertions, 9 deletions
diff --git a/meta/packages/freetype/files/configure.patch b/meta/packages/freetype/freetype-2.3.5/configure.patch
index f11cf96be..f11cf96be 100644
--- a/meta/packages/freetype/files/configure.patch
+++ b/meta/packages/freetype/freetype-2.3.5/configure.patch
diff --git a/meta/packages/freetype/files/no-hardcode.patch b/meta/packages/freetype/freetype-2.3.5/no-hardcode.patch
index 44ae450a1..44ae450a1 100644
--- a/meta/packages/freetype/files/no-hardcode.patch
+++ b/meta/packages/freetype/freetype-2.3.5/no-hardcode.patch
diff --git a/meta/packages/freetype/freetype-native_2.3.5.bb b/meta/packages/freetype/freetype-native_2.3.5.bb
deleted file mode 100644
index f44ca4b55..000000000
--- a/meta/packages/freetype/freetype-native_2.3.5.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require freetype_${PV}.bb
-inherit native
-
-EXTRA_OEMAKE=
-
-do_configure() {
- (cd builds/unix && gnu-configize) || die "failure running gnu-configize"
- oe_runconf
-}
diff --git a/meta/packages/freetype/freetype_2.3.5.bb b/meta/packages/freetype/freetype_2.3.5.bb
index f5934bd66..5bbbd7d65 100644
--- a/meta/packages/freetype/freetype_2.3.5.bb
+++ b/meta/packages/freetype/freetype_2.3.5.bb
@@ -14,6 +14,7 @@ inherit autotools pkgconfig binconfig
LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+EXTRA_OEMAKE_virtclass-native = ""
EXTRA_OECONF = "--without-zlib"
do_configure() {
@@ -26,9 +27,17 @@ do_configure() {
oe_runconf
}
+do_configure_virtclass-native() {
+ (cd builds/unix && gnu-configize) || die "failure running gnu-configize"
+ oe_runconf
+}
+
do_compile_prepend() {
${BUILD_CC} -o objs/apinames src/tools/apinames.c
}
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
FILES_${PN}-dev += "${bindir}"
+
+BBCLASSEXTEND = "native"
+