From 6525ee55bbfd35bf3aff8c59562d6a3d8559a4f0 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Mon, 8 Dec 2008 09:43:08 +0000 Subject: parisc: quiet palo not-found message from "which" Reduces moaning when building on a machine without palo installed. Signed-off-by: Kyle McMartin diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 5ddad7b..0d42827 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -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) -- cgit v0.10.2