summaryrefslogtreecommitdiffstats
path: root/sys/conf/files.arm
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-12-18 05:45:23 +0000
committermjacob <mjacob@FreeBSD.org>2006-12-18 05:45:23 +0000
commit4c594cbb0484846bf5f5544fb4f47d54bb85e667 (patch)
treefedeffad01efeebca1e162d121ebb2626a2307b2 /sys/conf/files.arm
parent7956d025734497b2773fda05667fe40524af4af3 (diff)
downloadFreeBSD-src-4c594cbb0484846bf5f5544fb4f47d54bb85e667.zip
FreeBSD-src-4c594cbb0484846bf5f5544fb4f47d54bb85e667.tar.gz
opt_ah.h ends up copied into a kernelcompile directory in some
aches as a read-only file. In a number of cases this has led to compiles failing- usually due to some strange NFS drift which thinks that the opt_ah.h in the compile directory is out of date wrt the source it is copied from. When the copy is executed again, it fails because the target is read-only. Oops. Modify the compile hooks avoid this. Discussed with a while back with: Sam Leffler
Diffstat (limited to 'sys/conf/files.arm')
-rw-r--r--sys/conf/files.arm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/files.arm b/sys/conf/files.arm
index a71fe48..c4001ad 100644
--- a/sys/conf/files.arm
+++ b/sys/conf/files.arm
@@ -58,7 +58,7 @@ hal.o optional ath_hal \
compile-with "ATH_HAL_CPU=`echo ${CONF_CFLAGS}|sed 's/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/'`; ATH_ENDIAN=`if (echo ${CC}|grep mbig-endian>/dev/null); then echo be; else echo le; fi;`; uudecode < $S/contrib/dev/ath/public/$$ATH_HAL_CPU-$$ATH_ENDIAN-elf.hal.o.uu" \
no-implicit-rule
opt_ah.h optional ath_hal \
- compile-with "ATH_HAL_CPU=`echo ${CONF_CFLAGS}|sed 's/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/'`; ATH_ENDIAN=`if (echo ${CC}|grep mbig-endian>/dev/null); then echo be; else echo le; fi;`; cp $S/contrib/dev/ath/public/$$ATH_HAL_CPU-$$ATH_ENDIAN-elf.opt_ah.h opt_ah.h" \
+ compile-with "ATH_HAL_CPU=`echo ${CONF_CFLAGS}|sed 's/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/'`; ATH_ENDIAN=`if (echo ${CC}|grep mbig-endian>/dev/null); then echo be; else echo le; fi;`; rm -f opt_ah.h; cp $S/contrib/dev/ath/public/$$ATH_HAL_CPU-$$ATH_ENDIAN-elf.opt_ah.h opt_ah.h" \
no-obj no-implicit-rule before-depend \
clean "opt_ah.h"
libkern/arm/divsi3.S standard
OpenPOWER on IntegriCloud