summaryrefslogtreecommitdiff
path: root/package/libx264/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-22 12:52:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-22 12:52:37 +0100
commitee064dff921e104e442bbe94459e901388a86b4a (patch)
tree383e51e9d4fe2424691c1f01136731086b782d22 /package/libx264/Makefile
parent3fa00c8a16cdbd8bed631606844e8f881ceec399 (diff)
parent2e359603d90d5ea1b8a6a20aee8c4a142cd8fafd (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libx264/Makefile')
-rw-r--r--package/libx264/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/libx264/Makefile b/package/libx264/Makefile
index 0fce6390e..a38bff5f2 100644
--- a/package/libx264/Makefile
+++ b/package/libx264/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libx264
# actually is git checkout from 22.01.2014
PKG_VERSION:= 1.0.1
-PKG_RELEASE:= 3
+PKG_RELEASE:= 5
PKG_MD5SUM:= 6be3e8adeaf6b007bbc04026b6ebd304
PKG_DESCR:= H264 encoding library
PKG_SECTION:= libs
@@ -20,13 +20,22 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+CONFIG_STYLE:= minimal
+
ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
CONFIGURE_ARGS+= --disable-asm
endif
CONFIGURE_ARGS+= --disable-cli \
- --enable-asm \
+ --disable-opencl \
+ --enable-shared \
+ --prefix=/usr \
+ --host=${REAL_GNU_TARGET_NAME} \
+ --sysroot=${STAGING_TARGET_DIR} \
--cross-prefix=$(TARGET_CROSS)
+post-configure:
+ cd $(WRKBUILD); $(MAKE) depend
+
libx264-install:
$(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
$(CP) $(WRKINST)/usr/lib/libx264*.so* \