Changeset 2789

Show
Ignore:
Timestamp:
06/14/07 10:38:37 (2 years ago)
Author:
tg
Message:

simplify kernel version selection
this code depends on Config.in always defining either
FWRT_LINUX_2_4 xor FWRT_LINUX_2_4 to 'y'

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/rules.mk

    r2662 r2789  
    8383UNAME_S:=               Linux 
    8484 
    85 ifeq ($(strip ${FWRT_LINUX_2_4_BRCM}),y) 
     85ifeq ($(strip ${FWRT_LINUX_2_4}),y) 
    8686UNAME_R:=               2.4.34 
    87 else ifeq ($(strip ${FWRT_LINUX_2_6_BRCM}),y) 
    88 UNAME_R:=               2.6.19.1 
    89 else ifeq ($(strip ${FWRT_LINUX_2_4_RB}),y) 
    90 UNAME_R:=               2.4.34 
    91 else ifeq ($(strip ${FWRT_LINUX_2_4_X86}),y) 
    92 UNAME_R:=               2.4.34 
    93 else ifeq ($(strip ${FWRT_LINUX_2_6_RB}),y) 
    94 UNAME_R:=               2.6.19.1 
    95 else ifeq ($(strip ${FWRT_LINUX_2_6_X86}),y) 
     87else ifeq ($(strip ${FWRT_LINUX_2_6}),y) 
    9688UNAME_R:=               2.6.19.1 
    9789else