Skip to content

Commit 5390d99

Browse files
committed
speakup: use SPKDIR=$(src) to specify the source directory
Commit e68a558 ("speakup: Fix building as extmod") was intended to support building this as an external module. Since commit b1992c3 ("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 <[email protected]> Reviewed-by: Nicolas Schier <[email protected]>
1 parent 59b723c commit 5390d99

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/accessibility/speakup/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ hostprogs += makemapdata
4040
makemapdata-objs := makemapdata.o
4141

4242
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 > $@
4644

4745
$(obj)/mapdata.h: $(obj)/makemapdata
4846
$(call cmd,mkmap)

0 commit comments

Comments
 (0)