aboutsummaryrefslogtreecommitdiff
path: root/kvm/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kvm/kernel/Makefile')
-rw-r--r--kvm/kernel/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/kvm/kernel/Makefile b/kvm/kernel/Makefile
index c905bdaca..aca365e12 100644
--- a/kvm/kernel/Makefile
+++ b/kvm/kernel/Makefile
@@ -25,10 +25,7 @@ _hack = mv $1 $1.orig && \
gawk -v version=$(version) -f $(ARCH_DIR)/hack-module.awk $1.orig \
| sed '/\#include/! s/\blapic\b/l_apic/g' > $1 && rm $1.orig
-unifdef_uflags = $(foreach arch, $(NONARCH_CONFIG), -UCONFIG_$(arch))
-unifdef = mv $1 $1.orig && \
- unifdef -DCONFIG_$(ARCH_CONFIG) $(unifdef_uflags) $1.orig > $1; \
- [ $$? -le 2 ] && rm $1.orig
+unifdef = mv $1 $1.orig && cat unifdef.h $1.orig > $1 && rm $1.orig
hack = $(call _hack,$T/$(strip $1))