diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2016-07-03 18:00:10 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-07-04 10:46:44 +0200 |
commit | 5c177415eedc7181dde4308cb267e0f811020f18 (patch) | |
tree | 0fa13788b9bcead5bf9b65cd81b0e6cdd56189fa /package/gcc | |
parent | f716308be8a4ecf764e2373a125338b352463d15 (diff) | |
download | buildroot-5c177415eedc7181dde4308cb267e0f811020f18.tar.gz buildroot-5c177415eedc7181dde4308cb267e0f811020f18.zip |
package/gcc: fix list of files of patch file to hash for ccache
When we build the list of patches to include to compute the hash for
ccache, a typo precented the special gcc-initial/ and gcc-final/
directories from a global patch dir to be included in the calculation.
Fix that by properly expanding the $(PKG) variable.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: He Chunhui <hchunhui@mail.ustc.edu.cn>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/gcc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index f324f9943b..d2359a3877 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -252,8 +252,8 @@ HOST_GCC_COMMON_CCACHE_HASH_FILES += $(DL_DIR)/$(GCC_SOURCE) HOST_GCC_COMMON_CCACHE_HASH_FILES += \ $(sort $(wildcard \ package/gcc/$(GCC_VERSION)/*.patch \ - $(addsuffix /$((PKG)_RAWNAME)/$(GCC_VERSION)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ - $(addsuffix /$((PKG)_RAWNAME)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ + $(addsuffix /$($(PKG)_RAWNAME)/$(GCC_VERSION)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ + $(addsuffix /$($(PKG)_RAWNAME)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ $(addsuffix /gcc/$(GCC_VERSION)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ $(addsuffix /gcc/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))))) ifeq ($(BR2_xtensa),y) |