Permalink
Browse files

[rbp] cleanup buildsystem

  • Loading branch information...
1 parent f93511e commit efef226f0ad4ea4650c1f0a6a6e16c68d04e5f2b @huceke huceke committed Aug 4, 2012
Showing with 2 additions and 3,078 deletions.
  1. +2 −2 tools/rbp/depends/Makefile
  2. +0 −1 tools/rbp/depends/boost/.gitignore
  3. +0 −34 tools/rbp/depends/boost/Makefile
  4. +0 −73 tools/rbp/depends/boost/add-arm-mem-barrier.patch
  5. +0 −58 tools/rbp/depends/boost/fix-deprecated-swp.patch
  6. +0 −4 tools/rbp/depends/boost/user-config.jam-arm.in
  7. +0 −1 tools/rbp/depends/bzip2/.gitignore
  8. +0 −41 tools/rbp/depends/bzip2/Makefile
  9. +0 −34 tools/rbp/depends/bzip2/Makefile.patch
  10. +0 −1 tools/rbp/depends/curl/.gitignore
  11. +0 −44 tools/rbp/depends/curl/Makefile
  12. +0 −1 tools/rbp/depends/dbus/.gitignore
  13. +0 −41 tools/rbp/depends/dbus/Makefile
  14. +0 −1 tools/rbp/depends/enca/.gitignore
  15. +0 −46 tools/rbp/depends/enca/Makefile
  16. +0 −12 tools/rbp/depends/enca/no-dev-random.patch
  17. +0 −1 tools/rbp/depends/expat/.gitignore
  18. +0 −41 tools/rbp/depends/expat/Makefile
  19. +0 −1 tools/rbp/depends/fontconfig/.gitignore
  20. +0 −80 tools/rbp/depends/fontconfig/01-fontconfig-cross-compile-fix.patch
  21. +0 −46 tools/rbp/depends/fontconfig/Makefile
  22. +0 −1 tools/rbp/depends/freetype2/.gitignore
  23. +0 −43 tools/rbp/depends/freetype2/Makefile
  24. +0 −1 tools/rbp/depends/fribidi/.gitignore
  25. +0 −42 tools/rbp/depends/fribidi/Makefile
  26. +0 −1 tools/rbp/depends/gettext/.gitignore
  27. +0 −50 tools/rbp/depends/gettext/Makefile
  28. +0 −1 tools/rbp/depends/jpeg/.gitignore
  29. +0 −40 tools/rbp/depends/jpeg/Makefile
  30. +0 −1 tools/rbp/depends/libass/.gitignore
  31. +0 −41 tools/rbp/depends/libass/Makefile
  32. +0 −1 tools/rbp/depends/libbluray/.gitignore
  33. +0 −43 tools/rbp/depends/libbluray/Makefile
  34. +0 −1 tools/rbp/depends/libcdio/.gitignore
  35. +0 −42 tools/rbp/depends/libcdio/Makefile
  36. +0 −1 tools/rbp/depends/libflac/.gitignore
  37. +0 −43 tools/rbp/depends/libflac/Makefile
  38. +0 −1 tools/rbp/depends/libgcrypt/.gitignore
  39. +0 −42 tools/rbp/depends/libgcrypt/Makefile
  40. +0 −1 tools/rbp/depends/libgpg-error/.gitignore
  41. +0 −40 tools/rbp/depends/libgpg-error/Makefile
  42. +0 −1 tools/rbp/depends/libjpeg-turbo/.gitignore
  43. +0 −42 tools/rbp/depends/libjpeg-turbo/Makefile
  44. +0 −1 tools/rbp/depends/libjpeg/.gitignore
  45. +0 −38 tools/rbp/depends/libjpeg/Makefile
  46. +0 −1 tools/rbp/depends/libmad/.gitignore
  47. +0 −118 tools/rbp/depends/libmad/01-libmad-pkgconfig.patch
  48. +0 −42 tools/rbp/depends/libmad/Makefile
  49. +0 −1 tools/rbp/depends/libmicrohttpd/.gitignore
  50. +0 −41 tools/rbp/depends/libmicrohttpd/Makefile
  51. +0 −1 tools/rbp/depends/libmodplug/.gitignore
  52. +0 −41 tools/rbp/depends/libmodplug/Makefile
  53. +0 −1 tools/rbp/depends/libmpeg2/.gitignore
  54. +0 −42 tools/rbp/depends/libmpeg2/Makefile
  55. +0 −1 tools/rbp/depends/libogg/.gitignore
  56. +0 −41 tools/rbp/depends/libogg/Makefile
  57. +0 −1 tools/rbp/depends/libpng/.gitignore
  58. +0 −41 tools/rbp/depends/libpng/Makefile
  59. +0 −1 tools/rbp/depends/librtmp/.gitignore
  60. +0 −40 tools/rbp/depends/librtmp/Makefile
  61. +0 −21 tools/rbp/depends/librtmp/prefix.patch
  62. +0 −1 tools/rbp/depends/libsamplerate/.gitignore
  63. +0 −42 tools/rbp/depends/libsamplerate/Makefile
  64. +0 −1 tools/rbp/depends/libsdl/.gitignore
  65. +0 −47 tools/rbp/depends/libsdl/Makefile
  66. +0 −1 tools/rbp/depends/libsdl_image/.gitignore
  67. +0 −42 tools/rbp/depends/libsdl_image/Makefile
  68. +0 −1 tools/rbp/depends/libsdl_mixer/.gitignore
  69. +0 −44 tools/rbp/depends/libsdl_mixer/Makefile
  70. +0 −1 tools/rbp/depends/libssh2/.gitignore
  71. +0 −45 tools/rbp/depends/libssh2/Makefile
  72. +0 −1 tools/rbp/depends/libvorbis/.gitignore
  73. +0 −43 tools/rbp/depends/libvorbis/Makefile
  74. +0 −1 tools/rbp/depends/libwavpack/.gitignore
  75. +0 −41 tools/rbp/depends/libwavpack/Makefile
  76. +0 −1 tools/rbp/depends/libxml2/.gitignore
  77. +0 −43 tools/rbp/depends/libxml2/Makefile
  78. +0 −1 tools/rbp/depends/mysqlclient/.gitignore
  79. +0 −170 tools/rbp/depends/mysqlclient/01-mysqlclient-cross-compile.patch
  80. +0 −27 tools/rbp/depends/mysqlclient/02-mysqlclient-ios.patch
  81. +0 −58 tools/rbp/depends/mysqlclient/Makefile
  82. +0 −10 tools/rbp/depends/mysqlclient/use-new-readline-iface.patch
  83. +0 −1 tools/rbp/depends/openssl/.gitignore
  84. +0 −41 tools/rbp/depends/openssl/Makefile
  85. +0 −1 tools/rbp/depends/pcre/.gitignore
  86. +0 −40 tools/rbp/depends/pcre/Makefile
  87. +0 −1 tools/rbp/depends/python26/.gitignore
  88. +0 −60 tools/rbp/depends/python26/Makefile
  89. +0 −45 tools/rbp/depends/python26/Python-2.6-ctypes.patch
  90. +0 −14 tools/rbp/depends/python26/Python-2.6.5-disable-modules.patch
  91. +0 −292 tools/rbp/depends/python26/Python-2.6.5-xcompile.patch
  92. +0 −1 tools/rbp/depends/readline/.gitignore
  93. +0 −41 tools/rbp/depends/readline/Makefile
  94. +0 −1 tools/rbp/depends/samba/.gitignore
  95. +0 −71 tools/rbp/depends/samba/01-bugfix-8385.patch
  96. +0 −22 tools/rbp/depends/samba/100_configure_fixes.patch
  97. +0 −69 tools/rbp/depends/samba/Makefile
  98. +0 −41 tools/rbp/depends/samba/samba-getgrouplist.patch
  99. +0 −11 tools/rbp/depends/samba/silence-receive-warning.patch
  100. +0 −101 tools/rbp/depends/samba/wle-fix.patch
  101. +0 −1 tools/rbp/depends/sqlite3/.gitignore
  102. +0 −47 tools/rbp/depends/sqlite3/Makefile
  103. +0 −41 tools/rbp/depends/yajl/Makefile
