Date: Mon, 10 Dec 2001 14:22:37 +0100 (CET) From: "Erik H. Bakke" <ebakke@trolltech.com> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/32671: Patch to generate usbdevs.h automatically in kernel build Message-ID: <200112101322.fBADMbe21925@steinbit.troll.no>
next in thread | raw e-mail | index | archive | help
>Number: 32671 >Category: kern >Synopsis: Patch to generate usbdevs.h automatically in kernel build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 10 05:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Erik H. Bakke >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD steinbit.troll.no 5.0-CURRENT FreeBSD 5.0-CURRENT #14: Sun Dec 9 20:12:22 CET 2001 root@steinbit.troll.no:/usr/src/sys/i386/compile/WETLANDER i386 >Description: This patch will make sure usbdevs.h and usbdevs_data.h are regenerated automatically when a kernel is built. It is done from the depend target, so the files will be present and updated as early as possible in the build process. This eliminates the need for separately checked in and maintained versions of these files. >How-To-Repeat: >Fix: --- kern.post.mk.bak Sun Nov 11 07:16:53 2001 +++ kern.post.mk Mon Dec 10 14:10:39 2001 @@ -76,7 +76,12 @@ ${SYSTEM_OBJS} genassym.o vers.o: opt_global.h -kernel-depend: +# This rule makes sure usbdevs.h and usbdevs_data.h are updated from +# usbdevs +usbdevs: + cd ../../../dev/usb && ${MAKE} -f Makefile.usbdevs + +kernel-depend: usbdevs .if defined(EXTRA_KERNELDEP) ${EXTRA_KERNELDEP} .endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112101322.fBADMbe21925>