Author: jhb
Date: Mon Oct 27 18:37:11 2014
New Revision: 273744
URL: https://svnweb.freebsd.org/changeset/base/273744

Log:
  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.

Modified:
  head/sys/modules/linux/Makefile
  head/sys/modules/vmm/Makefile

Modified: head/sys/modules/linux/Makefile
==============================================================================
--- head/sys/modules/linux/Makefile     Mon Oct 27 17:39:37 2014        
(r273743)
+++ head/sys/modules/linux/Makefile     Mon Oct 27 18:37:11 2014        
(r273744)
@@ -17,6 +17,7 @@ SRCS= linux_fork.c linux${SFX}_dummy.c l
        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

Modified: head/sys/modules/vmm/Makefile
==============================================================================
--- head/sys/modules/vmm/Makefile       Mon Oct 27 17:39:37 2014        
(r273743)
+++ head/sys/modules/vmm/Makefile       Mon Oct 27 18:37:11 2014        
(r273744)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to