forked from Minki/linux
9d1a546c53
The Sample driver creates mdev device that simulates serial port over PCI card. Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com> Signed-off-by: Neo Jia <cjia@nvidia.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
14 lines
206 B
Makefile
14 lines
206 B
Makefile
#
|
|
# Makefile for mtty.c file
|
|
#
|
|
KERNEL_DIR:=/lib/modules/$(shell uname -r)/build
|
|
|
|
obj-m:=mtty.o
|
|
|
|
modules clean modules_install:
|
|
$(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) $@
|
|
|
|
default: modules
|
|
|
|
module: modules
|