diff options
author | imp <imp@FreeBSD.org> | 2010-08-23 06:13:29 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-08-23 06:13:29 +0000 |
commit | c6e071ef3a85d3ced4148a303f1210bb9efcd5e5 (patch) | |
tree | dd466dcfdfc46ee58c9cffd158a8267cf4f0db43 /sys/modules/usb | |
parent | 89b2d8bbb41d5ec5413bd240bfb6033899482af5 (diff) | |
download | FreeBSD-src-c6e071ef3a85d3ced4148a303f1210bb9efcd5e5.zip FreeBSD-src-c6e071ef3a85d3ced4148a303f1210bb9efcd5e5.tar.gz |
MFtbemd:
Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the
source code location of the machine, the latter the binary output. In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target. The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...
Diffstat (limited to 'sys/modules/usb')
-rw-r--r-- | sys/modules/usb/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/usb/Makefile b/sys/modules/usb/Makefile index 7f43e2b..dc4c178 100644 --- a/sys/modules/usb/Makefile +++ b/sys/modules/usb/Makefile @@ -35,16 +35,16 @@ SUBDIR += uether aue axe cdce cue kue rue udav uhso SUBDIR += usfs umass urio SUBDIR += quirk template -.if ${MACHINE_ARCH} == "amd64" +.if ${MACHINE_CPUARCH} == "amd64" _urtw= urtw .endif -.if ${MACHINE_ARCH} == "arm" +.if ${MACHINE_CPUARCH} == "arm" _at91dci= at91dci _atmegadci= atmegadci .endif -.if ${MACHINE_ARCH} == "i386" +.if ${MACHINE_CPUARCH} == "i386" _urtw= urtw .endif |