Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2008 12:57:41 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        current@FreeBSD.org
Subject:   cleandifles in kmod.mk
Message-ID:  <alpine.BSF.2.00.0809151254000.66849@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help
Hi there colleagues,

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

marck@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@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0809151254000.66849>