fbdev/sbus: Build sbuslib.o if CONFIG_FB_SBUS has been selected
authorThomas Zimmermann <tzimmermann@suse.de>
Sun, 6 Aug 2023 11:58:52 +0000 (13:58 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 28 Aug 2023 07:43:33 +0000 (09:43 +0200)
commitc18df7e69cbcf2e7a6cf069e12ef9deb83f17ee0
tree14698335511bc885e102507caf3abb5cb9ad7340
parentbb7f98db31b3d4aac30d8b5d1a8f81f738664add
fbdev/sbus: Build sbuslib.o if CONFIG_FB_SBUS has been selected

Avoid duplicate listings of sbuslib.o in the Makefile by building
it if CONFIG_FB_SBUS has been selected. Remove the object file from
the various drivers' build rules.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230806120926.5368-2-tzimmermann@suse.de
drivers/video/fbdev/Makefile