1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
|
my %targets = (
"debian" => {
cflags => add("-Wa,--noexecstack -Wall -fzero-call-used-regs=used-gpr"),
},
"debian-alpha" => {
inherit_from => [ "linux-alpha-gcc", "debian" ],
},
"debian-alpha-ev4" => {
inherit_from => [ "debian-alpha" ],
cflags => add("-mcpu=ev4"),
},
"debian-alpha-ev5" => {
inherit_from => [ "debian-alpha" ],
cflags => add("-mcpu=ev5"),
},
"debian-arc" => {
inherit_from => [ "linux-latomic", "debian" ],
},
"debian-arm64" => {
inherit_from => [ "linux-aarch64", "debian" ],
},
"debian-arm64ilp32" => {
inherit_from => [ "linux-arm64ilp32", "debian" ],
},
"debian-armel" => {
inherit_from => [ "linux-armv4", "debian" ],
},
"debian-armhf" => {
inherit_from => [ "linux-armv4", "debian" ],
},
"debian-amd64" => {
inherit_from => [ "linux-x86_64", "debian" ],
},
"debian-i386" => {
inherit_from => [ "linux-elf", "debian" ],
},
"debian-avr32" => {
inherit_from => [ "linux-generic32", "debian" ],
},
"debian-kfreebsd-amd64" => {
inherit_from => [ "debian-amd64" ],
enable => [ ],
},
"debian-kfreebsd-i386" => {
inherit_from => [ "debian-i386" ],
enable => [ ],
},
"debian-hppa" => {
inherit_from => [ "linux-generic32", "debian" ],
cflags => add("-DB_ENDIAN"),
},
"debian-hurd-i386" => {
inherit_from => [ "hurd-x86", "debian" ],
},
"debian-hurd-amd64" => {
inherit_from => [ "hurd-x86_64", "debian" ],
},
"debian-ia64" => {
inherit_from => [ "linux-ia64", "debian" ],
cflags => add("-fzero-call-used-regs=skip"),
},
"debian-loong64" => {
inherit_from => [ "linux64-loongarch64", "debian" ],
},
"debian-m68k" => {
inherit_from => [ "linux-latomic", "debian" ],
cflags => add("-DB_ENDIAN"),
},
"debian-mips" => {
inherit_from => [ "linux-mips32", "debian" ],
cflags => add("-DB_ENDIAN"),
},
"debian-mipsel" => {
inherit_from => [ "linux-mips32", "debian" ],
cflags => add("-DL_ENDIAN"),
},
"debian-mipsn32" => {
inherit_from => [ "linux-mips64", "debian" ],
cflags => add("-DB_ENDIAN"),
},
"debian-mipsn32el" => {
inherit_from => [ "linux-mips64", "debian" ],
cflags => add("-DL_ENDIAN"),
},
"debian-mips64" => {
inherit_from => [ "linux64-mips64", "debian" ],
cflags => add("-DB_ENDIAN"),
},
"debian-mips64el" => {
inherit_from => [ "linux64-mips64", "debian" ],
cflags => add("-DL_ENDIAN"),
},
"debian-musl-linux-arm64" => {
inherit_from => [ "linux-aarch64", "debian" ],
},
"debian-musl-linux-armhf" => {
inherit_from => [ "linux-armv4", "debian" ],
},
"debian-musl-linux-i386" => {
inherit_from => [ "linux-elf", "debian" ],
},
"debian-musl-linux-mips" => {
inherit_from => [ "linux-mips32", "debian" ],
cflags => add("-DB_ENDIAN"),
},
"debian-musl-linux-mipsel" => {
inherit_from => [ "linux-mips32", "debian" ],
cflags => add("-DL_ENDIAN"),
},
"debian-nios2" => {
inherit_from => [ "linux-latomic", "debian" ],
},
"debian-powerpc" => {
inherit_from => [ "linux-ppc", "debian" ],
},
"debian-powerpcspe" => {
inherit_from => [ "linux-ppc", "debian" ],
},
"debian-ppc64" => {
inherit_from => [ "linux-ppc64", "debian", ],
},
"debian-ppc64el" => {
inherit_from => [ "linux-ppc64le", "debian" ],
},
"debian-riscv64" => {
inherit_from => [ "linux64-riscv64", "debian" ],
},
"debian-s390" => {
inherit_from => [ "linux-generic32", "debian" ],
},
"debian-s390x" => {
inherit_from => [ "linux64-s390x", "debian" ],
},
"debian-sh3" => {
inherit_from => [ "linux-latomic", "debian" ],
},
"debian-sh3eb" => {
inherit_from => [ "linux-latomic", "debian" ],
},
"debian-sh4" => {
inherit_from => [ "linux-latomic", "debian" ],
},
"debian-sh4eb" => {
inherit_from => [ "linux-latomic", "debian" ],
},
"debian-m32r" => {
inherit_from => [ "linux-latomic", "debian" ],
},
"debian-sparc" => {
inherit_from => [ "linux-sparcv9", "debian", ],
},
"debian-sparc64" => {
inherit_from => [ "linux64-sparcv9", "debian" ],
},
"debian-tilegx" => {
inherit_from => [ "linux-generic64", "debian" ],
},
"debian-x32" => {
inherit_from => [ "linux-x32", "debian" ],
},
);
|