-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platforms infra is in...all old eros ones too, closes #2
- Loading branch information
Showing
14 changed files
with
175 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys | ||
import yujin_tools | ||
|
||
if __name__ == "__main__": | ||
yujin_tools.init_build() | ||
|
||
import yujin_tools.console as console | ||
|
||
if __name__ == '__main__': | ||
try: | ||
sys.exit(yujin_tools.init_build()) | ||
except Exception as e: | ||
console.logerror(str(e)) | ||
sys.exit(1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
############################################################################### | ||
# Family : arm | ||
# Platform : arm1176jzf-s | ||
############################################################################### | ||
|
||
# Some useful custom variables that uniquely define this platform module | ||
set(PLATFORM_FAMILY "arm" CACHE STRING "Platform family, usually referring to intel/arm etc.") | ||
set(PLATFORM_NAME "arm1176jzf-s" CACHE STRING "Platform name, usually referring to the cpu architecture.") | ||
|
||
# Flags | ||
set(PLATFORM_CXX_FLAGS "-march=armv6 -mtune=arm1176jzf-s -pipe -mfloat-abi=softfp -mfpu=vfp" CACHE STRING "Compile flags specific to this platform.") | ||
set(PLATFORM_LINK_FLAGS "" CACHE STRING "Link flags specific to this platform.") |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
############################################################################### | ||
# Family : generic | ||
# Platform : vanilla | ||
############################################################################### | ||
# | ||
# This is a special platform configuration in as much as its not special, just | ||
# represents empty defaults. | ||
# | ||
# Some useful custom variables that uniquely define this platform module | ||
set(PLATFORM_FAMILY "generic" CACHE STRING "Platform family, usually referring to intel/arm etc.") | ||
set(PLATFORM_NAME "vanilla" CACHE STRING "Platform name, usually referring to the cpu architecture.") | ||
|
||
# Flags | ||
set(PLATFORM_CXX_FLAGS "" CACHE STRING "Compile flags specific to this platform.") | ||
set(PLATFORM_LINK_FLAGS "" CACHE STRING "Link flags specific to this platform.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
############################################################################### | ||
# Family : generic | ||
# Platform : native | ||
############################################################################### | ||
|
||
# Some useful custom variables that uniquely define this platform module | ||
set(PLATFORM_FAMILY "generic" CACHE STRING "Platform family, usually referring to intel/arm etc.") | ||
set(PLATFORM_NAME "native" CACHE STRING "Platform name, usually referring to the cpu architecture.") | ||
|
||
# Flags | ||
# See here http://en.gentoo-wiki.com/wiki/Safe_Cflags for cpu type. | ||
set(PLATFORM_CXX_FLAGS "-march=native -pipe" CACHE STRING "Compile flags specific to this platform.") | ||
set(PLATFORM_LINK_FLAGS "" CACHE STRING "Link flags specific to this platform.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
############################################################################### | ||
# Family : intel | ||
# Platform : atom330 | ||
############################################################################### | ||
|
||
# Some useful custom variables that uniquely define this platform module | ||
set(PLATFORM_FAMILY "intel" CACHE STRING "Platform family, usually referring to intel/arm etc.") | ||
set(PLATFORM_NAME "atom330" CACHE STRING "Platform name, usually referring to the cpu architecture.") | ||
|
||
# Flags | ||
# Refer to http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel for cpu type. | ||
# Refer to http://en.gentoo-wiki.com/wiki/Safe_Cflags#General_Information_on_CFLAGS. | ||
# From gcc 4.5+ we can start using -march=atom -mtune=atom | ||
set(PLATFORM_CXX_FLAGS "-march=prescott -mtune=generic -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -mssse3" CACHE STRING "Compile flags specific to this platform.") | ||
set(PLATFORM_LINK_FLAGS "" CACHE STRING "Link flags specific to this platform.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
############################################################################### | ||
# Family : intel | ||
# Platform : atomn270 | ||
############################################################################### | ||
|
||
# Some useful custom variables that uniquely define this platform module | ||
set(PLATFORM_FAMILY "intel" CACHE STRING "Platform family, usually referring to intel/arm etc.") | ||
set(PLATFORM_NAME "atomn270" CACHE STRING "Platform name, usually referring to the cpu architecture.") | ||
|
||
# Flags | ||
# Refer to http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel for cpu type. | ||
# Refer to http://en.gentoo-wiki.com/wiki/Safe_Cflags#General_Information_on_CFLAGS. | ||
# From gcc 4.5+ we can start using -march=atom -mtune=atom | ||
set(PLATFORM_CXX_FLAGS "-march=core2 -mtune=generic -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -mssse3" CACHE STRING "Compile flags specific to this platform.") | ||
set(PLATFORM_LINK_FLAGS "" CACHE STRING "Link flags specific to this platform.") |
Oops, something went wrong.