Changeset 4672


Ignore:
Timestamp:
Feb 2, 2011, 2:23:30 PM (8 years ago)
Author:
Deas
Message:

cmake: add FriendlyARM platform (http://streamboard.gmc.to/wbb2/thread.php?postid=370384) tnx to darkscout

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r4606 r4672  
    7171        set (OSCamOperatingSystem "Padre")
    7272        set (CS_OS_HW "sparc")
     73        set (CS_OS_SYS "linux")
     74    elseif (OSCAM_SYSTEM_NAME MATCHES "FriendlyARM")
     75        set (OSCamOperatingSystem "FriendlyARM")
     76        set (CS_OS_HW "friendlyarm")
    7377        set (CS_OS_SYS "linux")
    7478    else (OSCAM_SYSTEM_NAME MATCHES "Tuxbox")
     
    207211    add_definitions ("-DOS_FREEBSD")
    208212    set (DEFAULT_CS_CONFDIR ".")
     213elseif (OSCamOperatingSystem MATCHES "FriendlyARM")
     214    add_definitions ("-DOS_LINUX -DARM")
     215    set (DEFAULT_CS_CONFDIR ".")
    209216endif (OSCamOperatingSystem MATCHES "Linux")
    210217
     
    554561elseif (OSCAM_SYSTEM_NAME MATCHES "Padre")
    555562    add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")
     563elseif (OSCAM_SYSTEM_NAME MATCHES "FriendlyARM")
     564    add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")
    556565else (OSCamOperatingSystem MATCHES "Mac OS X")
    557566    add_definitions ("-Winline -Wall -Wextra")
Note: See TracChangeset for help on using the changeset viewer.