Makefile (14e77332e74603efab8347c89d3cda447c3b97c9) | Makefile (e68a558fb2af06daa38f86dad25061ddd90ab131) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2obj-$(CONFIG_SPEAKUP_SYNTH_ACNTSA) += speakup_acntsa.o 3obj-$(CONFIG_SPEAKUP_SYNTH_ACNTPC) += speakup_acntpc.o 4obj-$(CONFIG_SPEAKUP_SYNTH_APOLLO) += speakup_apollo.o 5obj-$(CONFIG_SPEAKUP_SYNTH_AUDPTR) += speakup_audptr.o 6obj-$(CONFIG_SPEAKUP_SYNTH_BNS) += speakup_bns.o 7obj-$(CONFIG_SPEAKUP_SYNTH_DECTLK) += speakup_dectlk.o 8obj-$(CONFIG_SPEAKUP_SYNTH_DECEXT) += speakup_decext.o --- 26 unchanged lines hidden (view full) --- 35clean-files := mapdata.h speakupmap.h 36 37 38# Generate mapdata.h from headers 39hostprogs += makemapdata 40makemapdata-objs := makemapdata.o 41 42quiet_cmd_mkmap = MKMAP $@ | 1# SPDX-License-Identifier: GPL-2.0 2obj-$(CONFIG_SPEAKUP_SYNTH_ACNTSA) += speakup_acntsa.o 3obj-$(CONFIG_SPEAKUP_SYNTH_ACNTPC) += speakup_acntpc.o 4obj-$(CONFIG_SPEAKUP_SYNTH_APOLLO) += speakup_apollo.o 5obj-$(CONFIG_SPEAKUP_SYNTH_AUDPTR) += speakup_audptr.o 6obj-$(CONFIG_SPEAKUP_SYNTH_BNS) += speakup_bns.o 7obj-$(CONFIG_SPEAKUP_SYNTH_DECTLK) += speakup_dectlk.o 8obj-$(CONFIG_SPEAKUP_SYNTH_DECEXT) += speakup_decext.o --- 26 unchanged lines hidden (view full) --- 35clean-files := mapdata.h speakupmap.h 36 37 38# Generate mapdata.h from headers 39hostprogs += makemapdata 40makemapdata-objs := makemapdata.o 41 42quiet_cmd_mkmap = MKMAP $@ |
43 cmd_mkmap = TOPDIR=$(srctree) $(obj)/makemapdata > $@ | 43 cmd_mkmap = TOPDIR=$(srctree) \ 44 SPKDIR=$(if $(KBUILD_EXTMOD),$(KBUILD_EXTMOD),$(srctree)/drivers/accessibility/speakup) \ 45 $(obj)/makemapdata > $@ |
44 45$(obj)/mapdata.h: $(obj)/makemapdata 46 $(call cmd,mkmap) 47 48 49# Generate speakupmap.h from mapdata.h 50hostprogs += genmap 51genmap-objs := genmap.o 52$(obj)/genmap.o: $(obj)/mapdata.h 53 54quiet_cmd_genmap = GENMAP $@ 55 cmd_genmap = $(obj)/genmap $< > $@ 56 57$(obj)/speakupmap.h: $(src)/speakupmap.map $(obj)/genmap 58 $(call cmd,genmap) 59 60$(obj)/main.o: $(obj)/speakupmap.h | 46 47$(obj)/mapdata.h: $(obj)/makemapdata 48 $(call cmd,mkmap) 49 50 51# Generate speakupmap.h from mapdata.h 52hostprogs += genmap 53genmap-objs := genmap.o 54$(obj)/genmap.o: $(obj)/mapdata.h 55 56quiet_cmd_genmap = GENMAP $@ 57 cmd_genmap = $(obj)/genmap $< > $@ 58 59$(obj)/speakupmap.h: $(src)/speakupmap.map $(obj)/genmap 60 $(call cmd,genmap) 61 62$(obj)/main.o: $(obj)/speakupmap.h |