summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-04 06:55:11 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-04 06:55:11 +0200
commitf4ea01a808f0ff66b3277652da527e1655a20be0 (patch)
tree882b712f90b59ad9d8d5471d28fa60c6fbd7f296 /package
parent8de7e17b10f2cad70fc7999abe4786ac0d144278 (diff)
fix static build, where libthread_db.so might not exist
Diffstat (limited to 'package')
-rw-r--r--package/libthread_db/Makefile2
-rw-r--r--package/uclibc-ng/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/libthread_db/Makefile b/package/libthread_db/Makefile
index 199afa806..33ca12679 100644
--- a/package/libthread_db/Makefile
+++ b/package/libthread_db/Makefile
@@ -35,7 +35,7 @@ ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
ifeq ($(ADK_TARGET_LIB_MUSL),)
ifeq (${ADK_TARGET_UCLINUX},)
${INSTALL_DIR} ${IDIR_LIBTHREAD_DB}/$(ADK_TARGET_LIBC_PATH)
- ${CP} ${STAGING_TARGET_DIR}/lib/libthread_db*.so* ${IDIR_LIBTHREAD_DB}/$(ADK_TARGET_LIBC_PATH)
+ -${CP} ${STAGING_TARGET_DIR}/lib/libthread_db*.so* ${IDIR_LIBTHREAD_DB}/$(ADK_TARGET_LIBC_PATH)
endif
endif
endif
diff --git a/package/uclibc-ng/Makefile b/package/uclibc-ng/Makefile
index db1ddc172..61ba8de95 100644
--- a/package/uclibc-ng/Makefile
+++ b/package/uclibc-ng/Makefile
@@ -32,7 +32,7 @@ INSTALL_STYLE:= manual
uclibc-ng-install:
$(INSTALL_DIR) $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH) $(IDIR_UCLIBC_NG)/etc
-$(CP) $(STAGING_TARGET_DIR)/uclibc-ng/lib*/* $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH)
- rm $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH)/libthread_db*
+ -@rm $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH)/libthread_db* 2>/dev/null
test -z $(ADK_RUNTIME_TIMEZONE) || \
grep $(ADK_RUNTIME_TIMEZONE) ./files/tz.lst | \
cut -f 2 > $(IDIR_UCLIBC_NG)/etc/TZ