diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-22 10:24:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-23 16:20:13 +0100 |
commit | 2da6d0b9fff49f92cfc2de5da537f3802bc87989 (patch) | |
tree | 45f045b227d2a5f50681fce381fbda9d5771ead8 /meta | |
parent | 861b0d50b9e57bf842a1e4b9303dafeb0bfc5765 (diff) | |
download | poky-2da6d0b9fff49f92cfc2de5da537f3802bc87989.tar.gz |
bitbake.conf: Work around dev symlink problems on darwin
On darwin, we have:
libxxx.dylib -> libxxx.Y.dylib
compared to Linux which has:
libxxx.so -> libxxx.so.Y
Our ordering of PACKAGES with -dev first and then ${PN} makes it impossible to
match the files correctly using simple globbing. This makes darwin targets
completely broken since both the libs and the dev symlinks end up in ${PN}-dev.
Whilst this commit is a hack, it at least puts the files into ${PN} and allows the
builds to be used. Symlinks don't take up much space so this isn't the end of
the world. I'm open to better solutions to this.
(From OE-Core rev: 51c3dbe2df45096bbd7866adabb08e114952ff13)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/bitbake.conf | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 6f3d9bbd21..679fc9e6e2 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -259,14 +259,17 @@ RPROVIDES = "" | |||
259 | MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/nativesdk-libintl virtual/xserver virtual/update-alternatives-native virtual/update-alternatives" | 259 | MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/nativesdk-libintl virtual/xserver virtual/update-alternatives-native virtual/update-alternatives" |
260 | 260 | ||
261 | SOLIBS = ".so.*" | 261 | SOLIBS = ".so.*" |
262 | SOLIBS_darwin = ".*.dylib" | 262 | SOLIBS_darwin = ".dylib" |
263 | SOLIBS_darwin8 = ".*.dylib" | 263 | SOLIBS_darwin8 = ".dylib" |
264 | SOLIBS_darwin9 = ".*.dylib" | 264 | SOLIBS_darwin9 = ".dylib" |
265 | 265 | ||
266 | SOLIBSDEV = ".so" | 266 | SOLIBSDEV = ".so" |
267 | SOLIBSDEV_darwin = ".dylib" | 267 | # Due to the ordering of PACKAGES and the naming of the dev symlinks on darwin, |
268 | SOLIBSDEV_darwin8 = ".dylib" | 268 | # we can't make the symlinks end up in the -dev packages easily at this point. This hack |
269 | SOLIBSDEV_darwin9 = ".dylib" | 269 | # at least means builds aren't completely broken and symlinks don't take up much space. |
270 | SOLIBSDEV_darwin = ".dylibbroken" | ||
271 | SOLIBSDEV_darwin8 = ".dylibbroken" | ||
272 | SOLIBSDEV_darwin9 = ".dylibbroken" | ||
270 | 273 | ||
271 | PACKAGE_BEFORE_PN ?= "" | 274 | PACKAGE_BEFORE_PN ?= "" |
272 | PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}" | 275 | PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}" |