Browse Source

clean up uclibc patch/config version handling a bit

SVN-Revision: 14994
Felix Fietkau 16 years ago
parent
commit
03205ec740
84 changed files with 8 additions and 26 deletions
  1. 8 26
      toolchain/uClibc/Makefile
  2. 0 0
      toolchain/uClibc/config-0.9.28/arm
  3. 0 0
      toolchain/uClibc/config-0.9.28/armeb
  4. 0 0
      toolchain/uClibc/config-0.9.28/avr32
  5. 0 0
      toolchain/uClibc/config-0.9.28/cris
  6. 0 0
      toolchain/uClibc/config-0.9.28/i386
  7. 0 0
      toolchain/uClibc/config-0.9.28/mips
  8. 0 0
      toolchain/uClibc/config-0.9.28/mipsel
  9. 0 0
      toolchain/uClibc/config-0.9.28/powerpc
  10. 0 0
      toolchain/uClibc/config-0.9.28/x86_64
  11. 0 0
      toolchain/uClibc/config-0.9.29/arm
  12. 0 0
      toolchain/uClibc/config-0.9.29/arm.storm
  13. 0 0
      toolchain/uClibc/config-0.9.29/armeb
  14. 0 0
      toolchain/uClibc/config-0.9.29/avr32
  15. 0 0
      toolchain/uClibc/config-0.9.29/cris
  16. 0 0
      toolchain/uClibc/config-0.9.29/i386
  17. 0 0
      toolchain/uClibc/config-0.9.29/i686
  18. 0 0
      toolchain/uClibc/config-0.9.29/mips
  19. 0 0
      toolchain/uClibc/config-0.9.29/mipsel
  20. 0 0
      toolchain/uClibc/config-0.9.29/powerpc
  21. 0 0
      toolchain/uClibc/config-0.9.29/x86_64
  22. 0 0
      toolchain/uClibc/config-0.9.30/arm
  23. 0 0
      toolchain/uClibc/config-0.9.30/arm.storm
  24. 0 0
      toolchain/uClibc/config-0.9.30/armeb
  25. 0 0
      toolchain/uClibc/config-0.9.30/avr32
  26. 0 0
      toolchain/uClibc/config-0.9.30/cris
  27. 0 0
      toolchain/uClibc/config-0.9.30/i386
  28. 0 0
      toolchain/uClibc/config-0.9.30/i686
  29. 0 0
      toolchain/uClibc/config-0.9.30/mips
  30. 0 0
      toolchain/uClibc/config-0.9.30/mipsel
  31. 0 0
      toolchain/uClibc/config-0.9.30/powerpc
  32. 0 0
      toolchain/uClibc/config-0.9.30/x86_64
  33. 0 0
      toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch
  34. 0 0
      toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch
  35. 0 0
      toolchain/uClibc/patches-0.9.28/150-portability.patch
  36. 0 0
      toolchain/uClibc/patches-0.9.28/160-move_stack_end.patch
  37. 0 0
      toolchain/uClibc/patches-0.9.28/180-fix_kernel_types_with_recent_kernel.patch
  38. 0 0
      toolchain/uClibc/patches-0.9.28/200-cris-syscall6.patch
  39. 0 0
      toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch
  40. 0 0
      toolchain/uClibc/patches-0.9.28/240-cris-crt0.patch
  41. 0 0
      toolchain/uClibc/patches-0.9.28/250-cris-errno.patch
  42. 0 0
      toolchain/uClibc/patches-0.9.28/300-let-optimized-stringops-override-default-ones.patch
  43. 0 0
      toolchain/uClibc/patches-0.9.28/301-fix-getrusage-argument-type.patch
  44. 0 0
      toolchain/uClibc/patches-0.9.28/302-fix-__libc_fcntl64-varargs-prototype.patch
  45. 0 0
      toolchain/uClibc/patches-0.9.28/303-fix-broken-__libc_open-declaration.patch
  46. 0 0
      toolchain/uClibc/patches-0.9.28/400-avr32-arch-2.patch
  47. 0 0
      toolchain/uClibc/patches-0.9.28/401-avr32-linkrelax-option.patch
  48. 0 0
      toolchain/uClibc/patches-0.9.28/402-avr32-string-ops.patch
  49. 0 0
      toolchain/uClibc/patches-0.9.28/403-no-create_module-on-avr32.patch
  50. 0 0
      toolchain/uClibc/patches-0.9.28/407-ldso-avr32-2.patch
  51. 0 0
      toolchain/uClibc/patches-0.9.28/409-ldso-avr32-startup-hack.patch
  52. 0 0
      toolchain/uClibc/patches-0.9.28/410-ldd-avr32-support.patch
  53. 0 0
      toolchain/uClibc/patches-0.9.28/411-libpthread-avr32.patch
  54. 0 0
      toolchain/uClibc/patches-0.9.28/412-sync-fcntl-h-with-linux-kernel.patch
  55. 0 0
      toolchain/uClibc/patches-0.9.29/001-fix_mmap.patch
  56. 0 0
      toolchain/uClibc/patches-0.9.29/002-conditional_sched_affinity.patch
  57. 0 0
      toolchain/uClibc/patches-0.9.29/004-fix_gethostent_r_failure_retval.patch
  58. 0 0
      toolchain/uClibc/patches-0.9.29/005-fix_internal_function_definition.patch
  59. 0 0
      toolchain/uClibc/patches-0.9.29/006-rm_whitespace.patch
  60. 0 0
      toolchain/uClibc/patches-0.9.29/007-avr32.patch
  61. 0 0
      toolchain/uClibc/patches-0.9.29/008-avr32_fix_sa_onstack.patch
  62. 0 0
      toolchain/uClibc/patches-0.9.29/009-fix_getaddrinfo_infinite_loop.patch
  63. 0 0
      toolchain/uClibc/patches-0.9.29/100-termios.patch
  64. 0 0
      toolchain/uClibc/patches-0.9.29/110-compat_macros.patch
  65. 0 0
      toolchain/uClibc/patches-0.9.29/120-adjtimex.patch
  66. 0 0
      toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch
  67. 0 0
      toolchain/uClibc/patches-0.9.29/130-sockets_throw.patch
  68. 0 0
      toolchain/uClibc/patches-0.9.29/131-arm_ftruncate64.patch
  69. 0 0
      toolchain/uClibc/patches-0.9.29/132-arm_fix_alignment.patch
  70. 0 0
      toolchain/uClibc/patches-0.9.29/133-unistd_arm.patch
  71. 0 0
      toolchain/uClibc/patches-0.9.29/140-fix-endless-recursion-in-pthread.patch
  72. 0 0
      toolchain/uClibc/patches-0.9.29/150-fix-ldso-text-realloc-segfault.patch
  73. 0 0
      toolchain/uClibc/patches-0.9.29/160-mips_syscall.patch
  74. 0 0
      toolchain/uClibc/patches-0.9.29/170-enable-getifaddrs.patch
  75. 0 0
      toolchain/uClibc/patches-0.9.29/180-fix_kernel_types_with_recent_kernel.patch
  76. 0 0
      toolchain/uClibc/patches-0.9.29/190-install_tls.patch
  77. 0 0
      toolchain/uClibc/patches-0.9.29/200-libpthread_fix.patch
  78. 0 0
      toolchain/uClibc/patches-0.9.29/210-trunc.patch
  79. 0 0
      toolchain/uClibc/patches-0.9.29/220-libpthread_sysdep_fixes.patch
  80. 0 0
      toolchain/uClibc/patches-0.9.29/910-gcc_4_3_include_fixed.patch
  81. 0 0
      toolchain/uClibc/patches-0.9.30/110-compat_macros.patch
  82. 0 0
      toolchain/uClibc/patches-0.9.30/120-adjtimex.patch
  83. 0 0
      toolchain/uClibc/patches-0.9.30/130-sockets_throw.patch
  84. 0 0
      toolchain/uClibc/patches-0.9.30/180-fix_kernel_types_with_recent_kernel.patch

