summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index d00375dcb0..6361f252b1 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -49,7 +49,8 @@ distribute	:= $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
 
 include ../Makeconfig
 
-before-compile = $(objpfx)trusted-dirs.h
+before-compile  = $(objpfx)trusted-dirs.h
+generated	:= trusted-dirs.h trusted-dirs.st
 
 ifeq ($(versioning),yes)
 ld-map		= $(common-objpfx)ld.map
@@ -57,10 +58,9 @@ endif
 
 ifeq (yes,$(build-shared))
 extra-objs	= $(rtld-routines:=.os) soinit.os sofini.os interp.os
-generated	= librtld.os dl-allobjs.os ld.so trusted-dirs.h trusted-dirs.st
+generated	+= librtld.os dl-allobjs.os ld.so ldd
 install-others	= $(inst_slibdir)/$(rtld-installed-name)
 install-bin	= ldd
-generated      += ldd
 endif
 
 others		= sprof sln