Changeset 431


Ignore:
Timestamp:
Sep 17, 2009, 10:06:34 AM (10 years ago)
Author:
smurzch2
Message:

Add WRT54G target in the cmake builds.

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r215 r431  
    2323        set (OSCamOperatingSystem "Fonera2")
    2424        set (CS_OS_HW "fonera2")
     25        set (CS_OS_SYS "linux")
     26    elseif (OSCAM_SYSTEM_NAME MATCHES "WRT54G")
     27        set (OSCamOperatingSystem "WRT54G")
     28        set (CS_OS_HW "wrt54g")
    2529        set (CS_OS_SYS "linux")
    2630    elseif (OSCAM_SYSTEM_NAME MATCHES "Amino")
     
    8286    add_definitions ("-DOS_LINUX -DMIPSEL -DUCLIBC")
    8387    set (DEFAULT_CS_CONFDIR "/var/etc")
     88elseif (OSCamOperatingSystem MATCHES "WRT54G")
     89    add_definitions ("-DOS_LINUX -DMIPSEL -DUCLIBC -DUSE_GPIO")
     90    set (DEFAULT_CS_CONFDIR "/jffs/etc/config/oscam")
    8491elseif (OSCamOperatingSystem MATCHES "Amino")
    8592    add_definitions ("-DOS_LINUX")
     
    159166    target_link_libraries ( ${exe_name} dl)
    160167elseif (OSCamOperatingSystem MATCHES "Fonera2")
     168elseif (OSCamOperatingSystem MATCHES "WRT54G")
    161169elseif (OSCamOperatingSystem MATCHES "Amino")
    162170elseif (OSCamOperatingSystem MATCHES "Windows/cygwin")
Note: See TracChangeset for help on using the changeset viewer.