~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to modules/linux/vmmemctl/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-03-20 10:19:00 UTC
  • mfrom: (1.1.4 upstream) (2.4.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090320101900-1o604camiubq2de8
Tags: 2009.03.18-154848-2
Correcting patch system depends (Closes: #520493).

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
$(DRIVER_KO): prebuild
109
109
        make -C $(BUILD_DIR) SUBDIRS=$$PWD SRCROOT=$$PWD/$(SRCROOT) modules
110
110
        make -C $$PWD SRCROOT=$$PWD/$(SRCROOT) postbuild
111
 
 
112
 
else
113
 
 
114
 
ifneq ($(VM_CCVER), $(VMCCVER))
115
 
$(warning *** Inappropriate build environment: you wanted to use gcc \
116
 
 version $(VM_CCVER) while kernel attempts to use gcc version $(VMCCVER).)
117
 
$(error For proper build you'll have to replace $(CC) with symbolic \
118
 
 link to $(VM_CC))
119
 
endif
120
 
 
121
111
endif
122
112
 
123
113
vm_check_build = $(shell if $(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) \
124
 
        $(CPPFLAGS) $(CFLAGS) $(CFLAGS_KERNEL) \
 
114
        $(CPPFLAGS) $(CFLAGS) $(CFLAGS_KERNEL) $(LINUXINCLUDE) \
125
115
        $(EXTRA_CFLAGS) -Iinclude2/asm/mach-default \
126
116
        -DKBUILD_BASENAME=\"$(DRIVER)\" \
127
117
        -Werror -S -o /dev/null -xc $(1) \