mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00: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:
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 ; \
|
$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
|
TOOLCHAIN_TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Install the gconv modules
|
# Install the gconv modules
|
||||||
@ -52,5 +52,5 @@ define COPY_GCONV_LIBS
|
|||||||
>$(TARGET_DIR)/usr/lib/gconv/gconv-modules; \
|
>$(TARGET_DIR)/usr/lib/gconv/gconv-modules; \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS
|
TOOLCHAIN_TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user