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