makefs: tidy up reach-over source

- cd9660 relies on an #include "iso.h" but does not build any .c files
  out of source, so remove reach-over .PATH
- ffs does not rely on any sys/ headers, so remove -I from CFLAGS.
- ffs_tables from sys/ is used by ffs; move the SRCS entry from the top-
  level Makefile to ffs' Makefile.inc.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2018-04-20 22:23:38 +00:00
parent bfeb2bd7ca
commit daddfa7cc7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332844
3 changed files with 4 additions and 7 deletions

View File

@ -29,9 +29,6 @@ SRCS+= getid.c misc.c spec.c
CFLAGS+=-I${SRCTOP}/contrib/mknod
SRCS+= pack_dev.c
.PATH: ${SRCTOP}/sys/ufs/ffs
SRCS+= ffs_tables.c
CFLAGS+= -I${SRCTOP}/lib/libnetbsd
LIBADD= netbsd util sbuf

View File

@ -1,7 +1,7 @@
# $FreeBSD$
#
.PATH: ${SRCDIR}/cd9660 ${SRCTOP}/sys/fs/cd9660/
.PATH: ${SRCDIR}/cd9660
CFLAGS+=-I${SRCTOP}/sys/fs/cd9660/

View File

@ -2,8 +2,8 @@
#
.PATH: ${SRCDIR}/ffs ${SRCTOP}/sys/ufs/ffs
CFLAGS+= -I${SRCTOP}/sys/ufs/ffs
SRCS+= ffs_alloc.c ffs_balloc.c ffs_bswap.c ffs_subr.c ufs_bmap.c
SRCS+= buf.c mkfs.c
# Reach-over source from sys/ufs/ffs
SRCS+= ffs_tables.c