Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 1998 12:57:38 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Warner Losh <imp@village.org>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Recompiling just kmem programs?
Message-ID:  <199801301957.MAA17366@mt.sri.com>
In-Reply-To: <199801301658.JAA26173@harmony.village.org>

index | next in thread | previous in thread | raw e-mail

> Is there some easy way to recompile just those programs that grovel
> around in the kernel's data structures w/o a make world?

# cd /usr/src/lib/libkvm
# make obj && make depend && make && make install
# /usr/src/bin
# fgrep lkvm */Makefile
ps/Makefile:LDADD=      -lm -lkvm
# cd ps
# make obj && make depend && make && make install
# cd ../sbin
# fgrep lkvm */Makefile
ccdconfig/Makefile:LDADD+=              -lkvm
dmesg/Makefile:LDADD=   -lkvm
dset/Makefile:LDADD=  -lkvm
# cd ccdconfig
# make obj && make depend && make && make install
# cd dmesg
# make obj && make depend && make && make install
# cd dset
# make obj && make depend && make && make install

Tada, after you reboot the stuff using the shared libkvm files will be
updated, and the static stuff is updated already.


Nate


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801301957.MAA17366>