+ 8 - 26
toolchain/uClibc/Makefile

@@ -18,36 +18,18 @@ else
   PKG_SOURCE_URL:=http://www.uclibc.org/downloads
   PKG_SOURCE_URL:=http://www.uclibc.org/downloads
   PKG_SOURCE:=uClibc-$(PKG_VERSION)$(PKG_EXTRAVERSION).tar.bz2
   PKG_SOURCE:=uClibc-$(PKG_VERSION)$(PKG_EXTRAVERSION).tar.bz2
 endif
 endif
-PATCH_DIR:=./patches/$(PKG_VERSION)$(PKG_EXTRAVERSION)
-CONFIG_DIR:=./config/$(PKG_VERSION)$(PKG_EXTRAVERSION)
-
-ifeq ($(PKG_VERSION),0.9.28)
-  ifeq ($(PKG_EXTRAVERSION),.2)
-    PKG_MD5SUM:=959f25286e317f0d9e2103445c5a14c2
-  endif
-  ifeq ($(PKG_EXTRAVERSION),.3)
-    PKG_MD5SUM:=428405a36b4662980d9343b32089b5a6
-  endif
-endif
-
-ifeq ($(PKG_VERSION),0.9.29)
-  ifeq ($(PKG_EXTRAVERSION),)
-    # currently the default version, no special sub-directory needed
-    PATCH_DIR:=./patches
-    CONFIG_DIR:=./config
-    PKG_MD5SUM:=61dc55f43b17a38a074f347e74095b20
-  endif
-endif
+PATCH_DIR:=$(firstword $(wildcard ./patches-$(PKG_VERSION)$(PKG_EXTRAVERSION) ./patches-$(PKG_VERSION)))
+CONFIG_DIR:=$(firstword $(wildcard ./config-$(PKG_VERSION)$(PKG_EXTRAVERSION) ./config-$(PKG_VERSION)))
 
 
-ifeq ($(PKG_VERSION),0.9.30)
-  ifeq ($(PKG_EXTRAVERSION),)
-    PKG_MD5SUM:=e5766e2566e0297adebebbcc0aba1f2d
-  endif
-endif
+PKG_MD5SUM_0.9.28.2 = 959f25286e317f0d9e2103445c5a14c2
+PKG_MD5SUM_0.9.28.3 = 428405a36b4662980d9343b32089b5a6
+PKG_MD5SUM_0.9.29 = 61dc55f43b17a38a074f347e74095b20
+PKG_MD5SUM_0.9.30 = e5766e2566e0297adebebbcc0aba1f2d
+PKG_MD5SUM=$(PKG_MD5SUM_$(PKG_VERSION)$(PKG_EXTRAVERSION))
 
 
 ifeq ($(PKG_VERSION_SNAPSHOT),y)
 ifeq ($(PKG_VERSION_SNAPSHOT),y)
   PATCH_DIR:=
   PATCH_DIR:=
