Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

speakup: use SPKDIR=$(src) to specify the source directory

Commit e68a558fb2af ("speakup: Fix building as extmod") was intended
to support building this as an external module.

Since commit b1992c3772e6 ("kbuild: use $(src) instead of
$(srctree)/$(src) for source directory"), $(src) consistently points
to the source directory, regardless of whether it is compiled as an
external module or not.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>

+1 -3
+1 -3
drivers/accessibility/speakup/Makefile
··· 40 40 makemapdata-objs := makemapdata.o 41 41 42 42 quiet_cmd_mkmap = MKMAP $@ 43 - cmd_mkmap = TOPDIR=$(srctree) \ 44 - SPKDIR=$(if $(KBUILD_EXTMOD),$(KBUILD_EXTMOD),$(srctree)/drivers/accessibility/speakup) \ 45 - $(obj)/makemapdata > $@ 43 + cmd_mkmap = TOPDIR=$(srctree) SPKDIR=$(src) $(obj)/makemapdata > $@ 46 44 47 45 $(obj)/mapdata.h: $(obj)/makemapdata 48 46 $(call cmd,mkmap)