Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71923
b: refs/heads/master
c: 5feb4f3
h: refs/heads/master
i:
  71921: 2d8f5a6
  71919: d76324c
v: v3
  • Loading branch information
Kyle McMartin committed Oct 18, 2007
1 parent 8bec315 commit dc792c9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 991b7d6e6ffe9373dca7269a5d0213c1545dee1f
refs/heads/master: 5feb4f39aa2c50a9fe72925c2489c4c7fedb8dfa
20 changes: 20 additions & 0 deletions trunk/arch/parisc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,25 @@ libs-y += arch/parisc/lib/

drivers-$(CONFIG_OPROFILE) += arch/parisc/oprofile/

PALO := $(shell if which palo; then : ; \
elif [ -x /sbin/palo ]; then echo /sbin/palo; \
fi)

palo: vmlinux
@if [ -x $PALO ]; then \
echo 'ERROR: Please install palo first (apt-get install palo)';\
echo 'or build it from source and install it somewhere in your $$PATH';\
false; \
fi
@if [ ! -f ./palo.conf ]; then \
cp arch/parisc/defpalo.conf palo.conf; \
echo 'A generic palo config file (./palo.conf) has been created for you.'; \
echo 'You should check it and re-run "make palo".'; \
echo 'WARNING: the "lifimage" file is now placed in this directory by default!'; \
false; \
fi
$(PALO) -f ./palo.conf

# Shorthands for known targets not supported by parisc, use vmlinux as default
Image zImage bzImage: vmlinux

Expand All @@ -88,6 +107,7 @@ MRPROPER_FILES += palo.conf

define archhelp
@echo '* vmlinux - Uncompressed kernel image (./vmlinux)'
@echo ' palo - Bootable image (./lifimage)'
@echo ' install - Install kernel using'
@echo ' (your) ~/bin/installkernel or'
@echo ' (distribution) /sbin/installkernel or'
Expand Down

0 comments on commit dc792c9

Please sign in to comment.