cleandifles in kmod.mk

From: Dmitry Morozovsky <marck_at_rinet.ru>
Date: Mon, 15 Sep 2008 12:57:41 +0400 (MSD)
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)
_at__at_ -168,6 +168,7 _at__at_
 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 ***
------------------------------------------------------------------------
Received on Mon Sep 15 2008 - 07:09:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC