]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: SAUCE: linux/dim: avoid library object filename clash
authorKamal Mostafa <kamal@canonical.com>
Thu, 7 Nov 2019 18:20:58 +0000 (10:20 -0800)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 28 Nov 2019 15:44:25 +0000 (16:44 +0100)
BugLink: https://bugs.launchpad.net/bugs/1852637
Use dimlib.o (vs. dim.o) as the interim library object filename to avoid
a clash with the actual dim.c which manifests as:

make[2]: Circular lib/dim/dim.o <- lib/dim/dim.o dependency dropped.

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Khaled Elmously <khalid.elmously@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
lib/dim/Makefile

index 1d6858a108cb8f0a4c859f354c23ae3244bfbd8a..5b9bfaac7ac1fd9c6005ff284b4c874b958684ad 100644 (file)
@@ -2,6 +2,6 @@
 # DIM Dynamic Interrupt Moderation library
 #
 
-obj-$(CONFIG_DIMLIB) += dim.o
+obj-$(CONFIG_DIMLIB) += dimlib.o
 
-dim-y := dim.o net_dim.o rdma_dim.o
+dimlib-y := dim.o net_dim.o rdma_dim.o