summaryrefslogtreecommitdiff
path: root/package/libatomic_ops
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-15 13:09:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-15 13:13:14 +0200
commitbf8903fa567e5c1b5d923c6f1c0aeb1d2fd1192a (patch)
tree64691c16412c4788e2f242abeb418187231d0ec8 /package/libatomic_ops
parentbf3ec139fd4c0996463d221478eb8ce82694e6de (diff)
cleanup HOST_STYLE, use SYSROOT feature for pkgconf
there are three HOST_STYLE's, not set mean fully automatic installation. auto means prefix is set to /usr and DESTDIR is set to STAGING_HOST_DIR. When using manual, you need to provide your own targets. Instead of using sed to modify *.pc files, use PKG_SYSROOT feature, which does work better and avoids pathcing some pc files. Idea from sh4rm via #musl.
Diffstat (limited to 'package/libatomic_ops')
-rw-r--r--package/libatomic_ops/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/libatomic_ops/Makefile b/package/libatomic_ops/Makefile
index efc7e9567..fc662442e 100644
--- a/package/libatomic_ops/Makefile
+++ b/package/libatomic_ops/Makefile
@@ -22,8 +22,6 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBATOMIC_OPS,libatomic-ops,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBATOMIC_OPS,libatomic-ops,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-HOST_STYLE:= auto
-
libatomic-ops-install:
$(INSTALL_DIR) $(IDIR_LIBATOMIC_OPS)/usr/lib
$(CP) $(WRKINST)/usr/lib/libatomic_ops*.so* \