Make sure that the PTRACE_... symbols are available for ppc/plt.c.
On a Fedora 12 x86_64 build/host box, this file was complaining about
PTRACE_PEEKTEXT being undefined. Adding in the "ptrace.h" include
fixed it.
Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>
1 # Makefile for each steps
2 # Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
4 # ----------------------------------------------------------
5 # This is the steps help entry
8 @echo ' list-steps - List all build steps'
11 @echo ' STOP=step - Stop the build just after this step (list with list-steps)'
12 @echo ' RESTART=step - Restart the build just before this step (list with list-steps)'
14 # ----------------------------------------------------------
17 # Please keep the last line with a '\' and keep the following empy line:
18 # it helps when diffing and merging.
19 CT_STEPS := libc_check_config \
43 # Make the list available to sub-processes (scripts/crosstool-NG.sh needs it)
46 # Print the steps list
49 @echo 'Available build steps, in order:'
50 @for step in $(CT_STEPS); do \
53 @echo 'Use "<step>" as action to execute only that step.'
54 @echo 'Use "+<step>" as action to execute up to that step.'
55 @echo 'Use "<step>+" as action to execute from that step onward.'
57 # ----------------------------------------------------------
58 # This part deals with executing steps
61 $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) RESTART=$@ STOP=$@ build
63 $(patsubst %,+%,$(CT_STEPS)):
64 $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) STOP=$(patsubst +%,%,$@) build
66 $(patsubst %,%+,$(CT_STEPS)):
67 $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) RESTART=$(patsubst %+,%,$@) build