[PATCH v2] arm-trusted-firmware-mvebu: stop cluttering Image Builder
Hauke Mehrtens
hauke at hauke-m.de
Tue Sep 6 15:15:40 PDT 2022
On 8/31/22 17:03, Tomasz Maciej Nowak wrote:
> From: Tomasz Maciej Nowak <tmn505 at gmail.com>
>
> All contents of staging_dir/image are included in Image Builder (IB) in
> case some binary needs to be included in final image. But in case of
> this package, all sources are stored there and those clutter the final
> tarball of IB for no reason. Those sources are not used during image
> creation and are just dead weight. To put it in perspective, the IB for
> 21.02.0 is 158 MiB, 22.03.0-rc6 is 366 MiB and snapshot is over 620 MiB!
> To fix it, put them in package build directory, so they won't end up
> included in IB tarball. With that, the custom clean definition can be
> removed, as the default one will take over.
>
> Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
> Reviewed-by: Andre Heider <a.heider at gmail.com>
> ---
> v1 -> v2
> - as pointed by Andre, we can use default clean definition
> - add his review tag
I think the build times are much higher with this change compared to
before. I haven't found the time to do real measurements. I used this
configuration to test:
CONFIG_TARGET_mvebu=y
CONFIG_TARGET_mvebu_cortexa53=y
CONFIG_TARGET_mvebu_cortexa53_DEVICE_globalscale_espressobin=y
Hauke
More information about the openwrt-devel
mailing list