VirtualBox

Changeset 77404 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Feb 20, 2019 7:57:07 PM (6 years ago)
Author:
vboxsync
Message:

More linux kernel module Makefile cleanups: Try make 2.6.0 thru 2.6.5 build using the 2.4.x approach. Tweaked the version detection code. Check that the compiler supports -fno-pie and -Wno-declaration-after-statement before using them (additions only). Eliminated VBOX_INCL (formerly know n as INCL).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile

    r77403 r77404  
    152152        $(VBOXGUEST_DIR)r0drv/linux
    153153
    154 ifeq ($(KERN_VERSION),24)
    155 VBOXMOD_CFLAGS =
    156 else
    157 VBOXMOD_CFLAGS = -Wno-declaration-after-statement -include $(VBOXGUEST_DIR)include/VBox/VBoxGuestMangling.h -fno-pie
     154VBOXMOD_CFLAGS := $(call VBOX_GCC_CHECK_CC,-Wno-declaration-after-statement,-Wno-declaration-after-statement,,)
     155VBOXMOD_CFLAGS += $(call VBOX_GCC_CHECK_CC,-fno-pie,-fno-pie,,)
     156ifneq ($(KERN_VERSION),24)
     157VBOXMOD_CFLAGS += -include $(VBOXGUEST_DIR)include/VBox/VBoxGuestMangling.h
    158158endif
    159159
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