kbuild: Fix make rpm
authorMichal Marek <mmarek@suse.cz>
Thu, 15 Jul 2010 08:36:37 +0000 (10:36 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 21 Jul 2010 14:06:05 +0000 (16:06 +0200)
commitb003afe32f608b8d9f9a898b36514dfbf374fd3a
tree1a2da53522eeecafc843a37ffd4ff5663e61a46e
parent6dc0c2f3384fe543a805922c6a314c7ad25a92fc
kbuild: Fix make rpm

make rpm was broken by commit 0915512:
make clean
set -e; cd ..; ln -sf /usr/src/iwlwifi-2.6 kernel-2.6.35rc4wl
/bin/sh /usr/src/iwlwifi-2.6/scripts/setlocalversion --scm-only >
/usr/src/iwlwifi-2.6/.scmversion
cat: .scmversion: input file is output file
make[1]: *** [rpm] Error 1

Reported-and-tested-by: "Zheng, Jiajia" <jiajia.zheng@intel.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/Makefile
scripts/setlocalversion