cleandifles in kmod.mk

Dmitry Morozovsky marck at rinet.ru
Mon Sep 15 09:09:00 UTC 2008


Hi there colleagues,

it seems we miss two files per kernel module when debug is defined (which kinda 
brokes cleandir target):

marck at beaver:/FreeBSD/src.current/sys> svn diff conf/kmod.mk
Index: conf/kmod.mk
===================================================================
--- conf/kmod.mk        (revision 183034)
+++ conf/kmod.mk        (working copy)
@@ -168,6 +168,7 @@
 FULLPROG=      ${PROG}
 .else
 FULLPROG=      ${PROG}.debug
+CLEANFILES+=   ${PROG}.debug ${PROG}.symbols
 ${PROG}: ${FULLPROG} ${PROG}.symbols
        ${OBJCOPY} --strip-debug --add-gnu-debuglink=${PROG}.symbols\
            ${FULLPROG} ${.TARGET}


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-current mailing list