diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-09-07 11:52:04 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-09-11 16:12:35 +0300 |
commit | 8887086ef2e0047ec321103a15e7d766be3a3874 (patch) | |
tree | 2ad53869911ed6d39176d63191ddcab77d611901 /drivers/video/fbdev/core/Makefile | |
parent | fa671e4f1556e2c18e5443f777a75ae041290068 (diff) | |
download | linux-8887086ef2e0047ec321103a15e7d766be3a3874.tar.xz |
fbdev/core: Move logo functions into separate source file
Move the fbdev function for displaying boot-up logos into their
own file fb_logo.c. Only build fb_logo.c if CONFIG_LOGO has been
selected. No functional changes.
v2:
* include fb_internal.h (kernel test robot)
* simplify option-parsing ifdefs
* build fb_logo.o iff CONFIG_LOGO has been set
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230907085408.9354-6-tzimmermann@suse.de
Diffstat (limited to 'drivers/video/fbdev/core/Makefile')
-rw-r--r-- | drivers/video/fbdev/core/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/core/Makefile b/drivers/video/fbdev/core/Makefile index edfde2948e5c..36d3156dc759 100644 --- a/drivers/video/fbdev/core/Makefile +++ b/drivers/video/fbdev/core/Makefile @@ -23,6 +23,8 @@ fb-y += fbcon_rotate.o fbcon_cw.o fbcon_ud.o \ endif endif +fb-$(CONFIG_LOGO) += fb_logo.o + obj-$(CONFIG_FB_CFB_FILLRECT) += cfbfillrect.o obj-$(CONFIG_FB_CFB_COPYAREA) += cfbcopyarea.o obj-$(CONFIG_FB_CFB_IMAGEBLIT) += cfbimgblt.o |