summaryrefslogtreecommitdiff
path: root/ldso/util/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/util/Makefile')
-rw-r--r--ldso/util/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index 3e9393aac..dcd91dbaf 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -24,7 +24,10 @@ TOPDIR=../../
include $(TOPDIR)Rules.mak
TARGET_CC = $(TOPDIR)extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc
-TARGETS = elf_header ldd readelf
+TARGETS = elf_header ldd
+ifeq ($(OSTYPE),linux)
+TARGETS += readelf
+endif
ifneq ($(strip $(LIBRARY_CACHE)),)
TARGETS += ldconfig
endif