- Timestamp:
- Sep 11, 2009 4:48:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/Makefile.kmk
r22917 r22962 39 39 VBOX_PATH_X11_ADDITION_INSTALLER := $(PATH_ROOT)/src/VBox/Additions/x11/Installer 40 40 41 41 42 # 42 43 # Targets 43 44 # 44 45 ifndef VBOX_OSE 45 BLDDIRS += $(VBOX_LNX_ADD_INS_OUT_DIR)46 BLDDIRS += $(VBOX_LNX_ADD_INS_OUT_DIR) $(VBOX_LNX_ADD_INS_OUT_DIR)/module 46 47 PACKING += $(PATH_BIN)/additions/VBoxLinuxAdditions.run 47 48 OTHER_CLEAN += $(PACKING) … … 50 51 endif 51 52 52 ifeq ($(KBUILD_TYPE),debug) 53 VBOX_LNX_ADD_BIN_COPY = $(CP) -f 54 VBOX_LNX_ADD_BIN_COPY_SYMBOLS = $(CP) -f 55 else 56 VBOX_LNX_ADD_BIN_COPY = objcopy -S -R .comment 57 VBOX_LNX_ADD_BIN_COPY_SYMBOLS = objcopy -g -R .comment 53 54 # 55 # Files to install 56 # 57 VBOX_LNX_ADD_STRIP_BIN = \ 58 VBoxService \ 59 VBoxClient \ 60 VBoxControl \ 61 vboxmouse_drv_70.so \ 62 vboxmouse_drv_71.so \ 63 vboxmouse_drv_14.so \ 64 vboxmouse_drv_15.so \ 65 vboxmouse_drv_16.so \ 66 vboxmouse_drv_17.so \ 67 vboxvideo_drv_70.so \ 68 vboxvideo_drv_71.so \ 69 vboxvideo_drv_13.so \ 70 vboxvideo_drv_14.so \ 71 vboxvideo_drv_15.so \ 72 vboxvideo_drv_16.so \ 73 vboxvideo_drv_17.so \ 74 mountvboxsf \ 75 VBoxOGLarrayspu.so \ 76 VBoxOGLcrutil.so \ 77 VBoxOGLerrorspu.so \ 78 VBoxOGLfeedbackspu.so \ 79 VBoxOGLpackspu.so \ 80 VBoxOGLpassthroughspu.so \ 81 VBoxOGL.so 82 83 VBOX_LNX_ADD_STRIP_OBJ = \ 84 vboxmouse_drv.o \ 85 vboxvideo_drv.o 86 87 VBOX_LNX_ADD_MODULES = \ 88 vboxguest \ 89 vboxvfs \ 90 vboxvideo_drm 91 92 # 93 # All the bin files that go into the archives. 94 # 95 VBOX_LNX_ADD_INS_FILES := $(addprefix $(VBOX_LNX_ADD_INS_OUT_DIR)/,$(VBOX_LNX_ADD_STRIP_BIN) $(VBOX_LNX_ADD_STRIP_OBJ)) 96 VBOX_LNX_ADD_INS_MODULES := $(addprefix $(VBOX_LNX_ADD_INS_OUT_DIR)/module/,$(VBOX_LNX_ADD_MODULES)) 97 98 # Cleanup of the the installer directory files 99 OTHER_CLEAN += $(VBOX_LNX_ADD_INS_FILES)) $(VBOX_LNX_ADD_INS_MODULES) 100 101 # pattern rule for stripping and copying the VBOX_LNX_ADD_STRIP_BIN files to the installation directory 102 $(addprefix $(VBOX_LNX_ADD_INS_OUT_DIR)/,$(VBOX_LNX_ADD_STRIP_BIN)): \ 103 $(VBOX_LNX_ADD_INS_OUT_DIR)/% : $(PATH_BIN)/additions/% \ 104 | $$(dir $$@) 105 $(call MSG_INST_FILE,$<,$@) 106 $(QUIET)$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@ 107 108 # pattern rule for stripping and copying the VBOX_LNX_ADD_STRIP_OBJ files to the installation directory 109 $(addprefix $(VBOX_LNX_ADD_INS_OUT_DIR)/,$(VBOX_LNX_ADD_STRIP_OBJ)): \ 110 $(VBOX_LNX_ADD_INS_OUT_DIR)/% : $(PATH_BIN)/additions/% | $$(dir $$@) 111 $(call MSG_INST_FILE,$<,$@) 112 ifeq ($(VBOX_DO_STRIP),) 113 $(QUIET)$(INSTALL) -m 0644 $< $@ 114 else # strip to temp file because of umask. 115 $(QUIET)objcopy --strip-unneeded -R .comment $< [email protected] 116 $(QUIET)$(INSTALL) -m 0644 [email protected] $@ 117 $(QUIET)$(RM) -f -- [email protected] 58 118 endif 119 120 # pattern rule for copying the VBOX_LNX_ADD_MODULES files to the installation directory 121 $(VBOX_LNX_ADD_INS_MODULES): \ 122 $(VBOX_LNX_ADD_INS_OUT_DIR)/module/% : $(PATH_BIN)/additions/src/% | $(VBOX_LNX_ADD_INS_OUT_DIR)/module/ 123 $(call MSG_INST_FILE,$<,$@) 124 # Remove target directories first, otherwise the behaviour of cp will not be 125 # what we want if it already exists. See the cp manual page for more details. 126 $(QUIET)$(RM) -Rf $@ 127 $(QUIET)cp -af $< $(VBOX_LNX_ADD_INS_OUT_DIR)/module 128 129 130 INSTALLS += $(if $(VBOX_OSE),, lnx_add_inst-nobin) 131 lnx_add_inst-nobin_INST = obj/Additions/Installer/linux 132 lnx_add_inst-nobin_MODE = a+r,u+w 133 lnx_add_inst-nobin_SOURCES = \ 134 ../x11/Installer/VBoxRandR.sh \ 135 installer/vboxadd-service.sh \ 136 ../x11/Installer/98vboxadd-xclient \ 137 ../x11/Installer/vboxclient.desktop \ 138 installer/vboxadd.sh \ 139 ../x11/Installer/vboxvideo.ids \ 140 ../x11/Installer/x11config.pl \ 141 ../x11/Installer/x11config15.pl \ 142 ../x11/Installer/linux_xorg_suse11.conf \ 143 installer/90-vboxguest.fdi 144 145 146 INSTALLS += $(if $(VBOX_OSE),, lnx_add_inst-bin) 147 lnx_add_inst-bin_INST = obj/Additions/Installer/linux 148 lnx_add_inst-bin_MODE = a+rx,u+w 149 lnx_add_inst-bin_SOURCES = \ 150 ../../Installer/linux/routines.sh \ 151 selinux-fedora/vbox_x11.pp 152 59 153 60 154 INSTALLS += GuestDrivers-src … … 63 157 GuestDrivers-src_SOURCES = Makefile 64 158 65 INSTALLS += AutoRun-sh 159 160 INSTALLS += $(if $(VBOX_OSE),, AutoRun-sh) 66 161 AutoRun-sh_INST = bin/additions/ 67 162 AutoRun-sh_MODE = a+rx,u+w … … 69 164 70 165 71 include $(KBUILD_PATH)/subfooter.kmk 72 73 74 # 75 # Build the Linux Guest Additions self extracting installer. 76 # 77 # Note that $(PATH_SUB_CURRENT) was changed by subfooter.kmk above and 78 # any references should be made via variables assigned a know value via := . 79 # 80 # We need to depend on all source files for the additions and shared 81 # folders kernel modules. 82 ## @todo Replace the wildcard stuff by the correct file lists now that 83 # we've got everything included. 84 # 85 $(PATH_BIN)/additions/VBoxLinuxAdditions.run: \ 86 $(INSTARGET_vboxmod-bin) \ 87 $(PATH_BIN)/additions/VBoxService \ 88 $(PATH_BIN)/additions/VBoxClient \ 89 $(PATH_BIN)/additions/VBoxControl \ 90 $(VBOX_PATH_X11_ADDITION_INSTALLER)/VBoxRandR.sh \ 91 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxadd-service.sh \ 92 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \ 93 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop \ 94 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxadd.sh \ 95 $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh \ 96 $(PATH_ROOT)/src/VBox/Installer/linux/routines.sh \ 97 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxvideo.ids \ 98 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \ 99 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15.pl \ 100 $(VBOX_PATH_X11_ADDITION_INSTALLER)/linux_xorg_suse11.conf \ 101 $(PATH_BIN)/additions/vboxmouse_drv.o \ 102 $(PATH_BIN)/additions/vboxmouse_drv_70.so \ 103 $(PATH_BIN)/additions/vboxmouse_drv_71.so \ 104 $(PATH_BIN)/additions/vboxmouse_drv_14.so \ 105 $(PATH_BIN)/additions/vboxmouse_drv_15.so \ 106 $(PATH_BIN)/additions/vboxmouse_drv_16.so \ 107 $(PATH_BIN)/additions/vboxmouse_drv_17.so \ 108 $(PATH_BIN)/additions/vboxvideo_drv.o \ 109 $(PATH_BIN)/additions/vboxvideo_drv_70.so \ 110 $(PATH_BIN)/additions/vboxvideo_drv_71.so \ 111 $(PATH_BIN)/additions/vboxvideo_drv_13.so \ 112 $(PATH_BIN)/additions/vboxvideo_drv_14.so \ 113 $(PATH_BIN)/additions/vboxvideo_drv_15.so \ 114 $(PATH_BIN)/additions/vboxvideo_drv_16.so \ 115 $(PATH_BIN)/additions/vboxvideo_drv_17.so \ 116 $(PATH_BIN)/additions/mountvboxsf \ 117 $(PATH_BIN)/additions/VBoxOGLarrayspu.so \ 118 $(PATH_BIN)/additions/VBoxOGLcrutil.so \ 119 $(PATH_BIN)/additions/VBoxOGLerrorspu.so \ 120 $(PATH_BIN)/additions/VBoxOGLfeedbackspu.so \ 121 $(PATH_BIN)/additions/VBoxOGLpackspu.so \ 122 $(PATH_BIN)/additions/VBoxOGLpassthroughspu.so \ 123 $(PATH_BIN)/additions/VBoxOGL.so \ 124 $(VBOX_SELINUX_CMPLD) \ 125 $(VBOX_LNX_ADD_INS_OUT_DIR)/module \ 126 $(wildcard $(PATH_BIN)/additions/src/*) \ 127 $(wildcard $(PATH_BIN)/additions/src/*/*) \ 128 $(wildcard $(PATH_BIN)/additions/src/*/*/*) \ 129 $(wildcard $(PATH_BIN)/additions/src/*/*/*/*) \ 130 $(VBOX_VERSION_STAMP) 131 # Remove target directories first, otherwise the behaviour of cp will not be 132 # what we want if it already exists. See the cp manual page for more details. 133 $(QUIET)$(RM) -Rf -- $(VBOX_LNX_ADD_INS_OUT_DIR)/module/vboxguest 134 $(QUIET)cp -af $(PATH_BIN)/additions/src/vboxguest $(VBOX_LNX_ADD_INS_OUT_DIR)/module 135 $(QUIET)$(RM) -Rf -- $(VBOX_LNX_ADD_INS_OUT_DIR)/module/vboxvfs 136 $(QUIET)cp -af $(PATH_BIN)/additions/src/vboxvfs $(VBOX_LNX_ADD_INS_OUT_DIR)/module 137 $(QUIET)$(RM) -Rf -- $(VBOX_LNX_ADD_INS_OUT_DIR)/module/vboxvideo_drm 138 $(QUIET)cp -af $(PATH_BIN)/additions/src/vboxvideo_drm $(VBOX_LNX_ADD_INS_OUT_DIR)/module 139 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxService $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxadd-service 140 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxClient $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxClient 141 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxControl $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxControl 142 $(QUIET)$(INSTALL) -m 0755 $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh $(VBOX_LNX_ADD_INS_OUT_DIR)/install.sh 143 $(QUIET)$(RM) $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh 144 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/VBoxRandR.sh $(VBOX_LNX_ADD_INS_OUT_DIR) 145 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxadd-service.sh $(VBOX_LNX_ADD_INS_OUT_DIR) 146 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient $(VBOX_LNX_ADD_INS_OUT_DIR) 147 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop $(VBOX_LNX_ADD_INS_OUT_DIR) 148 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxadd.sh $(VBOX_LNX_ADD_INS_OUT_DIR) 149 $(QUIET)$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Installer/linux/routines.sh $(VBOX_LNX_ADD_INS_OUT_DIR) 150 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxvideo.ids $(VBOX_LNX_ADD_INS_OUT_DIR) 151 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl $(VBOX_LNX_ADD_INS_OUT_DIR) 152 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15.pl $(VBOX_LNX_ADD_INS_OUT_DIR) 153 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/linux_xorg_suse11.conf $(VBOX_LNX_ADD_INS_OUT_DIR) 154 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/90-vboxguest.fdi $(VBOX_LNX_ADD_INS_OUT_DIR) 155 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxmouse_drv.o $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv.o 156 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_70.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_70.so 157 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_71.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_71.so 158 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_14.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_14.so 159 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_15.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_15.so 160 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_16.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_16.so 161 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_17.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_17.so 162 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxvideo_drv.o $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv.o 163 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_70.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_70.so 164 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_71.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_71.so 165 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_13.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_13.so 166 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_14.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_14.so 167 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_15.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_15.so 168 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_16.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_16.so 169 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_17.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_17.so 170 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/mountvboxsf $(VBOX_LNX_ADD_INS_OUT_DIR)/mount.vboxsf 171 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxOGLarrayspu.so $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxOGLarrayspu.so 172 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxOGLcrutil.so $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxOGLcrutil.so 173 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxOGLerrorspu.so $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxOGLerrorspu.so 174 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxOGLfeedbackspu.so $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxOGLfeedbackspu.so 175 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxOGLpackspu.so $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxOGLpackspu.so 176 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxOGLpassthroughspu.so $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxOGLpassthroughspu.so 177 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxOGL.so $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxOGL.so 178 ifdef VBOX_SELINUX_CMPLD 179 $(QUIET)$(INSTALL) -m 0755 $(VBOX_SELINUX_CMPLD) $(VBOX_LNX_ADD_INS_OUT_DIR) 180 endif 181 $(QUIET)$(VBOX_MAKESELF) $(VBOX_LNX_ADD_INS_OUT_DIR) $@ \ 182 "VirtualBox $(VBOX_VERSION_STRING) Guest Additions for Linux installation" /bin/sh ./install.sh "> /dev/null" 183 184 185 # files that need editing before they can be included in the generic installer. 186 $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh: \ 166 # 167 # Install the sources of our (sanity) test kernel module 168 # 169 INSTALLS += $(if $(VBOX_OSE),, LnxAddTest-src) 170 LnxAddTest-src_INST = obj/Additions/Installer/linux/module/test 171 LnxAddTest-src_MODE = a+r,u+w 172 LnxAddTest-src_SOURCES = \ 173 installer/Makefile.test=>Makefile \ 174 installer/test.c 175 176 177 # 178 # Install the sources of our (sanity) test kernel rendering (DRM) module 179 # 180 INSTALLS += $(if $(VBOX_OSE),, LnxAddDRM-src) 181 LnxAddDRM-src_INST = obj/Additions/Installer/linux/module/test_drm 182 LnxAddDRM-src_MODE = a+r,u+w 183 LnxAddDRM-src_SOURCES = \ 184 installer/Makefile.include.header \ 185 installer/Makefile.include.footer \ 186 installer/Makefile.test.drm=>Makefile \ 187 installer/test_drm.c 188 189 190 # this file needs editing before it can be included in the generic installer. 191 $(VBOX_LNX_ADD_INS_OUT_DIR)/install.sh: \ 187 192 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/install.sh | $$(dir $$@) 188 193 $(QUIET)$(SED) \ … … 192 197 -e "s;_BUILDTYPE_;$(KBUILD_TYPE);g" \ 193 198 -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \ 194 --output $ @\199 --output $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh \ 195 200 $< 196 197 198 # 199 # Install the sources of our (sanity) test kernel module 200 # 201 INSTALLS += LnxAddTest-src 202 LnxAddTest-src_INST = obj/Additions/Installer/linux/module/test 203 LnxAddTest-src_MODE = a+r,u+w 204 LnxAddTest-src_SOURCES = \ 205 linux/installer/Makefile.test=>Makefile \ 206 linux/installer/test.c 207 208 209 # 210 # Install the sources of our (sanity) test kernel rendering (DRM) module 211 # 212 INSTALLS += LnxAddDRM-src 213 LnxAddDRM-src_INST = obj/Additions/Installer/linux/module/test_drm 214 LnxAddDRM-src_MODE = a+r,u+w 215 LnxAddDRM-src_SOURCES = \ 216 linux/installer/Makefile.include.header \ 217 linux/installer/Makefile.include.footer \ 218 linux/installer/Makefile.test.drm=>Makefile \ 219 linux/installer/test_drm.c 201 $(QUIET)$(INSTALL) -m 0755 $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh $@ 202 $(QUIET)$(RM) $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh 203 OTHERS_CLEAN += $(VBOX_LNX_ADD_INS_OUT_DIR)/install.sh 204 205 206 include $(KBUILD_PATH)/subfooter.kmk 207 208 209 # 210 # Build the Linux Guest Additions self extracting installer. 211 # 212 # Note that $(PATH_SUB_CURRENT) was changed by subfooter.kmk above and 213 # any references should be made via variables assigned a know value via := . 214 # 215 # We need to depend on all source files for the additions and shared 216 # folders kernel modules. 217 ## @todo Replace the wildcard stuff by the correct file lists now that 218 # we've got everything included. 219 # 220 $(PATH_BIN)/additions/VBoxLinuxAdditions.run: \ 221 $(INSTARGET_lnx_add_inst-nobin) \ 222 $(INSTARGET_lnx_add_inst-bin) \ 223 $(INSTARGET_LnxAddTest-src) \ 224 $(INSTARGET_LnxAddTestDRM-src) \ 225 $(VBOX_LNX_ADD_INS_FILES) \ 226 $(VBOX_LNX_ADD_INS_MODULES) \ 227 $(VBOX_LNX_ADD_INS_OUT_DIR)/install.sh \ 228 $(wildcard $(PATH_BIN)/additions/src/*) \ 229 $(wildcard $(PATH_BIN)/additions/src/*/*) \ 230 $(wildcard $(PATH_BIN)/additions/src/*/*/*) \ 231 $(wildcard $(PATH_BIN)/additions/src/*/*/*/*) \ 232 $(VBOX_VERSION_STAMP) 233 $(QUIET)$(VBOX_MAKESELF) $(VBOX_LNX_ADD_INS_OUT_DIR) $@ \ 234 "VirtualBox $(VBOX_VERSION_STRING) Guest Additions for Linux installation" /bin/sh ./install.sh "> /dev/null"
Note:
See TracChangeset
for help on using the changeset viewer.