diff options
author | James Almer <jamrial@gmail.com> | 2017-10-03 10:55:59 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-03 11:56:56 -0300 |
commit | 3e6829a8aa1ec687086669551aee45743ac25691 (patch) | |
tree | 9f2fd2581008b91340613741f4a5d4e67e449323 | |
parent | aa4fe27657462742943dfbd185a18c223ae4dca3 (diff) | |
download | ffmpeg-3e6829a8aa1ec687086669551aee45743ac25691.tar.gz |
build: fix compilation of tools with OpenCL enabled
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | fftools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/Makefile b/fftools/Makefile index 094f6d6265..c867814a71 100644 --- a/fftools/Makefile +++ b/fftools/Makefile @@ -20,7 +20,6 @@ OBJS-ffmpeg-$(CONFIG_VIDEOTOOLBOX) += fftools/ffmpeg_videotoolbox.o OBJS-ffserver += fftools/ffserver_config.o define DOFFTOOL -OBJS-$(1)-$(CONFIG_OPENCL) += fftools/cmdutils_opencl.o OBJS-$(1) += fftools/cmdutils.o fftools/$(1).o $(OBJS-$(1)-yes) $(1)$(PROGSSUF)_g$(EXESUF): $$(OBJS-$(1)) $$(OBJS-$(1)): | fftools @@ -30,6 +29,7 @@ $(1)$(PROGSSUF)_g$(EXESUF): FF_EXTRALIBS += $(EXTRALIBS-$(1)) -include $$(OBJS-$(1):.o=.d) endef +$(foreach P,$(AVPROGS-yes),$(eval OBJS-$(P)-$(CONFIG_OPENCL) += fftools/cmdutils_opencl.o)) $(foreach P,$(AVPROGS-yes),$(eval $(call DOFFTOOL,$(P)))) all: $(AVPROGS) |