summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-07-31 15:51:15 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-07-31 15:51:15 +0000
commit61ab96a9c42457d982168c1ddd1621cab8694e72 (patch)
treec826c2c62a20d1fbf6a9fb8f72b6d01d59945186 /classes
parent72dd8bd4262e58a39a0304d12562436f088f3a8e (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/31 17:47:35+02:00 uni-frankfurt.de!mickey fix meta-e 2004/07/31 14:10:13+02:00 uni-frankfurt.de!mickey the E Widget Library now builds 2004/07/31 13:52:36+02:00 uni-frankfurt.de!mickey edje now builds (insert applause.wav here) 2004/07/31 04:15:52+02:00 uni-frankfurt.de!mickey fix prefix and exec-prefix bug 2004/07/31 04:15:16+02:00 uni-frankfurt.de!mickey migrate enlightenment (and friends) to binconfig.oeclass 2004/07/31 04:12:47+02:00 uni-frankfurt.de!mickey add binconfig.oeclass. This class cleans up the situation with packages utilizing foo-config scripts to gather cflags and libs etc. This class does a) eliminate the need for boiler plate code in the .oe files and b) differentiates between native and non-native packages which previously stepped on each other's toe because both kinds of packages wanted to install their foo-configs into STAGING_DIR. native packages now use foo-config-native. this class has been tested w/ the enlightenment stuff (evas,eet,edb,etox,imlib2,freetype,edje). please migrate .oe packages to it when you have a chance. 2004/07/31 02:43:44+02:00 uni-frankfurt.de!mickey Merge bk://openembedded@openembedded.bkbits.net/packages into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/31 01:27:45+02:00 uni-frankfurt.de!mickey Merge bk://openembedded@openembedded.bkbits.net/packages into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/30 17:44:51+02:00 uni-frankfurt.de!mickey on the way to edje-native: complete edb-native and add ecore-native BKrev: 410bbff3H9FfStU2Nxq1H1ECuGhU-Q
Diffstat (limited to 'classes')
-rw-r--r--classes/binconfig.oeclass0
-rw-r--r--classes/native.oeclass38
2 files changed, 38 insertions, 0 deletions
diff --git a/classes/binconfig.oeclass b/classes/binconfig.oeclass
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/classes/binconfig.oeclass
diff --git a/classes/native.oeclass b/classes/native.oeclass
index e69de29bb2..49e70a5c94 100644
--- a/classes/native.oeclass
+++ b/classes/native.oeclass
@@ -0,0 +1,38 @@
+inherit base
+
+PACKAGES = ""
+
+TARGET_ARCH = "${BUILD_ARCH}"
+TARGET_OS = "${BUILD_OS}"
+TARGET_VENDOR = "${BUILD_VENDOR}"
+TARGET_PREFIX = "${BUILD_PREFIX}"
+TARGET_CC_ARCH = "${BUILD_CC_ARCH}"
+
+HOST_ARCH = "${BUILD_ARCH}"
+HOST_OS = "${BUILD_OS}"
+HOST_VENDOR = "${BUILD_VENDOR}"
+HOST_PREFIX = "${BUILD_PREFIX}"
+HOST_CC_ARCH = "${BUILD_CC_ARCH}"
+
+CPPFLAGS = "${BUILD_CPPFLAGS}"
+CFLAGS = "${BUILD_CFLAGS}"
+CXXFLAGS = "${BUILD_CFLAGS}"
+LDFLAGS = "${BUILD_LDFLAGS}"
+
+prefix = "${STAGING_DIR}/${BUILD_ARCH}-${BUILD_OS}"
+exec_prefix = "${prefix}"
+bindir = "${STAGING_BINDIR}"
+sbindir = "${STAGING_BINDIR}"
+libdir = "${STAGING_LIBDIR}"
+includedir = "${STAGING_INCDIR}"
+oldincludedir = "${includedir}"
+sysconfdir = "${STAGING_DIR}/etc"
+datadir = "${STAGING_DATADIR}"
+
+do_stage () {
+ oe_runmake install
+}
+
+do_install () {
+ true
+}