mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 13:21:45 +00:00
perf_counter tools: fix 'make install'
Remove Git leftovers from this area. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
6142fdd968
commit
125e702b09
1 changed files with 2 additions and 17 deletions
|
@ -255,9 +255,9 @@ EXTRA_PROGRAMS =
|
||||||
PROGRAMS += $(EXTRA_PROGRAMS)
|
PROGRAMS += $(EXTRA_PROGRAMS)
|
||||||
|
|
||||||
#
|
#
|
||||||
# None right now:
|
# Single 'perf' binary right now:
|
||||||
#
|
#
|
||||||
# PROGRAMS += perf-fast-import$X
|
PROGRAMS += perf
|
||||||
|
|
||||||
# List built-in command $C whose implementation cmd_$C() is not in
|
# List built-in command $C whose implementation cmd_$C() is not in
|
||||||
# builtin-$C.o but is linked in as part of some other command.
|
# builtin-$C.o but is linked in as part of some other command.
|
||||||
|
@ -762,24 +762,9 @@ install: all
|
||||||
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
|
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
|
||||||
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
|
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
|
||||||
$(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
|
$(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
|
||||||
$(INSTALL) perf$X perf-upload-pack$X perf-receive-pack$X perf-upload-archive$X perf-shell$X perf-cvsserver '$(DESTDIR_SQ)$(bindir_SQ)'
|
|
||||||
$(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
|
|
||||||
$(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
|
|
||||||
ifneq (,$X)
|
ifneq (,$X)
|
||||||
$(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) perf$X)), $(RM) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/$p';)
|
$(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) perf$X)), $(RM) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/$p';)
|
||||||
endif
|
endif
|
||||||
bindir=$$(cd '$(DESTDIR_SQ)$(bindir_SQ)' && pwd) && \
|
|
||||||
execdir=$$(cd '$(DESTDIR_SQ)$(perfexec_instdir_SQ)' && pwd) && \
|
|
||||||
{ $(RM) "$$execdir/perf-add$X" && \
|
|
||||||
ln "$$bindir/perf$X" "$$execdir/perf-add$X" 2>/dev/null || \
|
|
||||||
cp "$$bindir/perf$X" "$$execdir/perf-add$X"; } && \
|
|
||||||
{ for p in $(filter-out perf-add$X,$(BUILT_INS)); do \
|
|
||||||
$(RM) "$$execdir/$$p" && \
|
|
||||||
ln "$$execdir/perf-add$X" "$$execdir/$$p" 2>/dev/null || \
|
|
||||||
ln -s "perf-add$X" "$$execdir/$$p" 2>/dev/null || \
|
|
||||||
cp "$$execdir/perf-add$X" "$$execdir/$$p" || exit; \
|
|
||||||
done } && \
|
|
||||||
./check_bindir "z$$bindir" "z$$execdir" "$$bindir/perf-add$X"
|
|
||||||
|
|
||||||
### Maintainer's dist rules
|
### Maintainer's dist rules
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue