summaryrefslogtreecommitdiff
path: root/package/binutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/binutils/Makefile')
-rw-r--r--package/binutils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index e429001bf..c66ab6d2d 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -42,8 +42,8 @@ else
CONFIGURE_ARGS+= --disable-werror
endif
-pre-build:
- @-rm $(STAGING_TARGET_DIR)/lib/libiberty.a $(STAGING_TARGET_DIR)/usr/lib/libiberty.a
+post-build:
+ $(CP) ${WRKBUILD}/libiberty/libiberty.a $(STAGING_TARGET_DIR)/usr/lib
libbfd-install:
${INSTALL_DIR} ${IDIR_LIBBFD}/usr/lib