浏览代码

ffmpeg: remove example source code from target

There does not appear to be a way to configure the example code
installation, so this mod gets rid of it with a post-install hook.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Danomi Manchego 8 年之前
父节点
当前提交
194cb3f320
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      package/ffmpeg/ffmpeg.mk

+ 5 - 0
package/ffmpeg/ffmpeg.mk

@@ -496,4 +496,9 @@ define FFMPEG_CONFIGURE_CMDS
 	)
 endef
 
+define FFMPEG_REMOVE_EXAMPLE_SRC_FILES
+	rm -rf $(TARGET_DIR)/usr/share/ffmpeg/examples
+endef
+FFMPEG_POST_INSTALL_TARGET_HOOKS += FFMPEG_REMOVE_EXAMPLE_SRC_FILES
+
 $(eval $(autotools-package))