mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-08 02:09:48 +03:00
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:
committed by
Thomas Petazzoni
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
|
||||
|
||||
Reference in New Issue
Block a user