Changeset 14994


Ignore:
Timestamp:
2009-03-23T18:56:28+01:00 (7 years ago)
Author:
nbd
Message:

clean up uclibc patch/config version handling a bit

Location:
trunk/toolchain/uClibc
Files:
6 added
1 edited
83 moved

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/uClibc/Makefile

    r14862 r14994  
    1919  PKG_SOURCE:=uClibc-$(PKG_VERSION)$(PKG_EXTRAVERSION).tar.bz2 
    2020endif 
    21 PATCH_DIR:=./patches/$(PKG_VERSION)$(PKG_EXTRAVERSION) 
    22 CONFIG_DIR:=./config/$(PKG_VERSION)$(PKG_EXTRAVERSION) 
     21PATCH_DIR:=$(firstword $(wildcard ./patches-$(PKG_VERSION)$(PKG_EXTRAVERSION) ./patches-$(PKG_VERSION))) 
     22CONFIG_DIR:=$(firstword $(wildcard ./config-$(PKG_VERSION)$(PKG_EXTRAVERSION) ./config-$(PKG_VERSION))) 
    2323 
    24 ifeq ($(PKG_VERSION),0.9.28) 
    25   ifeq ($(PKG_EXTRAVERSION),.2) 
    26     PKG_MD5SUM:=959f25286e317f0d9e2103445c5a14c2 
    27   endif 
    28   ifeq ($(PKG_EXTRAVERSION),.3) 
    29     PKG_MD5SUM:=428405a36b4662980d9343b32089b5a6 
    30   endif 
    31 endif 
    32  
    33 ifeq ($(PKG_VERSION),0.9.29) 
    34   ifeq ($(PKG_EXTRAVERSION),) 
    35     # currently the default version, no special sub-directory needed 
    36     PATCH_DIR:=./patches 
    37     CONFIG_DIR:=./config 
    38     PKG_MD5SUM:=61dc55f43b17a38a074f347e74095b20 
    39   endif 
    40 endif 
    41  
    42 ifeq ($(PKG_VERSION),0.9.30) 
    43   ifeq ($(PKG_EXTRAVERSION),) 
    44     PKG_MD5SUM:=e5766e2566e0297adebebbcc0aba1f2d 
    45   endif 
    46 endif 
     24PKG_MD5SUM_0.9.28.2 = 959f25286e317f0d9e2103445c5a14c2 
     25PKG_MD5SUM_0.9.28.3 = 428405a36b4662980d9343b32089b5a6 
     26PKG_MD5SUM_0.9.29 = 61dc55f43b17a38a074f347e74095b20 
     27PKG_MD5SUM_0.9.30 = e5766e2566e0297adebebbcc0aba1f2d 
     28PKG_MD5SUM=$(PKG_MD5SUM_$(PKG_VERSION)$(PKG_EXTRAVERSION)) 
    4729 
    4830ifeq ($(PKG_VERSION_SNAPSHOT),y) 
    4931  PATCH_DIR:= 
    50   CONFIG_DIR:=./config 
     32  CONFIG_DIR:=./config-0.9.30 
    5133  PKG_MD5SUM:= 
    5234endif 
Note: See TracChangeset for help on using the changeset viewer.