Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Makefile(s): don't re-export twice config variables
  • Loading branch information
perexg committed Oct 1, 2015
1 parent e3e39ed commit 7591ad3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Makefile
Expand Up @@ -664,13 +664,7 @@ ${BUILDDIR}/libffmpeg_stamp: ${ROOTDIR}/libav_static/build/ffmpeg/lib/libavcodec
@touch $@

${ROOTDIR}/libav_static/build/ffmpeg/lib/libavcodec.a: Makefile.ffmpeg
CONFIG_LIBX264_STATIC=$(CONFIG_LIBX264_STATIC) \
CONFIG_LIBX265=$(CONFIG_LIBX265) \
CONFIG_LIBX265_STATIC=$(CONFIG_LIBX265_STATIC) \
CONFIG_LIBMFX=$(CONFIG_LIBMFX) \
CONFIG_LIBMFX_STATIC=$(CONFIG_LIBMFX_STATIC) \
CONFIG_LIBMFX_VA_LIBS="$(CONFIG_LIBMFX_VA_LIBS)" \
$(MAKE) -f Makefile.ffmpeg build
$(MAKE) -f Makefile.ffmpeg build

# Static HDHOMERUN library

Expand Down
8 changes: 7 additions & 1 deletion Makefile.ffmpeg
Expand Up @@ -136,7 +136,13 @@ EXTLIBS += libmfx
DECODERS += mpeg2_qsv h264_qsv hevc_qsv
ENCODERS += mpeg2_qsv h264_qsv hevc_qsv

ELIBS += $(CONFIG_LIBMFX_VA_LIBS)
ELIBS += -lva
ifeq ($(CONFIG_VA_DRM),yes)
ELIBS += -lva-drm
endif
ifeq ($(CONFIG_VA_X11),yes)
ELIBS += -lva-x11
endif

endif

Expand Down

0 comments on commit 7591ad3

Please sign in to comment.