[dpdk-dev] [PATCH dpdk-kmods v8 2/2] linux/igb_uio: add Makefile to build the igb_uio module
Hariprasad Govindharajan
hariprasad.govindharajan at intel.com
Fri Oct 30 11:52:49 CET 2020
This patch provides a Makefile to the user, to build the igb_uio module
when required by running make inside the source directory
Signed-off-by: Hariprasad Govindharajan <hariprasad.govindharajan at intel.com>
---
This patch will be part of dpdk-kmods repo
https://git.dpdk.org/dpdk-kmods/
---
v8:
Changed the commit message based on the reviews and
minor changes to the comments section
v7:
Changed the commit message based on the reviews
v6:
split the patch into two patches to create a patchset
v5:
Removed the DPDK dependency
v4:
Corrected the indentation
v3:
Edited the commit message and corrected the mistakes in the variable
definition
v2:
Added more information to the commit message
---
linux/igb_uio/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 linux/igb_uio/Makefile
diff --git a/linux/igb_uio/Makefile b/linux/igb_uio/Makefile
new file mode 100644
index 0000000..09ae5d9
--- /dev/null
+++ b/linux/igb_uio/Makefile
@@ -0,0 +1,7 @@
+KSRC ?= /lib/modules/`uname -r`/build
+
+all:
+ make -C $(KSRC)/ M=$(PWD)
+
+clean:
+ make -C $(KSRC)/ M=$(PWD) clean
--
2.7.4
More information about the dev
mailing list