source: freebsd-mos-driver/Makefile@ 236

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

Nasty restructure:

  • Wrong number of indexes where loaded CONFIG_NO instead of ENDPT_MAX
  • Syntax restore/cleanup
  • Removed bunch of testing calles
File size: 1.1 KB
Line 
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
25
26core:
27 kgdb /usr/obj/usr/src/sys/GENERIC/kernel.debug `ls /var/crash/vmcore.* | tail -1`
28
29ipload: load
30 sleep 5
31 ifconfig ue0 10.0.1.1/24
Note: See TracBrowser for help on using the repository browser.