source: freebsd-rtl-driver/Makefile@ 390

Last change on this file since 390 was 384, checked in by Rick van der Zwet, 10 years ago

Innitial import attempt of if_rtl(4)

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
[384]16KMOD= if_rtl
[171]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 \
[384]19 if_rtl.c
[171]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:
[384]34 vim -o /usr/src/sys/dev/usb/net/if_rue.c if_rtl.c
Note: See TracBrowser for help on using the repository browser.