-  CONFIG_DIR:=./config
+  CONFIG_DIR:=./config-0.9.30
   PKG_MD5SUM:=
   PKG_MD5SUM:=
 endif
 endif
 
 

+ 0 - 0
toolchain/uClibc/config/0.9.28.2/arm → toolchain/uClibc/config-0.9.28/arm


+ 0 - 0
toolchain/uClibc/config/0.9.28.2/armeb → toolchain/uClibc/config-0.9.28/armeb


+ 0 - 0
toolchain/uClibc/config/0.9.28.2/avr32 → toolchain/uClibc/config-0.9.28/avr32


+ 0 - 0
toolchain/uClibc/config/0.9.28.2/cris → toolchain/uClibc/config-0.9.28/cris


+ 0 - 0
toolchain/uClibc/config/0.9.28.2/i386 → toolchain/uClibc/config-0.9.28/i386


+ 0 - 0
toolchain/uClibc/config/0.9.28.2/mips → toolchain/uClibc/config-0.9.28/mips


+ 0 - 0
toolchain/uClibc/config/0.9.28.2/mipsel → toolchain/uClibc/config-0.9.28/mipsel


+ 0 - 0
toolchain/uClibc/config/0.9.28.2/powerpc → toolchain/uClibc/config-0.9.28/powerpc


+ 0 - 0
toolchain/uClibc/config/0.9.28.2/x86_64 → toolchain/uClibc/config-0.9.28/x86_64


+ 0 - 0
toolchain/uClibc/config/arm → toolchain/uClibc/config-0.9.29/arm


+ 0 - 0
toolchain/uClibc/config/arm.storm → toolchain/uClibc/config-0.9.29/arm.storm


+ 0 - 0
toolchain/uClibc/config/armeb → toolchain/uClibc/config-0.9.29/armeb


+ 0 - 0
toolchain/uClibc/config/avr32 → toolchain/uClibc/config-0.9.29/avr32


+ 0 - 0
toolchain/uClibc/config/cris → toolchain/uClibc/config-0.9.29/cris


+ 0 - 0
toolchain/uClibc/config/i386 → toolchain/uClibc/config-0.9.29/i386


+ 0 - 0
toolchain/uClibc/config/i686 → toolchain/uClibc/config-0.9.29/i686


+ 0 - 0
toolchain/uClibc/config/mips → toolchain/uClibc/config-0.9.29/mips


+ 0 - 0
toolchain/uClibc/config/mipsel → toolchain/uClibc/config-0.9.29/mipsel


+ 0 - 0
toolchain/uClibc/config/powerpc → toolchain/uClibc/config-0.9.29/powerpc


+ 0 - 0
toolchain/uClibc/config/x86_64 → toolchain/uClibc/config-0.9.29/x86_64


