Add foo_genassym.c files to DPSRCS so dependencies for them are generated.

This ensures these objects are rebuilt to generate an updated header of
assembly constants if needed.
This commit is contained in:
John Baldwin 2014-10-27 18:37:11 +00:00
parent f4cfd28bb5
commit b3ee0d3bbd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273744
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ SRCS= linux_fork.c linux${SFX}_dummy.c linux_emul.c linux_file.c \
opt_inet6.h opt_compat.h opt_posix.h opt_usb.h vnode_if.h \
device_if.h bus_if.h assym.s \
linux${SFX}_locore.s linux${SFX}_support.s
DPSRCS= linux${SFX}_genassym.c
# XXX: for assym.s
SRCS+= opt_kstack_pages.h opt_nfs.h opt_compat.h opt_hwpmc_hooks.h

View File

@ -4,6 +4,7 @@ KMOD= vmm
SRCS= opt_acpi.h opt_ddb.h device_if.h bus_if.h pci_if.h
SRCS+= vmx_assym.h svm_assym.h
DPSRCS= vmx_genassym.c svm_genassym.c
CFLAGS+= -DVMM_KEEP_STATS -DSMP
CFLAGS+= -I${.CURDIR}/../../amd64/vmm
@ -53,7 +54,7 @@ SRCS+= vmcb.c \
npt.c \
amdv.c \
svm_msr.c
CLEANFILES= vmx_assym.h vmx_genassym.o svm_assym.h svm_genassym.o
vmx_assym.h: vmx_genassym.o