aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 18:09:59 -0400
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 18:09:59 -0400
commit5feb4f39aa2c50a9fe72925c2489c4c7fedb8dfa (patch)
treec2226c5c9e9e5ff36cdcf5c3e1fbbe12a510d200
parent991b7d6e6ffe9373dca7269a5d0213c1545dee1f (diff)
[PARISC] Restore palo target
Turns out, people were still using it, and it accidently works. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
-rw-r--r--arch/parisc/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index 3ea7ce3a8c57..3f1faca724ab 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -74,6 +74,25 @@ libs-y += arch/parisc/lib/
74 74
75drivers-$(CONFIG_OPROFILE) += arch/parisc/oprofile/ 75drivers-$(CONFIG_OPROFILE) += arch/parisc/oprofile/
76 76
77PALO := $(shell if which palo; then : ; \
78 elif [ -x /sbin/palo ]; then echo /sbin/palo; \
79 fi)
80
81palo: vmlinux
82 @if [ -x $PALO ]; then \
83 echo 'ERROR: Please install palo first (apt-get install palo)';\
84 echo 'or build it from source and install it somewhere in your $$PATH';\
85 false; \
86 fi
87 @if [ ! -f ./palo.conf ]; then \
88 cp arch/parisc/defpalo.conf palo.conf; \
89 echo 'A generic palo config file (./palo.conf) has been created for you.'; \
90 echo 'You should check it and re-run "make palo".'; \
91 echo 'WARNING: the "lifimage" file is now placed in this directory by default!'; \
92 false; \
93 fi
94 $(PALO) -f ./palo.conf
95
77# Shorthands for known targets not supported by parisc, use vmlinux as default 96# Shorthands for known targets not supported by parisc, use vmlinux as default
78Image zImage bzImage: vmlinux 97Image zImage bzImage: vmlinux
79 98
@@ -88,6 +107,7 @@ MRPROPER_FILES += palo.conf
88 107
89define archhelp 108define archhelp
90 @echo '* vmlinux - Uncompressed kernel image (./vmlinux)' 109 @echo '* vmlinux - Uncompressed kernel image (./vmlinux)'
110 @echo ' palo - Bootable image (./lifimage)'
91 @echo ' install - Install kernel using' 111 @echo ' install - Install kernel using'
92 @echo ' (your) ~/bin/installkernel or' 112 @echo ' (your) ~/bin/installkernel or'
93 @echo ' (distribution) /sbin/installkernel or' 113 @echo ' (distribution) /sbin/installkernel or'