VirtualBox

Changeset 22859 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Sep 9, 2009 10:45:00 AM (15 years ago)
Author:
vboxsync
Message:

Additions/X11: create debug symbol files for the X.Org drivers and install them on Linux guests

Location:
trunk/src/VBox/Additions/x11
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk

    r22646 r22859  
    7979        VBoxUtils.c
    8080
     81OTHERS += $(PATH_vboxmouse_drv_70)/vboxmouse_drv_70.so.dbgsym
     82$$(PATH_vboxmouse_drv_70)/vboxmouse_drv_70.so.dbgsym: \
     83                $$(TARGET_vboxmouse_drv_70)
     84        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxmouse_drv_70)/vboxmouse_drv.so
     85        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxmouse_drv_70)/vboxmouse_drv.so $<
     86        $(QUIET)mv $(PATH_vboxmouse_drv_70)/vboxmouse_drv.so $@
     87        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     88
    8189
    8290#
     
    96104        VBoxUtils.c
    97105
     106OTHERS += $(PATH_vboxmouse_drv_71)/vboxmouse_drv_71.so.dbgsym
     107$$(PATH_vboxmouse_drv_71)/vboxmouse_drv_71.so.dbgsym: \
     108                $$(TARGET_vboxmouse_drv_71)
     109        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxmouse_drv_71)/vboxmouse_drv.so
     110        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxmouse_drv_71)/vboxmouse_drv.so $<
     111        $(QUIET)mv $(PATH_vboxmouse_drv_71)/vboxmouse_drv.so $@
     112        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     113
    98114
    99115#
     
    113129        VBoxUtils.c
    114130
     131OTHERS += $(PATH_vboxmouse_drv_14)/vboxmouse_drv_14.so.dbgsym
     132$$(PATH_vboxmouse_drv_14)/vboxmouse_drv_14.so.dbgsym: \
     133                $$(TARGET_vboxmouse_drv_14)
     134        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxmouse_drv_14)/vboxmouse_drv.so
     135        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxmouse_drv_14)/vboxmouse_drv.so $<
     136        $(QUIET)mv $(PATH_vboxmouse_drv_14)/vboxmouse_drv.so $@
     137        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     138
    115139
    116140#
     
    127151vboxmouse_drv_15_SOURCES = \
    128152        vboxmouse_15.c
     153
     154OTHERS += $(PATH_vboxmouse_drv_15)/vboxmouse_drv_15.so.dbgsym
     155$$(PATH_vboxmouse_drv_15)/vboxmouse_drv_15.so.dbgsym: \
     156                $$(TARGET_vboxmouse_drv_15)
     157        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxmouse_drv_15)/vboxmouse_drv.so
     158        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxmouse_drv_15)/vboxmouse_drv.so $<
     159        $(QUIET)mv $(PATH_vboxmouse_drv_15)/vboxmouse_drv.so $@
     160        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
    129161
    130162
     
    143175vboxmouse_drv_16_SOURCES = \
    144176        vboxmouse_15.c
     177
     178OTHERS += $(PATH_vboxmouse_drv_16)/vboxmouse_drv_16.so.dbgsym
     179$$(PATH_vboxmouse_drv_16)/vboxmouse_drv_16.so.dbgsym: \
     180                $$(TARGET_vboxmouse_drv_16)
     181        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxmouse_drv_16)/vboxmouse_drv.so
     182        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxmouse_drv_16)/vboxmouse_drv.so $<
     183        $(QUIET)mv $(PATH_vboxmouse_drv_16)/vboxmouse_drv.so $@
     184        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
    145185
    146186
     
    164204        vboxmouse_15.c
    165205
     206OTHERS += $(PATH_vboxmouse_drv_17)/vboxmouse_drv_17.so.dbgsym
     207$$(PATH_vboxmouse_drv_17)/vboxmouse_drv_17.so.dbgsym: \
     208                $$(TARGET_vboxmouse_drv_17)
     209        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxmouse_drv_17)/vboxmouse_drv.so
     210        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxmouse_drv_17)/vboxmouse_drv.so $<
     211        $(QUIET)mv $(PATH_vboxmouse_drv_17)/vboxmouse_drv.so $@
     212        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     213
    166214
    167215# Check the undefined symbols in the X.Org modules against lists of allowed
  • trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    r22643 r22859  
    136136        vboxutils.c
    137137
     138OTHERS += $(PATH_vboxvideo_drv_70)/vboxvideo_drv_70.so.dbgsym
     139$$(PATH_vboxvideo_drv_70)/vboxvideo_drv_70.so.dbgsym: \
     140                $$(TARGET_vboxvideo_drv_70)
     141        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxvideo_drv_70)/vboxvideo_drv.so
     142        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxvideo_drv_70)/vboxvideo_drv.so $<
     143        $(QUIET)mv $(PATH_vboxvideo_drv_70)/vboxvideo_drv.so $@
     144        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     145
    138146
    139147#
     
    155163        vboxutils.c
    156164
     165OTHERS += $(PATH_vboxvideo_drv_71)/vboxvideo_drv_71.so.dbgsym
     166$$(PATH_vboxvideo_drv_71)/vboxvideo_drv_71.so.dbgsym: \
     167                $$(TARGET_vboxvideo_drv_71)
     168        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxvideo_drv_71)/vboxvideo_drv.so
     169        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxvideo_drv_71)/vboxvideo_drv.so $<
     170        $(QUIET)mv $(PATH_vboxvideo_drv_71)/vboxvideo_drv.so $@
     171        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     172
    157173
    158174#
     
    174190        vboxutils.c
    175191
     192OTHERS += $(PATH_vboxvideo_drv_13)/vboxvideo_drv_13.so.dbgsym
     193$$(PATH_vboxvideo_drv_13)/vboxvideo_drv_13.so.dbgsym: \
     194                $$(TARGET_vboxvideo_drv_13)
     195        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxvideo_drv_13)/vboxvideo_drv.so
     196        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxvideo_drv_13)/vboxvideo_drv.so $<
     197        $(QUIET)mv $(PATH_vboxvideo_drv_13)/vboxvideo_drv.so $@
     198        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     199
    176200
    177201#
     
    195219        vboxvideo_13.c \
    196220        vboxutils.c
     221
     222OTHERS += $(PATH_vboxvideo_drv_14)/vboxvideo_drv_14.so.dbgsym
     223$$(PATH_vboxvideo_drv_14)/vboxvideo_drv_14.so.dbgsym: \
     224                $$(TARGET_vboxvideo_drv_14)
     225        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxvideo_drv_14)/vboxvideo_drv.so
     226        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxvideo_drv_14)/vboxvideo_drv.so $<
     227        $(QUIET)mv $(PATH_vboxvideo_drv_14)/vboxvideo_drv.so $@
     228        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
    197229
    198230
     
    217249        vboxvideo_dri.c
    218250
     251OTHERS += $(PATH_vboxvideo_drv_15)/vboxvideo_drv_15.so.dbgsym
     252$$(PATH_vboxvideo_drv_15)/vboxvideo_drv_15.so.dbgsym: \
     253                $$(TARGET_vboxvideo_drv_15)
     254        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxvideo_drv_15)/vboxvideo_drv.so
     255        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxvideo_drv_15)/vboxvideo_drv.so $<
     256        $(QUIET)mv $(PATH_vboxvideo_drv_15)/vboxvideo_drv.so $@
     257        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     258
    219259
    220260#
     
    237277        vboxutils.c \
    238278        vboxvideo_dri.c
     279
     280OTHERS += $(PATH_vboxvideo_drv_16)/vboxvideo_drv_16.so.dbgsym
     281$$(PATH_vboxvideo_drv_16)/vboxvideo_drv_16.so.dbgsym: \
     282                $$(TARGET_vboxvideo_drv_16)
     283        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxvideo_drv_16)/vboxvideo_drv.so
     284        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxvideo_drv_16)/vboxvideo_drv.so $<
     285        $(QUIET)mv $(PATH_vboxvideo_drv_16)/vboxvideo_drv.so $@
     286        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
    239287
    240288
     
    267315        vboxvideo_dri.c
    268316
     317OTHERS += $(PATH_vboxvideo_drv_17)/vboxvideo_drv_17.so.dbgsym
     318$$(PATH_vboxvideo_drv_17)/vboxvideo_drv_17.so.dbgsym: \
     319                $$(TARGET_vboxvideo_drv_17)
     320        $(QUIET)objcopy --only-keep-debug $< $(PATH_vboxvideo_drv_17)/vboxvideo_drv.so
     321        $(QUIET)objcopy --strip-debug $<
     322        $(QUIET)objcopy --add-gnu-debuglink=$(PATH_vboxvideo_drv_17)/vboxvideo_drv.so $<
     323        $(QUIET)mv $(PATH_vboxvideo_drv_17)/vboxvideo_drv.so $@
     324        $(QUIET)cp $@ $(PATH_OUT)/$(INST_ADDITIONS)
     325
    269326
    270327# Check the undefined symbols in the X.Org modules against lists of allowed
Note: See TracChangeset for help on using the changeset viewer.

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