ffmpeg: use new-style options

This commit is contained in:
Tony Theodore 2019-04-02 13:02:31 +11:00
parent 00acf30919
commit 4d8d9b32c9
1 changed files with 5 additions and 4 deletions

View File

@ -26,7 +26,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
--cross-prefix='$(TARGET)'- \
--enable-cross-compile \
--arch=$(firstword $(subst -, ,$(TARGET))) \
@ -61,7 +61,8 @@ define $(PKG)_BUILD
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libxvid
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
--enable-libxvid \
$($(PKG)_CONFIGURE_OPTS)
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
endef