+ 0 - 0
toolchain/uClibc/config/0.9.30/arm → toolchain/uClibc/config-0.9.30/arm


+ 0 - 0
toolchain/uClibc/config/0.9.30/arm.storm → toolchain/uClibc/config-0.9.30/arm.storm


+ 0 - 0
toolchain/uClibc/config/0.9.30/armeb → toolchain/uClibc/config-0.9.30/armeb


+ 0 - 0
toolchain/uClibc/config/0.9.30/avr32 → toolchain/uClibc/config-0.9.30/avr32


+ 0 - 0
toolchain/uClibc/config/0.9.30/cris → toolchain/uClibc/config-0.9.30/cris


+ 0 - 0
toolchain/uClibc/config/0.9.30/i386 → toolchain/uClibc/config-0.9.30/i386


+ 0 - 0
toolchain/uClibc/config/0.9.30/i686 → toolchain/uClibc/config-0.9.30/i686


+ 0 - 0
toolchain/uClibc/config/0.9.30/mips → toolchain/uClibc/config-0.9.30/mips


+ 0 - 0
toolchain/uClibc/config/0.9.30/mipsel → toolchain/uClibc/config-0.9.30/mipsel


+ 0 - 0
toolchain/uClibc/config/0.9.30/powerpc → toolchain/uClibc/config-0.9.30/powerpc


+ 0 - 0
toolchain/uClibc/config/0.9.30/x86_64 → toolchain/uClibc/config-0.9.30/x86_64


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/100-revert_broken_stuff.patch → toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/120-more_standard_math.patch → toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/150-portability.patch → toolchain/uClibc/patches-0.9.28/150-portability.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/160-move_stack_end.patch → toolchain/uClibc/patches-0.9.28/160-move_stack_end.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/180-fix_kernel_types_with_recent_kernel.patch → toolchain/uClibc/patches-0.9.28/180-fix_kernel_types_with_recent_kernel.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/200-cris-syscall6.patch → toolchain/uClibc/patches-0.9.28/200-cris-syscall6.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/230-cris-pagesize.patch → toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/240-cris-crt0.patch → toolchain/uClibc/patches-0.9.28/240-cris-crt0.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/250-cris-errno.patch → toolchain/uClibc/patches-0.9.28/250-cris-errno.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/300-let-optimized-stringops-override-default-ones.patch → toolchain/uClibc/patches-0.9.28/300-let-optimized-stringops-override-default-ones.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/301-fix-getrusage-argument-type.patch → toolchain/uClibc/patches-0.9.28/301-fix-getrusage-argument-type.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/302-fix-__libc_fcntl64-varargs-prototype.patch → toolchain/uClibc/patches-0.9.28/302-fix-__libc_fcntl64-varargs-prototype.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/303-fix-broken-__libc_open-declaration.patch → toolchain/uClibc/patches-0.9.28/303-fix-broken-__libc_open-declaration.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/400-avr32-arch-2.patch → toolchain/uClibc/patches-0.9.28/400-avr32-arch-2.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/401-avr32-linkrelax-option.patch → toolchain/uClibc/patches-0.9.28/401-avr32-linkrelax-option.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/402-avr32-string-ops.patch → toolchain/uClibc/patches-0.9.28/402-avr32-string-ops.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/403-no-create_module-on-avr32.patch → toolchain/uClibc/patches-0.9.28/403-no-create_module-on-avr32.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/407-ldso-avr32-2.patch → toolchain/uClibc/patches-0.9.28/407-ldso-avr32-2.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/409-ldso-avr32-startup-hack.patch → toolchain/uClibc/patches-0.9.28/409-ldso-avr32-startup-hack.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/410-ldd-avr32-support.patch → toolchain/uClibc/patches-0.9.28/410-ldd-avr32-support.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/411-libpthread-avr32.patch → toolchain/uClibc/patches-0.9.28/411-libpthread-avr32.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.28.2/412-sync-fcntl-h-with-linux-kernel.patch → toolchain/uClibc/patches-0.9.28/412-sync-fcntl-h-with-linux-kernel.patch


+ 0 - 0
toolchain/uClibc/patches/001-fix_mmap.patch → toolchain/uClibc/patches-0.9.29/001-fix_mmap.patch


+ 0 - 0
toolchain/uClibc/patches/002-conditional_sched_affinity.patch → toolchain/uClibc/patches-0.9.29/002-conditional_sched_affinity.patch


