package/pkg-toolchain-external: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
af05f5c852
commit
2b2e216ee0
@ -445,19 +445,19 @@ endef
|
||||
#
|
||||
# $1: destination directory (TARGET_DIR / STAGING_DIR)
|
||||
create_lib_symlinks = \
|
||||
$(Q)DESTDIR="$(strip $1)" ; \
|
||||
ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \
|
||||
if [ ! -e "$${DESTDIR}/$${ARCH_LIB_DIR}" -a ! -e "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ]; then \
|
||||
ln -snf lib "$${DESTDIR}/$${ARCH_LIB_DIR}" ; \
|
||||
ln -snf lib "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ; \
|
||||
fi
|
||||
$(Q)DESTDIR="$(strip $1)" ; \
|
||||
ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \
|
||||
if [ ! -e "$${DESTDIR}/$${ARCH_LIB_DIR}" -a ! -e "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ]; then \
|
||||
ln -snf lib "$${DESTDIR}/$${ARCH_LIB_DIR}" ; \
|
||||
ln -snf lib "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ; \
|
||||
fi
|
||||
|
||||
define TOOLCHAIN_EXTERNAL_CREATE_STAGING_LIB_SYMLINK
|
||||
$(call create_lib_symlinks,$(STAGING_DIR))
|
||||
$(call create_lib_symlinks,$(STAGING_DIR))
|
||||
endef
|
||||
|
||||
define TOOLCHAIN_EXTERNAL_CREATE_TARGET_LIB_SYMLINK
|
||||
$(call create_lib_symlinks,$(TARGET_DIR))
|
||||
$(call create_lib_symlinks,$(TARGET_DIR))
|
||||
endef
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user