kvm: external module: fix unifdef problem
commited3ae31a7be272c4196f528ecb3fe36a96ea29b3
authorSheng Yang <sheng@linux.intel.com>
Tue, 21 Oct 2008 07:31:04 +0000 (21 15:31 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 22 Oct 2008 10:31:04 +0000 (22 12:31 +0200)
treeebba7c7ca772b2b2c37d61ea37b80158b222e539
parent78e434e5df689720b4d475f09c74ed24d3cf1482
kvm: external module: fix unifdef problem

unifdef needs a -U parameter to deal with undefined macros, otherwise
it can't deal with #if defined() || defined().

Also fix a historic bug on never execute unifdef...

Also discard "set -e" before unifdef, because unifdef would return 1 if it have
done something to the file.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
kvm/kernel/Makefile