]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
parisc: quiet palo not-found message from "which"
authorKyle McMartin <kyle@mcmartin.ca>
Mon, 8 Dec 2008 09:43:08 +0000 (09:43 +0000)
committerKyle McMartin <kyle@mcmartin.ca>
Mon, 5 Jan 2009 19:10:34 +0000 (19:10 +0000)
Reduces moaning when building on a machine without palo installed.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/Makefile

index 5ddad7bd60ac8740de6712aabd6c274fc1fb435d..0d428278356dd2b526ff904b34d9f421dc35c5d1 100644 (file)
@@ -77,7 +77,7 @@ libs-y        += arch/parisc/lib/ `$(CC) -print-libgcc-file-name`
 
 drivers-$(CONFIG_OPROFILE)             += arch/parisc/oprofile/
 
-PALO := $(shell if which palo; then : ; \
+PALO := $(shell if (which palo 2>&1); then : ; \
        elif [ -x /sbin/palo ]; then echo /sbin/palo; \
        fi)