Changeset 2953 for trunk/CMakeLists.txt


Ignore:
Timestamp:
08/25/10 19:11:44 (10 years ago)
Author:
rorothetroll
Message:

added Seagate FreeAgent DockStar support. thanks Robby

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r2891 r2953  
    3030    elseif (OSCAM_SYSTEM_NAME MATCHES "NSLU2")
    3131        set (OSCamOperatingSystem "SlugOS")
    32             set (CS_OS_HW "nslu2")
    33             set (CS_OS_SYS "linux")
     32    set (CS_OS_HW "nslu2")
     33    set (CS_OS_SYS "linux")
     34    elseif (OSCAM_SYSTEM_NAME MATCHES "Dockstar")
     35        set (OSCamOperatingSystem "OpenWRT")
     36        set (CS_OS_HW "dockstar")
     37        set (CS_OS_SYS "linux")
    3438    elseif (OSCAM_SYSTEM_NAME MATCHES "Fonera2")
    3539        set (OSCamOperatingSystem "Fonera2")
     
    154158    add_definitions ("-DOS_LINUX -DARM")
    155159    set (DEFAULT_CS_CONFDIR "/var/etc")
     160elseif (OSCamOperatingSystem MATCHES "OpenWRT")
     161    if (CS_OS_HW MATCHES "dockstar")
     162        add_definitions ("-DOS_LINUX -DARM -DDOCKSTAR")
     163    else (CS_OS_HW MATCHES "dockstar")
     164        add_definitions ("-DOS_LINUX -DARM")
     165    endif (CS_OS_HW MATCHES "dockstar")
     166    set (DEFAULT_CS_CONFDIR "/usr/oscam")
    156167elseif (OSCamOperatingSystem MATCHES "Fonera2")
    157168    add_definitions ("-DOS_LINUX -DMIPSEL -DUCLIBC")
     
    436447    target_link_libraries ( ${exe_name} dl)
    437448elseif (OSCamOperatingSystem MATCHES "SlugOS")
     449elseif (OSCamOperatingSystem MATCHES "OpenWRT")
    438450elseif (OSCamOperatingSystem MATCHES "Fonera2")
    439451elseif (OSCamOperatingSystem MATCHES "agv2+w")
     
    495507    add_definitions ("-O2 -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -m32 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk")
    496508elseif (OSCAM_SYSTEM_NAME MATCHES "NSLU2")
     509    add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")
     510elseif (OSCAM_SYSTEM_NAME MATCHES "Dockstar")
    497511    add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")
    498512else (OSCamOperatingSystem MATCHES "Mac OS X")
Note: See TracChangeset for help on using the changeset viewer.