From 1706723a04e16bb11f88e5f32c98c9594bade061 Mon Sep 17 00:00:00 2001 From: nbm Date: Tue, 18 Jul 2000 12:17:54 +0000 Subject: Fix the one 'obj'-related breakage, and quieten the build. Also change symlinks from '/sbin' to 'sbin', so following the links make sense when not on the disk itself. --- release/picobsd/custom/Makefile.mfs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'release/picobsd') diff --git a/release/picobsd/custom/Makefile.mfs b/release/picobsd/custom/Makefile.mfs index e941a4a..23fc386 100644 --- a/release/picobsd/custom/Makefile.mfs +++ b/release/picobsd/custom/Makefile.mfs @@ -7,27 +7,27 @@ DESTDIR?=${MFS_MOUNTPOINT} SBIN_LINKS= bin stand USR_LINKS= bin sbin libexec PL_LOCALE_LINKS= pl polish -MY_DEVS= std tun2 cuaa0 cuaa1 cuaa2 vty10 fd0 wd0s1h pty0 ttyd0 cuaa0 wd1 wd2 wd3 bpf0 bpf1 sa0 sa1 +MY_DEVS= std tun2 cuaa0 cuaa1 vty10 fd0 pty0 ttyd0 bpf0 sa0 ad0s1 ad0s1a all: tree links tree: @echo "--- making tree" - mtree -deLU -f mfs.mtree -p ${DESTDIR} + @mtree -deLU -f ${.CURDIR}/mfs.mtree -p ${DESTDIR} 2>&1 > /dev/null links: tree @echo "--- making links" - (cd ${DESTDIR}; \ + @(cd ${DESTDIR}; \ for i in ${SBIN_LINKS}; \ do \ - ln -s /sbin $${i}; \ + ln -s sbin $${i}; \ done; \ cd var/run; \ ln -s /dev/null log; \ cd ../../usr; \ for i in ${USR_LINKS}; \ do \ - ln -s /sbin $${i}; \ + ln -s ../sbin $${i}; \ done; \ cd share/misc;\ ln -s /etc/termcap termcap; ) @@ -36,7 +36,7 @@ links: tree # We don't do it under 'all' because it's needed only on non-DEVFS systems devnodes: tree @echo "--- making device nodes" - (cd ${DESTDIR}/dev; \ + @(cd ${DESTDIR}/dev; \ ln -s /dev/MAKEDEV; \ ./MAKEDEV ${MY_DEVS}; \ rm MAKEDEV) -- cgit v1.1