diff options
| author | Danomi Manchego <danomimanchego123@gmail.com> | 2017-02-15 22:13:29 -0500 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2017-02-17 16:25:48 +0100 |
| commit | 194cb3f32087736581b02813dcb549a83c90910e (patch) | |
| tree | 419defa0fe9c7114bc23321fa2888388db72f4f8 | |
| parent | 7ab3cdaa34ff7e2b2adb403907337d415f68b2f8 (diff) | |
| download | buildroot-194cb3f32087736581b02813dcb549a83c90910e.tar.gz buildroot-194cb3f32087736581b02813dcb549a83c90910e.zip | |
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>
| -rw-r--r-- | package/ffmpeg/ffmpeg.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 4447b724c4..449cca2ce3 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/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)) |

