diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-10-27 16:48:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:15:30 +0000 |
commit | cafb550fe9034754933f1708446dde155dcc3d51 (patch) | |
tree | d478075c915cc5ebaf01ce191f5a98acd5f87dcf /meta/recipes-support/apr | |
parent | d37944fff256e9f52d05a56db3edb42c7a352cce (diff) | |
download | openembedded-core-cafb550fe9034754933f1708446dde155dcc3d51.tar.gz openembedded-core-cafb550fe9034754933f1708446dde155dcc3d51.tar.bz2 openembedded-core-cafb550fe9034754933f1708446dde155dcc3d51.zip |
recipes-support: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
NOTE:
There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native
should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"),
otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is
incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't
need this line, since it is already in the default BUILD_LDFLAGS. Remove
it and we don't need to bump the PR since we just removed a unused line.
[YOCTO #3297]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/apr')
-rw-r--r-- | meta/recipes-support/apr/apr-util_1.4.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.4.1.bb b/meta/recipes-support/apr/apr-util_1.4.1.bb index 238af97a53..7ee3de5c08 100644 --- a/meta/recipes-support/apr/apr-util_1.4.1.bb +++ b/meta/recipes-support/apr/apr-util_1.4.1.bb @@ -37,10 +37,10 @@ do_configure_append() { cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk fi } -do_configure_prepend_virtclass-native() { +do_configure_prepend_class-native() { cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk } -do_configure_append_virtclass-native() { +do_configure_append_class-native() { sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk # sometimes there isn't SHELL sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk |