Makefile revision 00019d7a7381b029a3c17229f14c24a3a7b07a94
2N/A# Makefile for the VirtualBox Linux Host Virtual Network Adapter Driver. 2N/A# (For 2.6.x this file must be called 'Makefile'!) 2N/A# Copyright (C) 2006-2010 Oracle Corporation 2N/A# This file is part of VirtualBox Open Source Edition (OSE), as 2N/A# you can redistribute it and/or modify it under the terms of the GNU 2N/A# General Public License (GPL) as published by the Free Software 2N/A# Foundation, in version 2 as it comes in the "COPYING" file of the 2N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the 2N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 2N/A# First, figure out which architecture we're targeting and the build type. 2N/A# (We have to support basic cross building (ARCH=i386|x86_64).) 2N/A# While at it, warn about BUILD_* vars found to help with user problems. 2N/A# override is required by the Debian guys 2N/A # building from this directory 2N/A # kernel base directory 2N/A # build for the current kernel, version check 2N/A # module install dir, only for current kernel 2N/Aelse # neq($(KERNELRELEASE),) 2N/A # building from kbuild (make -C <kernel_directory> M=`pwd`) 2N/A# debug - show guesses. 2N/A # IPRT_DEBUG_SEMS indicates thread wrt sems state via the comm field. 2N/A #KFLAGS += -DIPRT_DEBUG_SEMS 2N/A# By default we use remap_pfn_range() kernel API to make kernel pages 2N/A# visible for userland. Unfortunately, it leads to situation that 2N/A# during debug session all structures on that page (such as PVM pointer) 2N/A# are not accessible to the debugger (see #3214). 2N/A# This code enables experimental support 2N/A# for vm_insert_page() kernel API, allowing to export kernel pages 2N/A# to the userland in more debugger-friendly way. Due to stability 2N/A# concerns, not enabled by default yet. 2N/A# OL/UEK: disable module signing for external modules -- we don't have any private key 2N/Aelse # eq ($(MAKECMDGOALS),clean)