ALSA: hda: compact ELD output messages
[linux-2.6/mini2440.git] / arch / ia64 / kvm / Makefile
blobbf22fb9e6dcf8f04f5a289dad646ec7b8229511e
1 #This Make file is to generate asm-offsets.h and build source.
4 #Generate asm-offsets.h for vmm module build
5 offsets-file := asm-offsets.h
7 always := $(offsets-file)
8 targets := $(offsets-file)
9 targets += arch/ia64/kvm/asm-offsets.s
11 # Default sed regexp - multiline due to syntax constraints
12 define sed-y
13 "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"
14 endef
16 quiet_cmd_offsets = GEN $@
17 define cmd_offsets
18 (set -e; \
19 echo "#ifndef __ASM_KVM_OFFSETS_H__"; \
20 echo "#define __ASM_KVM_OFFSETS_H__"; \
21 echo "/*"; \
22 echo " * DO NOT MODIFY."; \
23 echo " *"; \
24 echo " * This file was generated by Makefile"; \
25 echo " *"; \
26 echo " */"; \
27 echo ""; \
28 sed -ne $(sed-y) $<; \
29 echo ""; \
30 echo "#endif" ) > $@
31 endef
32 # We use internal rules to avoid the "is up to date" message from make
33 arch/ia64/kvm/asm-offsets.s: arch/ia64/kvm/asm-offsets.c
34 $(call if_changed_dep,cc_s_c)
36 $(obj)/$(offsets-file): arch/ia64/kvm/asm-offsets.s
37 $(call cmd,offsets)
40 # Makefile for Kernel-based Virtual Machine module
43 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/ia64/kvm/
44 EXTRA_AFLAGS += -Ivirt/kvm -Iarch/ia64/kvm/
46 common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
47 coalesced_mmio.o)
49 kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o
50 obj-$(CONFIG_KVM) += kvm.o
52 FORCE : $(obj)/$(offsets-file)
53 EXTRA_CFLAGS_vcpu.o += -mfixed-range=f2-f5,f12-f127
54 kvm-intel-objs = vmm.o vmm_ivt.o trampoline.o vcpu.o optvfault.o mmio.o \
55 vtlb.o process.o
56 #Add link memcpy and memset to avoid possible structure assignment error
57 kvm-intel-objs += memcpy.o memset.o
58 obj-$(CONFIG_KVM_INTEL) += kvm-intel.o