VirtualBox

Changeset 73013 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Jul 9, 2018 3:46:16 PM (7 years ago)
Author:
vboxsync
Message:

Linux kernel modules: let the user specify a custom KERN_DIR as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.include.header

    r69565 r73013  
    137137
    138138# Kernel build folder
    139 KERN_DIR := /lib/modules/$(KERN_VER)/build
     139ifeq ($(KERN_DIR),)
     140 KERN_DIR := /lib/modules/$(KERN_VER)/build
     141endif
    140142ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
    141143 $(error Error: unable to find the headers of the Linux kernel to build against. \
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