public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] firewire: obsolete usage of *-objs in Makefile for KUnit test
@ 2024-05-08 10:53 Takashi Sakamoto
  2024-05-08 23:22 ` Takashi Sakamoto
  0 siblings, 1 reply; 2+ messages in thread
From: Takashi Sakamoto @ 2024-05-08 10:53 UTC (permalink / raw)
  To: linux1394-devel; +Cc: linux-kernel

Nowadays *-objs list is just for user space programs.

This commit obsolete the usage, and simplify Makefile for firewire KUnit
tests since the tests are not composite objects.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
---
 drivers/firewire/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/firewire/Makefile b/drivers/firewire/Makefile
index 013e1f2641bd..75c47d046925 100644
--- a/drivers/firewire/Makefile
+++ b/drivers/firewire/Makefile
@@ -16,8 +16,5 @@ obj-$(CONFIG_FIREWIRE_NET)  += firewire-net.o
 obj-$(CONFIG_FIREWIRE_NOSY) += nosy.o
 obj-$(CONFIG_PROVIDE_OHCI1394_DMA_INIT) += init_ohci1394_dma.o
 
-firewire-uapi-test-objs += uapi-test.o
-firewire-packet-serdes-test-objs += packet-serdes-test.o
-
-obj-$(CONFIG_FIREWIRE_KUNIT_UAPI_TEST) += firewire-uapi-test.o
-obj-$(CONFIG_FIREWIRE_KUNIT_PACKET_SERDES_TEST) += firewire-packet-serdes-test.o
+obj-$(CONFIG_FIREWIRE_KUNIT_UAPI_TEST) += uapi-test.o
+obj-$(CONFIG_FIREWIRE_KUNIT_PACKET_SERDES_TEST) += packet-serdes-test.o
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] firewire: obsolete usage of *-objs in Makefile for KUnit test
  2024-05-08 10:53 [PATCH] firewire: obsolete usage of *-objs in Makefile for KUnit test Takashi Sakamoto
@ 2024-05-08 23:22 ` Takashi Sakamoto
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Sakamoto @ 2024-05-08 23:22 UTC (permalink / raw)
  To: linux1394-devel; +Cc: linux-kernel

On Wed, May 08, 2024 at 07:53:51PM +0900, Takashi Sakamoto wrote:
> Nowadays *-objs list is just for user space programs.
> 
> This commit obsolete the usage, and simplify Makefile for firewire KUnit
> tests since the tests are not composite objects.
> 
> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
> ---
>  drivers/firewire/Makefile | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/firewire/Makefile b/drivers/firewire/Makefile
> index 013e1f2641bd..75c47d046925 100644
> --- a/drivers/firewire/Makefile
> +++ b/drivers/firewire/Makefile
> @@ -16,8 +16,5 @@ obj-$(CONFIG_FIREWIRE_NET)  += firewire-net.o
>  obj-$(CONFIG_FIREWIRE_NOSY) += nosy.o
>  obj-$(CONFIG_PROVIDE_OHCI1394_DMA_INIT) += init_ohci1394_dma.o
>  
> -firewire-uapi-test-objs += uapi-test.o
> -firewire-packet-serdes-test-objs += packet-serdes-test.o
> -
> -obj-$(CONFIG_FIREWIRE_KUNIT_UAPI_TEST) += firewire-uapi-test.o
> -obj-$(CONFIG_FIREWIRE_KUNIT_PACKET_SERDES_TEST) += firewire-packet-serdes-test.o
> +obj-$(CONFIG_FIREWIRE_KUNIT_UAPI_TEST) += uapi-test.o
> +obj-$(CONFIG_FIREWIRE_KUNIT_PACKET_SERDES_TEST) += packet-serdes-test.o
> -- 
> 2.43.0

Applied to for-next branch.


Regards

Takashi Sakamoto

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-08 23:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 10:53 [PATCH] firewire: obsolete usage of *-objs in Makefile for KUnit test Takashi Sakamoto
2024-05-08 23:22 ` Takashi Sakamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox