From: Kevin Cernekee Date: Tue, 10 May 2011 22:47:16 +0000 (-0700) Subject: kbuild: Fix GNU make v3.80 compatibility X-Git-Tag: v2.6.39.1~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39b4e54266a625a141dac11c7bd22729b00c94d7;p=pandora-kernel.git kbuild: Fix GNU make v3.80 compatibility commit 43f67c98161c65f1b2e3af3a9ce6741850072c06 upstream. According to Documentation/Changes, the kernel should be buildable with GNU make 3.80+. Commit 88d7be031f9f975bb3f50a0b5ef3796a671e7edf (kbuild: Use a single clean rule for kernel and external modules) introduced the "$(or" construct, which requires make 3.81. This causes "make clean" to malfunction when it is used with external modules. Replace "$(or" with an equivalent "$(if" expression, to restore backward compatibility. Signed-off-by: Kevin Cernekee Signed-off-by: Michal Marek Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed