Revision 52ba784d

b/Makefile.target
329 329

  
330 330
install: all
331 331
ifneq ($(PROGS),)
332
	$(INSTALL) -m 755 $(STRIP_OPT) $(PROGS) "$(DESTDIR)$(bindir)"
332
	$(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)"
333
ifneq ($(STRIP),)
334
	$(STRIP) $(patsubst %,"$(DESTDIR)$(bindir)/%",$(PROGS))
335
endif
333 336
endif
334 337

  
335 338
# Include automatically generated dependency files
b/configure
80 80
install="install"
81 81
objcopy="objcopy"
82 82
ld="ld"
83
strip="strip"
83 84
helper_cflags=""
84 85
libs_softmmu=""
85 86
libs_tools=""
......
125 126
ar="${cross_prefix}${ar}"
126 127
objcopy="${cross_prefix}${objcopy}"
127 128
ld="${cross_prefix}${ld}"
129
strip="${cross_prefix}${strip}"
128 130

  
129 131
# default flags for all hosts
130 132
QEMU_CFLAGS="-fno-strict-aliasing $QEMU_CFLAGS"
......
2227 2229
  echo "CONFIG_DEBUG_EXEC=y" >> $config_host_mak
2228 2230
fi
2229 2231
if test "$strip_opt" = "yes" ; then
2230
  echo "STRIP_OPT=-s" >> $config_host_mak
2232
  echo "STRIP=${strip}" >> $config_host_mak
2231 2233
fi
2232 2234
if test "$bigendian" = "yes" ; then
2233 2235
  echo "HOST_WORDS_BIGENDIAN=y" >> $config_host_mak

Also available in: Unified diff