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