source: freebsd-mos-driver/Makefile@ 308

Last change on this file since 308 was 267, checked in by Rick van der Zwet, 14 years ago

Random blips and pieces to try non to core-dump all the time.

File size: 1.1 KB
RevLine 
[171]1# Copyright (c) 2010 Rick van der Zwet <info@rickvanderzwet.nl>
2#
3# Permission to use, copy, modify, and distribute this software for any
4# purpose with or without fee is hereby granted, provided that the above
5# copyright notice and this permission notice appear in all copies.
6#
7# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
15DEBUG_FLAGS= -g
16KMOD= if_mos
17SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
18 miibus_if.h opt_inet.h \
19 if_mos.c
20
21.include <bsd.kmod.mk>
22
23lsmod:
24 kldstat
[172]25
26core:
27 kgdb /usr/obj/usr/src/sys/GENERIC/kernel.debug `ls /var/crash/vmcore.* | tail -1`
[200]28
29ipload: load
30 sleep 5
31 ifconfig ue0 10.0.1.1/24
[267]32
33code:
34 vim -o /usr/src/sys/dev/usb/net/if_rue.c if_mos.c
Note: See TracBrowser for help on using the repository browser.