VirtualBox

Ignore:
Timestamp:
Aug 18, 2008 6:37:21 PM (16 years ago)
Author:
vboxsync
Message:

Linux additions: fixed cc4 (rhel5 clone) 2.6.18 vboxvfs detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module

    r11463 r11472  
    172172 KFLAGS += $(foreach inc,$(KERN_INCL),\
    173173             $(if $(wildcard $(inc)/linux/utsrelease.h),\
    174                $(if $(shell if grep -q '"2.6.18.*fc6.*"' $(inc)/linux/utsrelease.h;\
    175                             then echo yes; fi),-DKERNEL_FC6,),) \
    176              $(if $(wildcard $(inc)/linux/utsrelease.h),\
    177                $(if $(shell if grep -q '"2.6.18.*el5.*"' $(inc)/linux/utsrelease.h;\
    178                             then echo yes; fi),-DKERNEL_FC6,),))
     174               $(if $(shell grep '"2.6.18.*fc6.*"' $(inc)/linux/utsrelease.h; \
     175                            grep '"2.6.18.*el5.*"' $(inc)/linux/utsrelease.h; \
     176                            grep '"2.6.18.*cc4.*"' $(inc)/linux/utsrelease.h),\
     177                -DKERNEL_FC6,),))
    179178else
    180  KFLAGS += $(if $(shell if echo "$(KERNELRELEASE)"|grep -q '2.6.18.*fc6.*';\
    181                         then echo yes; fi),-DKERNEL_FC6,) \
    182            $(if $(shell if echo "$(KERNELRELEASE)"|grep -q '2.6.18.*el5.*';\
    183                         then echo yes; fi),-DKERNEL_FC6,)
     179 KFLAGS += $(if $(shell echo "$(KERNELRELEASE)"|grep '2.6.18.*fc6.*';\
     180                        echo "$(KERNELRELEASE)"|grep '2.6.18.*el5.*';\
     181                        echo "$(KERNELRELEASE)"|grep '2.6.18.*cc4.*'),\
     182                -DKERNEL_FC6,)
    184183endif
    185184
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette