Browse Source

Merge branch 'master' of git+ssh://openadk.org/git/openadk

Waldemar Brodkorb 10 years ago
parent
commit
ab9613f015
3 changed files with 27 additions and 0 deletions
  1. 3 0
      Makefile
  2. 13 0
      mk/build.mk
  3. 11 0
      package/xbmc/patches/patch-configure_in

+ 3 - 0
Makefile

@@ -146,6 +146,9 @@ allmodconfig: .prereq_done
 package_index: .prereq_done
 	@${GMAKE_INV} package_index
 
+release: .prereq_done
+	@${GMAKE_INV} release
+
 bulk: .prereq_done
 	@${GMAKE_INV} bulk
 

+ 13 - 0
mk/build.mk

@@ -562,6 +562,19 @@ bulktoolchain:
 		if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \
 	done
 
+release:
+	for libc in uclibc eglibc glibc musl;do \
+		mkdir -p $(TOPDIR)/bin/$(SYSTEM)_$(ARCH)_$$libc; \
+		( \
+			echo === building $$libc on $$(date); \
+			$(GMAKE) prereq && \
+			$(GMAKE) ARCH=$(ARCH) SYSTEM=$(SYSTEM) LIBC=$$libc FS=archive allmodconfig; \
+			$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
+			rm .config; \
+		) 2>&1 | tee $(TOPDIR)/bin/$(SYSTEM)_$(ARCH)_$$libc/build.log; \
+		if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; break;fi \
+	done
+
 # build all target architecture, target systems and libc combinations
 bulk:
 	for libc in uclibc eglibc glibc musl;do \

+ 11 - 0
package/xbmc/patches/patch-configure_in

@@ -0,0 +1,11 @@
+--- xbmc-12.2.orig/configure.in	2013-05-03 07:57:40.000000000 +0200
++++ xbmc-12.2/configure.in	2013-12-04 11:36:43.000000000 +0100
+@@ -876,7 +876,7 @@ if test "$use_gles" = "yes"; then
+       AC_DEFINE([HAVE_LIBEGL],[1],["Define to 1 if you have the `EGL' library (-lEGL)."])
+       AC_DEFINE([HAVE_LIBGLESV2],[1],["Define to 1 if you have the `GLESv2' library (-lGLESv2)."])
+       AC_MSG_RESULT(== WARNING: OpenGLES support is assumed.)
+-      LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm"
++      LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lkhrn_static -lpthread -lm"
+     else
+       AC_CHECK_LIB([EGL],   [main],, AC_MSG_ERROR($missing_library))
+       AC_CHECK_LIB([GLESv2],[main],, AC_MSG_ERROR($missing_library))