summaryrefslogtreecommitdiff
path: root/package/imx-vpu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-10-09 16:20:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-10-09 16:20:23 +0200
commit0bdeb3a8e7a5bf05dee49a8cf42701a51927ec15 (patch)
tree19b20a8bb5bc50c94eec2e99b33c13751607c6f1 /package/imx-vpu
parent667293e32df92383ab56292c5b27eea1ee680ece (diff)
downgrade packages to a state where kodi starts with 3.14.x kernel
Diffstat (limited to 'package/imx-vpu')
-rw-r--r--package/imx-vpu/Makefile4
-rw-r--r--package/imx-vpu/patches/patch-vpu_Makefile17
2 files changed, 16 insertions, 5 deletions
diff --git a/package/imx-vpu/Makefile b/package/imx-vpu/Makefile
index 5ff9ffc05..ed90f1ad2 100644
--- a/package/imx-vpu/Makefile
+++ b/package/imx-vpu/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= imx-vpu
-PKG_VERSION:= 5.4.28
+PKG_VERSION:= 3.10.17-1.0.0
PKG_RELEASE:= 1
-PKG_HASH:= 0a05af1a5978175de852b2cf61763ec789f2845df78edb8d02a28611439b57f7
+PKG_HASH:= cd8a7bd50ff3274db76a331cc6622d3ba4bb7c790ce778f303e49187df2dfd72
PKG_DESCR:= imx vpu library
PKG_DEPENDS:= firmware-imx
PKG_SECTION:= libs/video
diff --git a/package/imx-vpu/patches/patch-vpu_Makefile b/package/imx-vpu/patches/patch-vpu_Makefile
index f5d6ea1eb..00af01eed 100644
--- a/package/imx-vpu/patches/patch-vpu_Makefile
+++ b/package/imx-vpu/patches/patch-vpu_Makefile
@@ -1,6 +1,6 @@
---- imx-vpu-5.4.28.orig/vpu/Makefile 2015-02-13 12:28:52.000000000 -0600
-+++ imx-vpu-5.4.28/vpu/Makefile 2015-05-26 13:49:42.053647148 -0500
-@@ -22,13 +22,13 @@ endif
+--- imx-vpu-3.10.17-1.0.0.orig/vpu/Makefile 2014-01-16 15:27:33.000000000 +0100
++++ imx-vpu-3.10.17-1.0.0/vpu/Makefile 2015-10-08 18:46:28.302097835 +0200
+@@ -21,22 +21,22 @@ endif
all: $(LIBNAME).so $(LIBNAME).a
install: install_headers
@@ -19,3 +19,14 @@
else
all install :
endif
+
+ %.o: %.c
+- $(CC) -D$(PLATFORM) -Wall -O2 -fPIC -c $^ -o $@
++ $(CC) -D$(PLATFORM) $(CFLAGS) -fPIC -c $^ -o $@
+
+ $(LIBNAME).so.$(SONAMEVERSION): $(OBJ)
+- $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ -lpthread
++ $(CC) $(CFLAGS) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ -lpthread
+
+ $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION)
+ ln -s $< $@