mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
843fcabd9e
. Now builds on -STABLE (-CURRENT is broken due to bugs) . etc directory contents centralized instead of in each type directory (can exclude & override as desired) . Removed extraneous language files (lang files for rc really necessary?) . dialog-based build tool with support for custom floppy builds . MFS image loads as a mfs_root module instead of compiled into kernel THIS IS BROKEN ON CURRENT. I'll MFC to -STABLE immediately following. luigi tells me I have an OK from jkh on the MFC. Submitted by: luigi
44 lines
788 B
Makefile
44 lines
788 B
Makefile
#
|
|
# $Id: Makefile,v 1.4 1999/06/14 15:42:47 roger Exp $
|
|
#
|
|
|
|
DESTDIR?=/mnt
|
|
|
|
STAND_LINKS= bin sbin
|
|
USR_LINKS= bin sbin libexec
|
|
PL_LOCALE_LINKS= pl polish
|
|
|
|
all: tree links
|
|
|
|
tree:
|
|
mtree -deU -f mfs.mtree -p ${DESTDIR}
|
|
|
|
links: tree
|
|
(cd ${DESTDIR}; \
|
|
for i in ${STAND_LINKS}; \
|
|
do \
|
|
ln -s /stand $${i}; \
|
|
done; \
|
|
cd var/run; \
|
|
ln -s /dev/null log; \
|
|
cd ../../usr; \
|
|
for i in ${USR_LINKS}; \
|
|
do \
|
|
ln -s /stand $${i}; \
|
|
done; \
|
|
cd share/misc;\
|
|
ln -s /etc/termcap termcap; )
|
|
|
|
|
|
# We don't do it under 'all' because it's needed only on non-DEVFS systems
|
|
devnodes: tree
|
|
(cd ${DESTDIR}/dev; \
|
|
ln -s /dev/MAKEDEV; \
|
|
./MAKEDEV std tun2 vty10 fd0 wd0s1h pty0; \
|
|
./MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3 cuaa4; \
|
|
./MAKEDEV cuaa5 cuaa6 cuaa7 cuaa8 cuaa9; \
|
|
rm MAKEDEV)
|
|
|
|
clean:
|
|
|