diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/attr/files | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/attr/files')
-rw-r--r-- | meta/recipes-support/attr/files/relative-libdir.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/files/relative-libdir.patch b/meta/recipes-support/attr/files/relative-libdir.patch new file mode 100644 index 0000000000..f989dd0ccc --- /dev/null +++ b/meta/recipes-support/attr/files/relative-libdir.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | use relative path in symbolic links, or it fails in staging | ||
2 | sed expression from udev | ||
3 | |||
4 | 7/29/2010 - created by Qing He <qing.he@intel.com> | ||
5 | |||
6 | diff -u include.orig/buildmacros include/buildmacros | ||
7 | --- include.orig/buildmacros 2010-07-29 17:39:48.000000000 +0800 | ||
8 | +++ include/buildmacros 2010-07-29 18:20:34.000000000 +0800 | ||
9 | @@ -88,9 +88,11 @@ | ||
10 | ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ | ||
11 | ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \ | ||
12 | if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \ | ||
13 | - ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ | ||
14 | - ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ | ||
15 | - ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \ | ||
16 | + rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ | ||
17 | + ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ | ||
18 | + ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ | ||
19 | + rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ | ||
20 | + ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \ | ||
21 | fi | ||
22 | else | ||
23 | INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC) | ||