diff options
| author | Alex Williamson <alex.williamson@redhat.com> | 2016-12-30 10:13:30 -0500 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2016-12-30 10:13:30 -0500 |
| commit | 08c1a4ef7cccd5632526be923c5b6eaca59d8b01 (patch) | |
| tree | 52fa190c95d3233baf5f6986e3eb56a34006cf72 /samples/vfio-mdev | |
| parent | 98473f9f3f9bd404873cd1178c8be7d6d619f0d1 (diff) | |
vfio-mdev: Fix mtty sample driver building
This sample driver was originally under Documentation/ and was moved
to samples, but build support was never adjusted for the new location.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Diffstat (limited to 'samples/vfio-mdev')
| -rw-r--r-- | samples/vfio-mdev/Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/samples/vfio-mdev/Makefile b/samples/vfio-mdev/Makefile index a932edbe38eb..cbbd868a50a8 100644 --- a/samples/vfio-mdev/Makefile +++ b/samples/vfio-mdev/Makefile | |||
| @@ -1,13 +1 @@ | |||
| 1 | # | obj-$(CONFIG_SAMPLE_VFIO_MDEV_MTTY) += mtty.o | |
| 2 | # Makefile for mtty.c file | ||
| 3 | # | ||
| 4 | KERNEL_DIR:=/lib/modules/$(shell uname -r)/build | ||
| 5 | |||
| 6 | obj-m:=mtty.o | ||
| 7 | |||
| 8 | modules clean modules_install: | ||
| 9 | $(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) $@ | ||
| 10 | |||
| 11 | default: modules | ||
| 12 | |||
| 13 | module: modules | ||
