diff options
author | kato <kato@FreeBSD.org> | 1999-12-27 13:53:43 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-12-27 13:53:43 +0000 |
commit | 3726c476f2fc90721c1da28f2c1da5d2be81b8ed (patch) | |
tree | 9679f7ae0f8edc226ba413d4b65bdfaca0903505 /sys | |
parent | 444fb5c38d84d7fcb5151b277b9d2f9a65ae669a (diff) | |
download | FreeBSD-src-3726c476f2fc90721c1da28f2c1da5d2be81b8ed.zip FreeBSD-src-3726c476f2fc90721c1da28f2c1da5d2be81b8ed.tar.gz |
Synced with sys/i386/conf/Makefile.i386 rev 1.169.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/Makefile.pc98 | 15 | ||||
-rw-r--r-- | sys/pc98/conf/Makefile.pc98 | 15 |
2 files changed, 8 insertions, 22 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 8283384..47e7b70 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -123,22 +123,22 @@ SYSTEM_DEP+= $S/i386/conf/kernel.script %CLEAN -all: ${KERNEL} +all: ${KERNEL} .if !defined(DEBUG) FULLKERNEL= ${KERNEL} .else FULLKERNEL= ${KERNEL}.debug -${KERNEL}: ${FULLKERNEL} +${KERNEL}: ${FULLKERNEL} .if ${KERNFORMAT} == "elf" objcopy --strip-debug ${FULLKERNEL} ${KERNEL} .else cp ${FULLKERNEL} ${KERNEL} - strip -d ${KERNEL} + strip -aout -d ${KERNEL} .endif .endif -${FULLKERNEL}: ${BEFORE_DEPEND} ${SYSTEM_DEP} vers.o +${FULLKERNEL}: ${SYSTEM_DEP} vers.o @rm -f ${.TARGET} @echo linking ${.TARGET} ${SYSTEM_LD} @@ -235,13 +235,6 @@ install install.debug: -chflags noschg ${DESTDIR}/${KERNEL} mv ${DESTDIR}/${KERNEL} ${DESTDIR}/${KERNEL}.old .endif - PATH=$${PATH}:/sbin:/usr/sbin; \ - if [ `sysctl -n kern.bootfile` = ${DESTDIR}/${KERNEL} ] ; then \ - sysctl -w kern.bootfile=${DESTDIR}/${KERNEL}.old ; \ - if [ -f /var/db/kvm_${KERNEL}.db ] ; then \ - mv -f /var/db/kvm_${KERNEL}.db /var/db/kvm_${KERNEL}.old.db ; \ - fi \ - fi install -c -m 555 -o root -g wheel -fschg \ ${KERNEL}${.TARGET:S/install//} ${DESTDIR}/${KERNEL} diff --git a/sys/pc98/conf/Makefile.pc98 b/sys/pc98/conf/Makefile.pc98 index 8283384..47e7b70 100644 --- a/sys/pc98/conf/Makefile.pc98 +++ b/sys/pc98/conf/Makefile.pc98 @@ -123,22 +123,22 @@ SYSTEM_DEP+= $S/i386/conf/kernel.script %CLEAN -all: ${KERNEL} +all: ${KERNEL} .if !defined(DEBUG) FULLKERNEL= ${KERNEL} .else FULLKERNEL= ${KERNEL}.debug -${KERNEL}: ${FULLKERNEL} +${KERNEL}: ${FULLKERNEL} .if ${KERNFORMAT} == "elf" objcopy --strip-debug ${FULLKERNEL} ${KERNEL} .else cp ${FULLKERNEL} ${KERNEL} - strip -d ${KERNEL} + strip -aout -d ${KERNEL} .endif .endif -${FULLKERNEL}: ${BEFORE_DEPEND} ${SYSTEM_DEP} vers.o +${FULLKERNEL}: ${SYSTEM_DEP} vers.o @rm -f ${.TARGET} @echo linking ${.TARGET} ${SYSTEM_LD} @@ -235,13 +235,6 @@ install install.debug: -chflags noschg ${DESTDIR}/${KERNEL} mv ${DESTDIR}/${KERNEL} ${DESTDIR}/${KERNEL}.old .endif - PATH=$${PATH}:/sbin:/usr/sbin; \ - if [ `sysctl -n kern.bootfile` = ${DESTDIR}/${KERNEL} ] ; then \ - sysctl -w kern.bootfile=${DESTDIR}/${KERNEL}.old ; \ - if [ -f /var/db/kvm_${KERNEL}.db ] ; then \ - mv -f /var/db/kvm_${KERNEL}.db /var/db/kvm_${KERNEL}.old.db ; \ - fi \ - fi install -c -m 555 -o root -g wheel -fschg \ ${KERNEL}${.TARGET:S/install//} ${DESTDIR}/${KERNEL} |