From: Thomas Petazzoni Date: Thu, 30 Apr 2020 09:52:38 +0000 (+0200) Subject: package/pkg-generic.mk: use $(PKG)_NAME in step_pkg_size_after X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=caffe135843cb9d7019e4601f9aea147b364b1d7;p=buildroot.git package/pkg-generic.mk: use $(PKG)_NAME in step_pkg_size_after Since we're already using $(PKG)_DIR in step_pkg_size_after, we can also just use $(PKG)_NAME. This allows to make $(1) useless, which means it can be dropped in a follow-up commit. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index f9385177ac..4ea1084f91 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -76,7 +76,7 @@ define step_pkg_size_after LC_ALL=C comm -13 \ $($(PKG)_DIR)/.files-list$(3).before \ $($(PKG)_DIR)/.files-list$(3).after \ - | sed -r -e 's/^[^,]+/$(1)/' \ + | sed -r -e 's/^[^,]+/$($(PKG)_NAME)/' \ > $($(PKG)_DIR)/.files-list$(3).txt rm -f $($(PKG)_DIR)/.files-list$(3).before rm -f $($(PKG)_DIR)/.files-list$(3).after