VirtualBox

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


Ignore:
Timestamp:
Jan 30, 2013 3:48:55 PM (12 years ago)
Author:
vboxsync
Message:

vboxvideo/Makefile.kmk: Generalize the undefined symbol test rule generation.

File:
1 edited

Legend:

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

    r43588 r44470  
    352352     VBOXVIDEO_SRC_PATH := $(PATH_SUB_CURRENT)
    353353
     354if 0
     355##
     356# Using the extra expansion to replace $(ver) before eval, thus everything
     357# else needs escaped dollars.
     358define def_vboxvideo_test
     359TESTING += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run
     360OTHERS  += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run
     361$$$$(vboxvideo_drv_$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run: $$$$(vboxvideo_drv$(ver)_1_STAGE_TARGET)
     362        $$(QUIET)$$(call MSG_L1,Checking for unresolved symbols in $$<)
     363        $$(QUIET)$$(ASH) $$(PATH_ROOT)/src/bldprogs/checkUndefined.sh $$(KBUILD_HOST)  \
     364            $$(vboxvideo_drv$(ver)_1_STAGE_TARGET) $$(VBOXVIDEO_SRC_PATH)/undefined --static
     365        $$(QUIET)$$(APPEND) -t "$@" "done"
     366endef
     367ver :=
     368$(eval $(def_vboxvideo_test))
     369$(foreach ver, _70 _71 _13 _14 _15 _16 _17 _18 _19 _110 _111 _112 _113, $(eval $(def_vboxvideo_test)))
     370
     371else  # old
     372
    354373     ifeq ($(KBUILD_TARGET),linux)
    355374      TESTING += $(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run
     
    465484            $(vboxvideo_drv_113_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    466485        $(QUIET)$(APPEND) -t "$@" "done"
     486endif # old
    467487
    468488    endif # ! VBOX_ONLY_SDK
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