+ 0 - 0
toolchain/uClibc/patches/004-fix_gethostent_r_failure_retval.patch → toolchain/uClibc/patches-0.9.29/004-fix_gethostent_r_failure_retval.patch


+ 0 - 0
toolchain/uClibc/patches/005-fix_internal_function_definition.patch → toolchain/uClibc/patches-0.9.29/005-fix_internal_function_definition.patch


+ 0 - 0
toolchain/uClibc/patches/006-rm_whitespace.patch → toolchain/uClibc/patches-0.9.29/006-rm_whitespace.patch


+ 0 - 0
toolchain/uClibc/patches/007-avr32.patch → toolchain/uClibc/patches-0.9.29/007-avr32.patch


+ 0 - 0
toolchain/uClibc/patches/008-avr32_fix_sa_onstack.patch → toolchain/uClibc/patches-0.9.29/008-avr32_fix_sa_onstack.patch


+ 0 - 0
toolchain/uClibc/patches/009-fix_getaddrinfo_infinite_loop.patch → toolchain/uClibc/patches-0.9.29/009-fix_getaddrinfo_infinite_loop.patch


+ 0 - 0
toolchain/uClibc/patches/100-termios.patch → toolchain/uClibc/patches-0.9.29/100-termios.patch


+ 0 - 0
toolchain/uClibc/patches/110-compat_macros.patch → toolchain/uClibc/patches-0.9.29/110-compat_macros.patch


+ 0 - 0
toolchain/uClibc/patches/120-adjtimex.patch → toolchain/uClibc/patches-0.9.29/120-adjtimex.patch


+ 0 - 0
toolchain/uClibc/patches/130-compile_fixes.patch → toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch


+ 0 - 0
toolchain/uClibc/patches/130-sockets_throw.patch → toolchain/uClibc/patches-0.9.29/130-sockets_throw.patch


+ 0 - 0
toolchain/uClibc/patches/131-arm_ftruncate64.patch → toolchain/uClibc/patches-0.9.29/131-arm_ftruncate64.patch


+ 0 - 0
toolchain/uClibc/patches/132-arm_fix_alignment.patch → toolchain/uClibc/patches-0.9.29/132-arm_fix_alignment.patch


+ 0 - 0
toolchain/uClibc/patches/133-unistd_arm.patch → toolchain/uClibc/patches-0.9.29/133-unistd_arm.patch


+ 0 - 0
toolchain/uClibc/patches/140-fix-endless-recursion-in-pthread.patch → toolchain/uClibc/patches-0.9.29/140-fix-endless-recursion-in-pthread.patch


+ 0 - 0
toolchain/uClibc/patches/150-fix-ldso-text-realloc-segfault.patch → toolchain/uClibc/patches-0.9.29/150-fix-ldso-text-realloc-segfault.patch


+ 0 - 0
toolchain/uClibc/patches/160-mips_syscall.patch → toolchain/uClibc/patches-0.9.29/160-mips_syscall.patch


+ 0 - 0
toolchain/uClibc/patches/170-enable-getifaddrs.patch → toolchain/uClibc/patches-0.9.29/170-enable-getifaddrs.patch


+ 0 - 0
toolchain/uClibc/patches/180-fix_kernel_types_with_recent_kernel.patch → toolchain/uClibc/patches-0.9.29/180-fix_kernel_types_with_recent_kernel.patch


+ 0 - 0
toolchain/uClibc/patches/190-install_tls.patch → toolchain/uClibc/patches-0.9.29/190-install_tls.patch


+ 0 - 0
toolchain/uClibc/patches/200-libpthread_fix.patch → toolchain/uClibc/patches-0.9.29/200-libpthread_fix.patch


+ 0 - 0
toolchain/uClibc/patches/210-trunc.patch → toolchain/uClibc/patches-0.9.29/210-trunc.patch


+ 0 - 0
toolchain/uClibc/patches/220-libpthread_sysdep_fixes.patch → toolchain/uClibc/patches-0.9.29/220-libpthread_sysdep_fixes.patch


+ 0 - 0
toolchain/uClibc/patches/910-gcc_4_3_include_fixed.patch → toolchain/uClibc/patches-0.9.29/910-gcc_4_3_include_fixed.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.30/110-compat_macros.patch → toolchain/uClibc/patches-0.9.30/110-compat_macros.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.30/120-adjtimex.patch → toolchain/uClibc/patches-0.9.30/120-adjtimex.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch → toolchain/uClibc/patches-0.9.30/130-sockets_throw.patch


+ 0 - 0
toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch → toolchain/uClibc/patches-0.9.30/180-fix_kernel_types_with_recent_kernel.patch