aboutsummaryrefslogtreecommitdiff
path: root/targets/pseudo/userland/gnu/Makefile.depend
diff options
context:
space:
mode:
Diffstat (limited to 'targets/pseudo/userland/gnu/Makefile.depend')
-rw-r--r--targets/pseudo/userland/gnu/Makefile.depend5
1 files changed, 4 insertions, 1 deletions
diff --git a/targets/pseudo/userland/gnu/Makefile.depend b/targets/pseudo/userland/gnu/Makefile.depend
index 2ef018f8fd22..5c6581b8f2d9 100644
--- a/targets/pseudo/userland/gnu/Makefile.depend
+++ b/targets/pseudo/userland/gnu/Makefile.depend
@@ -27,7 +27,6 @@ DIRDEPS = \
gnu/usr.bin/binutils/libbinutils \
gnu/usr.bin/binutils/libiberty \
gnu/usr.bin/binutils/libopcodes \
- gnu/usr.bin/binutils/objcopy \
gnu/usr.bin/binutils/objdump \
gnu/usr.bin/binutils/ranlib \
gnu/usr.bin/dialog \
@@ -112,6 +111,10 @@ DIRDEPS = \
gnu/usr.bin/texinfo/makeinfo \
gnu/usr.bin/texinfo/texindex \
+.if ${MK_ELFCOPY_AS_OBJCOPY} == "no"
+DIRDEPS+= gnu/usr.bin/binutils/objcopy
+.endif
+
.if ${MK_GPL_DTC} != "no"
DIRDEPS+= gnu/usr.bin/dtc
.endif