VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/drm/Makefile.kmk@ 68761

Last change on this file since 68761 was 68761, checked in by vboxsync, 7 years ago

Additions/linux/drm: add indent.sed as a make file dependency.
bugref:8524: Additions/linux: play nicely with distribution-installed Additions

Added indent.sed as a dependency for the vboxvideo_drm-mod install target.
This does not work as is, but needs a change to kBuild. The following worked
for me:
--- kBuild/footer-pass2-installs.kmk(revision 3055)
+++ kBuild/footer-pass2-installs.kmk(working copy)
@@ -45,2 +45,2 @@
-$(stagedst) : $(srcsrc) | $(dir $(stagedst))
+$(stagedst) : $(srcsrc) $($(target)_DEPS) | $(dir $(stagedst))
@@ -56,2 +56,2 @@
-$(instdst) : $(srcsrc) | $(dir $(instdst))
+$(instdst) : $(srcsrc) $($(target)_DEPS) | $(dir $(instdst))

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1# $Id: Makefile.kmk 68761 2017-09-14 14:45:06Z vboxsync $
2## @file
3# Sub-Makefile for the vboxvideo DRM module (linux kernel OpenGL module).
4#
5
6#
7# Copyright (C) 2006-2016 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
21#
22# Populate FILES_VBOXVIDEO_DRM_NOBIN
23#
24INSTALLS += vboxvideo_drm-mod
25include $(PATH_SUB_CURRENT)/files_vboxvideo_drv
26vboxvideo_drm-mod_DEPS = $(PATH_ROOT)/src/VBox/Additions/linux/drm/indent.sed
27vboxvideo_drm-mod_INST = $(INST_ADDITIONS)src/vboxvideo/
28vboxvideo_drm-mod_SOURCES = \
29 $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_NOBIN))
30vboxvideo_drm-mod_EXEC_SOURCES = \
31 $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN))
32vboxvideo_drm-mod_INSTALLER = $(RM_EXT) -f -- "$2" && \
33 $(if $(filter %.c %.h,$2),$(SED) -f $(PATH_ROOT)/src/VBox/Additions/linux/drm/indent.sed \
34 --output "$2" "$1",$(CP_EXT) "$1" "$2") && \
35 $(CHMOD_EXT) "$(if $(mode),$(mode),0644)" "$2"
36
37
38
39include $(FILE_KBUILD_SUB_FOOTER)
40
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