From 61ab96a9c42457d982168c1ddd1621cab8694e72 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sat, 31 Jul 2004 15:51:15 +0000 Subject: 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 --- classes/native.oeclass | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'classes/native.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 +} -- cgit v1.2.3