ffmpeg: pack libpostproc for hard float archs only
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
This commit is contained in:
parent
667738cd7d
commit
eff80c5fa3
1 changed files with 4 additions and 0 deletions
|
@ -656,11 +656,13 @@ define Build/InstallDev/full
|
|||
$(CP) $(PKG_INSTALL_DIR)/usr/include/lib{avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} $(1)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale}.{a,so*} $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale}.pc $(1)/usr/lib/pkgconfig/
|
||||
ifneq ($(CONFIG_SOFT_FLOAT),y)
|
||||
ifneq ($(CONFIG_PACKAGE_libx264),)
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/libpostproc $(1)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpostproc.{a,so*} $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libpostproc.pc $(1)/usr/lib/pkgconfig/
|
||||
endif
|
||||
endif
|
||||
endef
|
||||
|
||||
define Build/InstallDev/mini
|
||||
|
@ -722,9 +724,11 @@ endef
|
|||
define Package/libffmpeg-full/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale}.so.* $(1)/usr/lib/
|
||||
ifneq ($(CONFIG_SOFT_FLOAT),y)
|
||||
ifneq ($(CONFIG_PACKAGE_libx264),)
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpostproc.so.* $(1)/usr/lib/
|
||||
endif
|
||||
endif
|
||||
endef
|
||||
|
||||
define Package/libffmpeg-mini/install
|
||||
|
|
Loading…
Reference in a new issue