Changeset 36585 in vbox for trunk/src/VBox
- Timestamp:
- Apr 6, 2011 3:19:01 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71025
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.include.footer
r36583 r36585 2 2 # VirtualBox Guest Additions kernel module Makefile, common parts. 3 3 # 4 # (For 2.6.x, the main file must be called 'Makefile'!)4 # See Makefile.include.header for details of how to use this. 5 5 # 6 6 # Copyright (C) 2006-2011 Oracle Corporation … … 14 14 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 15 15 # 16 17 #18 # These file should be included by the Makefiles for any kernel modules we19 # build as part of the Guest Additions. The intended way of doing this is as20 # follows:21 #22 # include Makefile.include23 # MOD_NAME = <name of the module to be built, without extension>24 # MOD_OBJS = <list of object files which should be included>25 # MOD_DEFS = <any additional defines which this module needs>26 # MOD_INCL = <any additional include paths which this module needs>27 # MOD_CFLAGS = <any additional CFLAGS which this module needs>28 # MOD_CLEAN = <list of directories that the clean target should look at>29 #30 # The kmk kBuild define KBUILD_TARGET_ARCH is available.31 #32 # @todo the shared folders module Makefile also includes the following bits.33 # Integrate them if necessary.34 # MOD_CFLAGS += -DEXPORT_SYMTAB -DVBGL_VBOXGUEST -DRT_WITH_VBOX35 #36 # # special hack for Fedora Core 6 2.6.18 (fc6), rhel5 2.6.18 (el5),37 # # ClarkConnect 4.3 (cc4) and ClarkConnect 5 (v5)38 # ifeq ($(KERNELRELEASE),)39 # KFLAGS += $(foreach inc,$(KERN_INCL),\40 # $(if $(wildcard $(inc)/linux/utsrelease.h),\41 # $(if $(shell grep '"2.6.18.*fc6.*"' $(inc)/linux/utsrelease.h; \42 # grep '"2.6.18.*el5.*"' $(inc)/linux/utsrelease.h; \43 # grep '"2.6.18.*v5.*"' $(inc)/linux/utsrelease.h; \44 # grep '"2.6.18.*cc4.*"' $(inc)/linux/utsrelease.h),\45 # -DKERNEL_FC6,),))46 # else47 # KFLAGS += $(if $(shell echo "$(KERNELRELEASE)"|grep '2.6.18.*fc6.*';\48 # echo "$(KERNELRELEASE)"|grep '2.6.18.*el5.*';\49 # echo "$(KERNELRELEASE)"|grep '2.6.18.*v5.*';\50 # echo "$(KERNELRELEASE)"|grep '2.6.18.*cc4.*'),\51 # -DKERNEL_FC6,)52 # endif53 #54 ## important: Don't remove Module.symvers! DKMS does 'make clean' before building ...55 # rm -rf .vboxsf* .tmp_ver* vboxsf.* Modules.symvers modules.order56 #57 58 59 16 60 17 # override is required by the Debian guys -
trunk/src/VBox/Installer/linux/Makefile.include.header
r36467 r36585 34 34 # The kmk kBuild define KBUILD_TARGET_ARCH is available. 35 35 # 36 # @todo the shared folders module Makefile also includes the following bits. 37 # Integrate them if necessary. 38 # MOD_CFLAGS += -DEXPORT_SYMTAB -DVBGL_VBOXGUEST -DRT_WITH_VBOX 39 # 40 # # special hack for Fedora Core 6 2.6.18 (fc6), rhel5 2.6.18 (el5), 41 # # ClarkConnect 4.3 (cc4) and ClarkConnect 5 (v5) 42 # ifeq ($(KERNELRELEASE),) 43 # KFLAGS += $(foreach inc,$(KERN_INCL),\ 44 # $(if $(wildcard $(inc)/linux/utsrelease.h),\ 45 # $(if $(shell grep '"2.6.18.*fc6.*"' $(inc)/linux/utsrelease.h; \ 46 # grep '"2.6.18.*el5.*"' $(inc)/linux/utsrelease.h; \ 47 # grep '"2.6.18.*v5.*"' $(inc)/linux/utsrelease.h; \ 48 # grep '"2.6.18.*cc4.*"' $(inc)/linux/utsrelease.h),\ 49 # -DKERNEL_FC6,),)) 50 # else 51 # KFLAGS += $(if $(shell echo "$(KERNELRELEASE)"|grep '2.6.18.*fc6.*';\ 52 # echo "$(KERNELRELEASE)"|grep '2.6.18.*el5.*';\ 53 # echo "$(KERNELRELEASE)"|grep '2.6.18.*v5.*';\ 54 # echo "$(KERNELRELEASE)"|grep '2.6.18.*cc4.*'),\ 55 # -DKERNEL_FC6,) 56 # endif 57 # 58 ## important: Don't remove Module.symvers! DKMS does 'make clean' before building ... 59 # rm -rf .vboxsf* .tmp_ver* vboxsf.* Modules.symvers modules.order 60 # 36 61 37 62 38 #
Note:
See TracChangeset
for help on using the changeset viewer.