| if test -z $arm_cacheflush; then |
if test -z $arm_cacheflush; then |
| case "$host_os" in |
case "$host_os" in |
| *linux*) |
*linux*) |
| arm_cacheflush=arch/arm/cacheflush-linux |
AC_LIBOBJ(../arch/arm/cacheflush-linux) |
| ;; |
;; |
| *) |
*) |
| no_dynamic_default=1 |
no_dynamic_default=1 |
| arm_cacheflush=arch/arm/cacheflush0 |
AC_LIBOBJ(../arch/arm/cacheflush0) |
| AC_MSG_WARN([No I-cache flush code known, disabling dynamic native code generation]) |
AC_MSG_WARN([No I-cache flush code known, disabling dynamic native code generation]) |
| ;; |
;; |
| esac |
esac |
| fi |
else |
| AC_LIBSOURCES([arch/arm/cacheflush0, dnl |
|
| arch/arm/cacheflush-linux]) |
|
| AC_LIBOBJ(../$arm_cacheflush) |
AC_LIBOBJ(../$arm_cacheflush) |
| |
test $srcdir = . || AC_MSG_WARN([setting arm_cacheflush requires building in the source directory]) |
| |
fi |
| #longer skipcodes lead to problems on ARM, and it uses |
#longer skipcodes lead to problems on ARM, and it uses |
| #only 4-byte alignment anyway |
#only 4-byte alignment anyway |
| test "$skipcode" || skipcode="nop" |
test "$skipcode" || skipcode="nop" |