mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Sources from the "current" build tree and generated sources in the
object tree should be used instead of sources and headers from the already installed source tree on the build host. This was noticed while addressing issues in the upcoming amd update. MFC after: 2 weeks
This commit is contained in:
parent
54360de77b
commit
fcdaff2cd1
3 changed files with 4 additions and 4 deletions
|
|
@ -32,8 +32,8 @@ CFLAGS+= -DYES_HESIOD
|
|||
CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
|
||||
|
||||
RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen
|
||||
MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
|
||||
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
|
||||
MOUNT_X= ${SRCTOP}/include/rpcsvc/mount.x
|
||||
NFS_PROT_X= ${SRCTOP}/include/rpcsvc/nfs_prot.x
|
||||
|
||||
WARNS?= 1
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ SRCS+= ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c
|
|||
SRCS+= srvr_amfs_auto.c srvr_nfs.c
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/contrib/amd/amd \
|
||||
-I${DESTDIR}/usr/include/rpcsvc
|
||||
-I${.OBJDIR}/../../../include/rpcsvc
|
||||
|
||||
LIBADD= amu wrap
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ SRCS+= nfs_prot_x.c xdr_func_%undef.c
|
|||
CLEANFILES+= nfs_prot_x.c xdr_func_%undef.c
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/contrib/amd/libamu \
|
||||
-I${DESTDIR}/usr/include/rpcsvc
|
||||
-I${.OBJDIR}/../../../include/rpcsvc
|
||||
|
||||
nfs_prot_x.c: ${NFS_PROT_X}
|
||||
${RPCCOM} -c -C -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
|
||||
|
|
|
|||
Loading…
Reference in a new issue