Add support for FreeBSD ARM 64bit (no debugger support)

This commit is contained in:
Tiago Gasiba
2024-03-19 14:32:47 +01:00
parent 147c5e58e1
commit e7aabddb34
6 changed files with 17 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ model {
targetPlatform "mac_x86_64"
targetPlatform "mac_arm_64"
targetPlatform "freebsd_x86_64"
targetPlatform "freebsd_arm_64"
sources {
c {
source {
@@ -104,6 +105,7 @@ model {
targetPlatform "mac_x86_64"
targetPlatform "mac_arm_64"
targetPlatform "freebsd_x86_64"
targetPlatform "freebsd_arm_64"
sources {
c {
source {

View File

@@ -54,7 +54,11 @@ model {
}
if (isCurrentFreeBSD()) {
gcc(Gcc) {
target("freebsd_x86_64")
if (isCurrentArm_64()) {
target("freebsd_arm_64")
} else {
target("freebsd_x86_64")
}
}
}
if (isCurrentWindows() && VISUAL_STUDIO_INSTALL_DIR) {

View File

@@ -25,7 +25,8 @@ project.ext.PLATFORMS = [
[name: "linux_arm_64", os: "linux", arch: "arm64"],
[name: "mac_x86_64", os: "osx", arch: "x86_64"],
[name: "mac_arm_64", os: "osx", arch: "arm64"],
[name: "freebsd_x86_64", os: "freebsd", arch: "x86_64"]
[name: "freebsd_x86_64", os: "freebsd", arch: "x86_64"],
[name: "freebsd_arm_64", os: "freebsd", arch: "arm64"]
]
/*********************************************************************************