toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS
Register toolchain-specific target-finalize hooks with the newly-introduced <PKG>_TARGET_FINALIZE_HOOKS. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
781c85eb38
commit
fbbd7ce201
@ -10,7 +10,7 @@ define GLIBC_COPY_NSSWITCH_FILE
|
||||
$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
|
||||
fi
|
||||
endef
|
||||
TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
|
||||
TOOLCHAIN_TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
|
||||
endif
|
||||
|
||||
# Install the gconv modules
|
||||
@ -52,5 +52,5 @@ define COPY_GCONV_LIBS
|
||||
>$(TARGET_DIR)/usr/lib/gconv/gconv-modules; \
|
||||
fi
|
||||
endef
|
||||
TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS
|
||||
TOOLCHAIN_TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user