@@ -2,10 +2,10 @@ include ../Makefile.include
ifeq ($(USE_BUILDROOT),1)
BUILDTOOLS =
- SUBDIRS = libjpeg-turbo tiff jasper fribidi libass libmodplug libcdio librtmp libbluray libnfs yajl boost libplist libshairport xbmc gettext tinyxml
+ SUBDIRS = xbmc
else
BUILDTOOLS = help2man autoconf automake libtool pkg-config yasm cmake patchelf
- SUBDIRS = liblzo2 tiff libnfs jasper libplist libshairport xbmc tinyxml
+ SUBDIRS = liblzo2 tiff libnfs jasper libplist libshairport tinyxml xbmc
endif
IMAGENAME = xbmc-rbp-`date +'%y%m%d'`
@@ -1 +0,0 @@
-boost_1_44_0
@@ -1,34 +0,0 @@
-include ../../Makefile.include
-include ../depends.mk
-
-LIBNAME=boost
-VERSION=1_44_0
-SOURCE=$(LIBNAME)_$(VERSION)
-ARCHIVE=$(SOURCE).tar.bz2
-
-export PATH:=$(TOOLCHAIN)/bin:$(PATH)
-
-all: .installed
-
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-
-.installed: $(TARBALLS_LOCATION)/$(ARCHIVE)
- rm -rf $(SOURCE)
- $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- echo $(SOURCE) > .gitignore
- cat user-config.jam-arm.in > $(SOURCE)/tools/build/v2/user-config.jam
- sed -e 's:arm-unknown-linux-gnueabi:$(HOST):g' -i $(SOURCE)/tools/build/v2/user-config.jam
- cd $(SOURCE); patch -p1 < ../add-arm-mem-barrier.patch
- cd $(SOURCE); patch -p1 < ../fix-deprecated-swp.patch
- cd $(SOURCE); ./bootstrap.sh --prefix=$(PREFIX) --with-libraries=thread
- cd $(SOURCE); ./bjam --prefix=$(PREFIX) toolset=gcc --toolset-root=$(TOOLCHAIN) --architecture=arm install
- touch .installed
-
-clean:
- rm -rf $(SOURCE) .installed
-
-distclean::
- rm -rf $(SOURCE) .installed
-
-
@@ -1,73 +0,0 @@
-From c87ad09331d239d6566e5eb409898ae38f04799a Mon Sep 17 00:00:00 2001
-From: Peter Dimov <pdimov@boostpro.com>
-Date: Mon, 7 Nov 2011 17:50:31 +0000
-Subject: [PATCH] Add ARM memory barriers. Refs #5372.
-
-SVN-Revision: 75389
----
- boost/smart_ptr/detail/spinlock_gcc_arm.hpp | 23 ++++++++++++++++++++---
- 1 file changed, 20 insertions(+), 3 deletions(-)
-
-diff --git a/boost/smart_ptr/detail/spinlock_gcc_arm.hpp b/boost/smart_ptr/detail/spinlock_gcc_arm.hpp
-index ba6c511..f58ea44 100644
---- a/boost/smart_ptr/detail/spinlock_gcc_arm.hpp
-+++ b/boost/smart_ptr/detail/spinlock_gcc_arm.hpp
-@@ -2,7 +2,7 @@
- #define BOOST_SMART_PTR_DETAIL_SPINLOCK_GCC_ARM_HPP_INCLUDED
-
- //
--// Copyright (c) 2008 Peter Dimov
-+// Copyright (c) 2008, 2011 Peter Dimov
- //
- // Distributed under the Boost Software License, Version 1.0.
- // See accompanying file LICENSE_1_0.txt or copy at
-@@ -11,6 +11,20 @@
-
- #include <boost/smart_ptr/detail/yield_k.hpp>
-
-+#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
-+
-+# define BOOST_SP_ARM_BARRIER "dmb"
-+
-+#elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__)
-+
-+# define BOOST_SP_ARM_BARRIER "mcr p15, 0, r0, c7, c10, 5"
-+
-+#else
-+
-+# define BOOST_SP_ARM_BARRIER ""
-+
-+#endif
-+
- namespace boost
- {
-
-@@ -30,7 +44,8 @@ class spinlock
- int r;
-
- __asm__ __volatile__(
-- "swp %0, %1, [%2]":
-+ "swp %0, %1, [%2]\n\t"
-+ BOOST_SP_ARM_BARRIER :
- "=&r"( r ): // outputs
- "r"( 1 ), "r"( &v_ ): // inputs
- "memory", "cc" );
-@@ -48,7 +63,7 @@ class spinlock
-
- void unlock()
- {
-- __asm__ __volatile__( "" ::: "memory" );
-+ __asm__ __volatile__( BOOST_SP_ARM_BARRIER ::: "memory" );
- *const_cast< int volatile* >( &v_ ) = 0;
- }
-
-@@ -82,4 +97,6 @@ class spinlock
-
- #define BOOST_DETAIL_SPINLOCK_INIT {0}
-
-+#undef BOOST_SP_ARM_BARRIER
-+
- #endif // #ifndef BOOST_SMART_PTR_DETAIL_SPINLOCK_GCC_ARM_HPP_INCLUDED
---
-1.7.10
-
@@ -1,58 +0,0 @@
-From 8d1ba081260f98d879759433a9d7248d6bd98966 Mon Sep 17 00:00:00 2001
-From: Peter Dimov <pdimov@boostpro.com>
-Date: Mon, 12 Mar 2012 17:31:21 +0000
-Subject: [PATCH] Apply patch from #5331. Refs #5331.
-
-SVN-Revision: 77315
----
- boost/smart_ptr/detail/spinlock_gcc_arm.hpp | 29 +++++++++++++++++++++++++--
- 1 file changed, 27 insertions(+), 2 deletions(-)
-
-diff --git a/boost/smart_ptr/detail/spinlock_gcc_arm.hpp b/boost/smart_ptr/detail/spinlock_gcc_arm.hpp
-index f58ea44..f1bbaf6 100644
---- a/boost/smart_ptr/detail/spinlock_gcc_arm.hpp
-+++ b/boost/smart_ptr/detail/spinlock_gcc_arm.hpp
-@@ -43,13 +43,38 @@ class spinlock
- {
- int r;
-
-+#if defined(__ARM_ARCH_6__) \
-+ || defined(__ARM_ARCH_6J__) \
-+ || defined(__ARM_ARCH_6K__) \
-+ || defined(__ARM_ARCH_6Z__) \
-+ || defined(__ARM_ARCH_6ZK__) \
-+ || defined(__ARM_ARCH_6T2__) \
-+ || defined(__ARM_ARCH_7__) \
-+ || defined(__ARM_ARCH_7A__) \
-+ || defined(__ARM_ARCH_7R__) \
-+ || defined(__ARM_ARCH_7M__) \
-+ || defined(__ARM_ARCH_7EM__)
-+
-+ __asm__ __volatile__(
-+ "ldrex %0, [%2]; \n"
-+ "cmp %0, %1; \n"
-+ "strexne %0, %1, [%2]; \n"
-+ BOOST_SP_ARM_BARRIER :
-+ "=&r"( r ): // outputs
-+ "r"( 1 ), "r"( &v_ ): // inputs
-+ "memory", "cc" );
-+
-+#else
-+
- __asm__ __volatile__(
-- "swp %0, %1, [%2]\n\t"
-- BOOST_SP_ARM_BARRIER :
-+ "swp %0, %1, [%2];\n"
-+ BOOST_SP_ARM_BARRIER :
- "=&r"( r ): // outputs
- "r"( 1 ), "r"( &v_ ): // inputs
- "memory", "cc" );
-
-+#endif
-+
- return r == 0;
- }
-
---
-1.7.10
-
@@ -1,4 +0,0 @@
-using gcc : : arm-unknown-linux-gnueabi-g++ :
- <cflags>"-fvisibility-inlines-hidden -DBOOST_AC_USE_PTHREADS -DBOOST_SP_USE_PTHREADS"
- <cxxflags>"-fvisibility-inlines-hidden -DBOOST_AC_USE_PTHREADS -DBOOST_SP_USE_PTHREADS"
-;
@@ -1 +0,0 @@
-bzip2-1.0.6
@@ -1,41 +0,0 @@
-include ../../Makefile.include
-include ../depends.mk
-
-# lib name, version
-LIBNAME=bzip2
-VERSION=1.0.6
-SOURCE=$(LIBNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.gz
-
-# configuration settings
-CONFIGURE=./configure --prefix=$(PREFIX) --host=$(HOST)
-
-LIBDYLIB=$(SOURCE)/.libs/(LIBNAME).so
-
-CLEAN_FILES=$(ARCHIVE) $(SOURCE)
-
-all: $(LIBDYLIB) .installed
-
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-
-$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
- rm -rf $(SOURCE)
- $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- echo $(SOURCE) > .gitignore
- cd $(SOURCE); patch -p1 <../Makefile.patch
-
-$(LIBDYLIB): $(SOURCE)
- make -j $(JOBS) -C $(SOURCE) PREFIX=$(PREFIX)
-
-.installed:
- make -C $(SOURCE) install PREFIX=$(PREFIX)
- rm -rf $(PREFIX)/bin/bz*
- touch $@
-
-clean:
- make -C $(SOURCE) clean
- rm -f .installed
-
-distclean::
- rm -rf $(SOURCE) .installed
@@ -1,34 +0,0 @@
---- Makefile 2008-02-14 14:39:18.000000000 +0200
-+++ ../Makefile 2009-08-30 15:59:16.000000000 +0300
-@@ -15,16 +15,16 @@
- SHELL=/bin/sh
-
- # To assist in cross-compiling
--CC=gcc
--AR=ar
--RANLIB=ranlib
--LDFLAGS=
-+#CC=gcc
-+#AR=ar
-+#RANLIB=ranlib
-+#LDFLAGS=
-
- BIGFILES=-D_FILE_OFFSET_BITS=64
--CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
-+#CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
-
- # Where you want it installed when you do 'make install'
--PREFIX=/usr/local
-+#PREFIX=/usr/local
-
-
- OBJS= blocksort.o \
-@@ -35,7 +35,7 @@
- decompress.o \
- bzlib.o
-
--all: libbz2.a bzip2 bzip2recover test
-+all: libbz2.a bzip2 bzip2recover
-
- bzip2: libbz2.a bzip2.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
@@ -1 +0,0 @@
-curl-7.19.4
@@ -1,44 +0,0 @@
-include ../../Makefile.include
-include ../depends.mk
-
-# lib name, version
-LIBNAME=curl
-VERSION=7.19.4
-SOURCE=$(LIBNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.bz2
-
-# configuration settings
-export CFLAGS+=-L$(TARGETFS)/lib -L$(PREFIX)/lib
-CONFIGURE=./configure --prefix=$(PREFIX) --host=$(HOST) \
- --with-libssh2=$(PREFIX) \
- --with-random=/dev/urandom
-
-LIBDYLIB=$(SOURCE)/.libs/(LIBNAME).so
-
-CLEAN_FILES=$(ARCHIVE) $(SOURCE)
-
-all: $(LIBDYLIB) .installed
-
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-
-$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
- rm -rf $(SOURCE)
- $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- echo $(SOURCE) > .gitignore
- cd $(SOURCE); $(CONFIGURE)
-
-$(LIBDYLIB): $(SOURCE)
- make -j $(JOBS) -C $(SOURCE)
-
-.installed:
- make -C $(SOURCE) install
- touch $@
-
-clean:
- make -C $(SOURCE) clean
- rm -f .installed
-
-distclean::
- rm -rf $(SOURCE) .installed
-
@@ -1 +0,0 @@
-dbus-1.4.6
@@ -1,41 +0,0 @@
-include ../../Makefile.include
-include ../depends.mk
-
-# lib name, version
-LIBNAME=dbus
-VERSION=1.4.6
-SOURCE=$(LIBNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.gz
-
-# configuration settings
-CONFIGURE=./configure --prefix=$(PREFIX) --host=$(HOST) \
- --without-x --disable-xml-docs --disable-doxygen-docs
-
-LIBDYLIB=$(SOURCE)/$(LIBNAME)/.libs/$(LIBNAME).so
-
-CLEAN_FILES=$(ARCHIVE) $(SOURCE)
-
-all: $(LIBDYLIB) .installed
-
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-
-$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
- rm -rf $(SOURCE)
- $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- echo $(SOURCE) > .gitignore
- cd $(SOURCE); $(CONFIGURE)
-
-$(LIBDYLIB): $(SOURCE)
- make -j $(JOBS) -C $(SOURCE)
-
-.installed:
- make -C $(SOURCE) install
- touch $@
-
-clean:
- make -C $(SOURCE) clean
- rm -f .installed
-
-distclean::
- rm -rf $(SOURCE) .installed
@@ -1 +0,0 @@
-enca-1.12
Oops, something went wrong.

0 comments on commit efef226

Please sign in to comment.