diff options
author | imp <imp@FreeBSD.org> | 2010-06-13 01:27:29 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-06-13 01:27:29 +0000 |
commit | 1e5e0a78ab9d6e3cdb64ed2ff3f2fc4899dd6dee (patch) | |
tree | f5c76f67bf6853333a3980294a5ef10e0e401528 /lib/libkse/Makefile | |
parent | 1340d134ef60ce33037e39a0ce368cf1c940a2d7 (diff) | |
download | FreeBSD-src-1e5e0a78ab9d6e3cdb64ed2ff3f2fc4899dd6dee.zip FreeBSD-src-1e5e0a78ab9d6e3cdb64ed2ff3f2fc4899dd6dee.tar.gz |
Merge from tbemd:
Convert from using MACHINE_ARCH to MACHINE_CPUARCH. Hoist path statement
up into the top Makefile rather than repeating it on every arch Makefile.
Diffstat (limited to 'lib/libkse/Makefile')
-rw-r--r-- | lib/libkse/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index c4e2b5a..9a7aa12 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -15,10 +15,10 @@ SHLIB_MAJOR= 4 CFLAGS+=-DPTHREAD_KERNEL CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ -I${.CURDIR}/../../include -CFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include +CFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPUARCH}/include CFLAGS+=-I${.CURDIR}/sys CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf -CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH} +CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_CPUARCH} CFLAGS+=-fno-builtin # Uncomment this if you want libkse to contain debug information for @@ -38,7 +38,9 @@ SYMBOL_MAPS=${.CURDIR}/kse.map PRECIOUSLIB= -.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" +.path: ${.CURDIR}/arch/${MACHINE_CPUARCH}/${MACHINE_CPUARCH} + +.include "${.CURDIR}/arch/${MACHINE_CPUARCH}/Makefile.inc" .include "${.CURDIR}/support/Makefile.inc" .include "${.CURDIR}/sys/Makefile.inc" .include "${.CURDIR}/thread/Makefile.inc" |