imx-parser: remove unneeded binaries from the rootfs
The current recipe copies binaries for different ARM architectures to the rootfs. For the CC6UL we need to save some space, so delete the versions of the binaries that are not being used. https://jira.digi.com/browse/DEL-4987 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
2fb4cfa675
commit
3261119470
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Copyright (C) 2017 Digi International Inc.
|
||||||
|
|
||||||
|
# Empirically detected binaries that are not needed for a given platform
|
||||||
|
REDUNDANT_BINS ?= ""
|
||||||
|
REDUNDANT_BINS_ccimx6ul ?= " \
|
||||||
|
usr/lib/imx-mm/parser/lib_avi_parser_arm9_elinux* \
|
||||||
|
usr/lib/imx-mm/parser/lib_flv_parser_arm9_elinux* \
|
||||||
|
usr/lib/imx-mm/parser/lib_mkv_parser_arm9_elinux* \
|
||||||
|
usr/lib/imx-mm/parser/lib_mp4_parser_arm9_elinux* \
|
||||||
|
usr/lib/imx-mm/parser/lib_mpg2_parser_arm9_elinux* \
|
||||||
|
usr/lib/imx-mm/parser/lib_ogg_parser_arm9_elinux* \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
for i in ${REDUNDANT_BINS}; do
|
||||||
|
rm -f ${D}/${i}
|
||||||
|
done
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue