Commit Graph

28 Commits

Author SHA1 Message Date
Richard Purdie dc807f54f8 Finally deprecate all legacy do_stage functions. This changes the existing warning
into a fatal error if any legacy do_stage functions are found.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 11:44:28 +01:00
Joshua Lock 6e1cc7ca10 relocatable.bbclass: remove hard-coded rpaths from native binaries
The relocatable path will pre-process built binaries in SYSROOT_DESTDIR and
replace any harcoded dynamic link rpaths with relative paths.

Add an inherit of class in native.bbclass to make our native packages
relocatable and tweak the chrpath recipe so that the native package can make
itself relocatable with the just built chrpath binary.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-11 16:21:09 +00:00
Richard Purdie c37037df65 gettext.bbclass: Set the gettext dependencies correctly for target, cross and native packages
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-05 21:10:47 +00:00
Richard Purdie 76d9b6ea7f native.bbclass: Make sure PACKAGES is empty in case _prepend or _append are used
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 22:38:44 +00:00
Richard Purdie 7b849ae2f5 native.bbclass: Fix DEPENDS handling for BBCLASSEXTEND use
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00:00
Richard Purdie c6f860596c base/autotools.bbclass: Make sure extra dependencies are not lost for native and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00:00
Richard Purdie b26b8f4f23 native.bbclass: Improve DEPENDS mangling code so sub matches don't break upon substitutions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:27 +00:00
Richard Purdie 3c83baeb26 native.bbclass: If do_stage isn't overridden, allow do_install to run for native packages
Also let do_install run for packages that run autotools_stage_all directly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie 5912ab1de1 native.bbclass: Use prefix_native variable
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:23 +01:00
Richard Purdie af85ce4b4e Remove layout_* variables
Remove layout_* variables and replace them with variables specific to the
different classes. The layout variables were only useful for the native/cross
classes and caused more confusion than they solved. They didn't scale to the
sdk class. It now clear a small set of native/cross variables fulfil the needs.

This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes
sense since we're installing binaries into the locations we're compiling them for.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:24:36 +01:00
Richard Purdie 4d503cfa06 native.bbclass: Drop INHIBIT_NATIVE_STAGE_INSTALL function and wrap logic in a do_stage_native() wrapper which packaged-staging can detect
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 14:43:45 +01:00
Richard Purdie 7b281a3924 native.bbclass: Add virtclass-native to OVERRIDES and use in fakeroot to function correctly 2009-01-05 22:00:22 +00:00
Richard Purdie fb9196ddcf native.bbclass: Handling remapping of PROVIDES similar to sdk.bbclass 2009-01-05 15:57:50 +00:00
Richard Purdie f091e6c78a Remove unneeded S variables 2009-01-03 18:34:00 +00:00
Richard Purdie c4a39f6417 zlib: Clean up recipe and use BBCLASSEXTEND for native and sdk versions 2009-01-03 17:31:17 +00:00
Richard Purdie ee0faf1346 native/sdk.bbclass: Handle DEPENDS and PROVIDES fields magically, remove a number of xorg sdk and native packages replacing with BBCLASSEXTEND 2009-01-03 16:25:39 +00:00
Richard Purdie ec1e837ff9 native.bbclass: Also override BASE_PACKAGE_ARCH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4917 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-21 16:58:07 +00:00
Richard Purdie e5bc47180d native.bbclass: Override BASEPKG_HOST_SYS and TARGET_SYS in the native case
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4916 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-21 16:55:16 +00:00
Marcin Juszkiewicz 849af9b2a4 native.bbclass: fix do_stage (s/"]/" ]/) - taken from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4096 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20 07:15:35 +00:00
Richard Purdie 38854a1101 autotools.bbclass/native.bbclass: Use autotools_stage_all instead of oe_runmake install for staging autotooled native packages (from OE.dev)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4056 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 15:35:13 +00:00
Richard Purdie 7fc5d6eeea pkgconfig: Switch to using sysroot simplifying pkgconfig files. Requires a full rebuild.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3125 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:30:16 +00:00
Richard Purdie 01d5da72d0 Rearrange staging to match target system layout. This is a major change and will require a full rebuild.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3123 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:25:30 +00:00
Richard Purdie 0206afd2f8 native.bbclass: Don't use site files for native builds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2632 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01 16:40:35 +00:00
Richard Purdie 6a48637d29 native.bbclass: Remove uneeded variables
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1902 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-10 18:06:14 +00:00
Richard Purdie 0a15894004 native.bbclass: Enhance to allow extra pkgconfig search paths to be injected
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1429 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 22:33:11 +00:00
Richard Purdie 70eeb3ab5c native.bbclass: Override STAGING_BINDIR_CROSS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1126 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 21:07:49 +00:00
Richard Purdie 4f249a8efb Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and STAGING_BINDIR_NATIVE and adding both to PATH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@958 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-25 10:01:30 +00:00
Richard Purdie b2f192faab Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 10:10:31 +00:00