[Buildroot] [git commit branch/2021.08.x] core/pkg-generic: also list files installed in images/
From: Peter Korsgaard <peter@korsgaard.com>
Date: 2021-12-12 22:29:00
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=7954aa6e60ec2bda715ecfb1b656360f0581d2e3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.08.x Some packages install nothing in target nor staging, but install images (like the kernel vmlinux, or a bootloader boot blob...) If we want to appropriately account for the files installed by each package, we also need to take images/ into account. Signed-off-by: Yann E. MORIN <redacted> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Herve Codina <herve.codina@bootlin.com> Signed-off-by: Yann E. MORIN <redacted> (cherry picked from commit 5d00fecb7dd922ae2c003b46683173756372fd14) Signed-off-by: Peter Korsgaard <peter@korsgaard.com> --- package/pkg-generic.mk | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 97ee204b80..9f408a47ea 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk@@ -252,6 +252,7 @@ $(BUILD_DIR)/%/.stamp_configured: $(call prepare-per-package-directory,$($(PKG)_FINAL_DEPENDENCIES)) @$(call pkg_size_before,$(TARGET_DIR)) @$(call pkg_size_before,$(STAGING_DIR),-staging) + @$(call pkg_size_before,$(BINARIES_DIR),-images) @$(call pkg_size_before,$(HOST_DIR),-host) $(call fixup-libtool-files,$(NAME),$(HOST_DIR)) $(call fixup-libtool-files,$(NAME),$(STAGING_DIR))
@@ -378,6 +379,7 @@ $(BUILD_DIR)/%/.stamp_target_installed: $(BUILD_DIR)/%/.stamp_installed: @$(call pkg_size_after,$(TARGET_DIR)) @$(call pkg_size_after,$(STAGING_DIR),-staging) + @$(call pkg_size_after,$(BINARIES_DIR),-images) @$(call pkg_size_after,$(HOST_DIR),-host) @$(call check_bin_arch) $(Q)touch $@
_______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot