aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
Diffstat (limited to 'targets')
-rw-r--r--targets/pseudo/userland/gnu/Makefile.depend5
-rw-r--r--targets/pseudo/userland/lib/Makefile.depend2
2 files changed, 5 insertions, 2 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
diff --git a/targets/pseudo/userland/lib/Makefile.depend b/targets/pseudo/userland/lib/Makefile.depend
index bfd444f96a66..1ef12f0bf065 100644
--- a/targets/pseudo/userland/lib/Makefile.depend
+++ b/targets/pseudo/userland/lib/Makefile.depend
@@ -188,7 +188,7 @@ DIRDEPS+= lib/libnandfs
.if ${MK_CASPER} != "no"
DIRDEPS+= \
- lib/libcasper \
+ lib/libcasper/libcasper \
lib/libcasper/services/cap_dns \
lib/libcasper/services/cap_grp \
lib/libcasper/services/cap_pwd \