History

configure automatically detects correct arm configuration on NetBSD

Christian Jullien committed 5 years ago

Commit a2987fe1 parent 53f7d8b1 file · +12 −0Browse files

Unified · Split

configure+12−0
@@ -178,6 +178,16 @@ case "$cpu" in · 177 unmodified lines
178 x86_64|amd64|x86-64)178 x86_64|amd64|x86-64)
179 cpu="x86_64"179 cpu="x86_64"
180 ;;180 ;;
181 evbarm)
182 case "`uname -p`" in
183 aarch64|arm64)
184 cpu="aarch64"
185 ;;
186 earmv*)
187 cpu="arm"
188 ;;
189 esac
190 ;;
181 aarch64|arm64|evbarm)191 aarch64|arm64|evbarm)
182 cpu="aarch64"192 cpu="aarch64"
183 ;;193 ;;
@@ -351,6 +361,8 @@ if test -z "$cross_prefix" ; then · 167 unmodified lines
351 confvars="$confvars arm_eabihf arm_vfp"361 confvars="$confvars arm_eabihf arm_vfp"
352 elif test "${triplet%eabi}" != "$triplet" ; then362 elif test "${triplet%eabi}" != "$triplet" ; then
353 confvars="$confvars arm_eabi"363 confvars="$confvars arm_eabi"
364 elif test "`uname`" = "NetBSD"; then
365 confvars="$confvars arm_eabihf arm_vfp"
354 fi366 fi
355 if grep -s -q "^Features.* \(vfp\|iwmmxt\) " /proc/cpuinfo ; then367 if grep -s -q "^Features.* \(vfp\|iwmmxt\) " /proc/cpuinfo ; then
356 confvars="$confvars arm_vfp"368 confvars="$confvars arm_vfp"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t