VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/linux/Makefile.kmk@ 43059

Last change on this file since 43059 was 41844, checked in by vboxsync, 13 years ago

load.sh for linux.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1# $Id: Makefile.kmk 41844 2012-06-20 13:08:28Z vboxsync $
2## @file
3# Sub-makefile for the Linux host driver helper scripts.
4#
5
6#
7# Copyright (C) 2006-2012 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21INSTALLS += HostDrivers-scripts
22HostDrivers-scripts_INST = $(INST_DIST)
23HostDrivers-scripts_SOURCES = \
24 Makefile=>src/Makefile \
25 $(HostDrivers-scripts_0_OUTDIR)/dkms.conf=>src/dkms.conf
26HostDrivers-scripts_EXEC_SOURCES = \
27 loadall.sh \
28 load.sh \
29 do_dkms=>src/do_dkms \
30 build_in_tmp=>src/build_in_tmp
31HostDrivers-scripts_CLEAN = \
32 $(HostDrivers-scripts_0_OUTDIR)/dkms.conf
33
34$$(HostDrivers-scripts_0_OUTDIR)/dkms.conf: \
35 $(PATH_SUB_CURRENT)/dkms.conf \
36 $(VBOX_VERSION_STAMP) \
37 | $$(dir $$@)
38 $(call MSG_TOOL,Creating,,$@)
39 $(QUIET)$(SED) \
40 -e "s;_VERSION_;${VBOX_VERSION_STRING};g" \
41 -e "s;_OMIT_VBOXNETFLT_;$(if $(VBOX_WITH_NETFLT),,#);g" \
42 -e "s;_OMIT_VBOXNETADP_;$(if $(VBOX_WITH_NETADP),,#);g" \
43 -e "s;_OMIT_VBOXPCI_;$(if $(VBOX_WITH_PCI_PASSTHROUGH),,#);g" \
44 --output $@ $<
45
46include $(FILE_KBUILD_SUB_FOOTER)
47
Note: See TracBrowser for help on using the repository browser.

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