Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 89af61f

Browse files
andy-shevjgross1
authored andcommitted
xen/xenbus: Use *-y instead of *-objs in Makefile
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now). Let's correct the old usages of *-objs in Makefiles. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20240508152658.1445809-1-andriy.shevchenko@linux.intel.com Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent a6aa4eb commit 89af61f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

drivers/xen/xenbus/Makefile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-y += xenbus.o
3-
obj-y += xenbus_dev_frontend.o
43

5-
xenbus-objs =
6-
xenbus-objs += xenbus_client.o
7-
xenbus-objs += xenbus_comms.o
8-
xenbus-objs += xenbus_xs.o
9-
xenbus-objs += xenbus_probe.o
4+
xenbus-y := xenbus_client.o
5+
xenbus-y += xenbus_comms.o
6+
xenbus-y += xenbus_xs.o
7+
xenbus-y += xenbus_probe.o
108

11-
xenbus-be-objs-$(CONFIG_XEN_BACKEND) += xenbus_probe_backend.o
12-
xenbus-objs += $(xenbus-be-objs-y)
9+
xenbus-$(CONFIG_XEN_BACKEND) += xenbus_probe_backend.o
1310

11+
obj-y += xenbus_dev_frontend.o
1412
obj-$(CONFIG_XEN_BACKEND) += xenbus_dev_backend.o
1513
obj-$(CONFIG_XEN_XENBUS_FRONTEND) += xenbus_probe_frontend.o

0 commit comments

Comments
 (0)