VirtualBox

vbox的更動 33364 路徑 trunk/Config.kmk


忽略:
時間撮記:
2010-10-22 下午03:42:37 (14 年 以前)
作者:
vboxsync
訊息:

Some more extension pack (formerly add-ons) sketches.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/Config.kmk

    r33354 r33364  
    8080 INST_DLL             = $(INST_BIN)
    8181 INST_SYS             = $(INST_BIN)
     82 INST_EXTPACK         = $(INST_BIN)ExtensionPacks/
    8283 INST_TESTCASE        = $(INST_BIN)testcase/
    8384 INST_ADDITIONS       = $(INST_BIN)additions/
     
    9798 INST_DLL             = $(INST_BIN)
    9899 INST_SYS             = $(INST_BIN)
     100 INST_EXTPACK         = $(INST_BIN)ExtensionPacks/
    99101 INST_TESTCASE        = $(INST_BIN)testcase/
    100102 INST_ADDITIONS       = $(INST_BIN)additions/
     
    105107 INST_ADDITIONS_LIB   = $(INST_LIB)additions/
    106108endif
     109INST_EXTPACK_PUEL     = $(INST_EXTPACK)Puel/
    107110
    108111PATH_BIN              = $(patsubst %/,%,$(PATH_INS)/$(INST_BIN))
     
    523526## @}
    524527
     528
     529## @name Extension pack
     530## @{
     531# Enables the extension pack feature.
     532VBOX_WITH_EXTPACK = 1
     533# Enables building of the "PUEL" (final name TBD) extension pack.
     534#VBOX_WITH_EXTPACK_PUEL = 1
     535## @}
    525536
    526537## @name Misc
     
    34333444
    34343445#
    3435 # Templates used for building the add-ons.
    3436 #
    3437 TEMPLATE_VBoxR3AddOn = For the ring-3 context addons.
    3438 TEMPLATE_VBoxR3AddOn_EXTENDS = VBOXR3
    3439 ifeq ($(KBUILD_TARGET),win)
    3440 else
    3441  TEMPLATE_VBoxR3AddOn_CXXFLAGS = $(filter-out $(TEMPLATE_VBOX_CXXFLAGS), -fexceptions) -fno-exceptions
    3442  TEMPLATE_VBoxR3AddOn_CFLAGS   = $(filter-out $(TEMPLATE_VBOX_CFLAGS), -fexceptions -frtti) -fno-exceptions -fno-rtti
    3443 endif
    3444 TEMPLATE_VBoxR3AddOn_LIBS = \
    3445         $(TEMPLATE_LIBS_VBOXR3) \
    3446         $(LIB_RUNTIME) \
    3447         $(LIB_VMM)
    3448 
    3449 TEMPLATE_VBoxR0AddOn = For the ring-0 context addons.
    3450 TEMPLATE_VBoxR0AddOn_EXTENDS = VBoxR0
    3451 
    3452 TEMPLATE_VBoxRcAddOn = For the raw-mode context addons.
    3453 TEMPLATE_VBoxRcAddOn_EXTENDS = VBoxRc
    3454 
     3446# Templates used for building the extension packs.
     3447#
     3448ifdef VBOX_WITH_EXTPACK
     3449 # Base templates (native or portable).
     3450 TEMPLATE_VBoxR3ExtPack = For the ring-3 context extension pack modules.
     3451 if 1 # Native for now.
     3452  TEMPLATE_VBoxR3ExtPack_EXTENDS = VBOXR3DLLNOXCPT
     3453 else
     3454  TEMPLATE_VBoxR3ExtPack_EXTENDS = VBOXNOCRTGCC
     3455  TEMPLATE_VBoxR3ExtPack_DEFS = $(TEMPLATE_VBOXR3DLLNOXCPT_DEFS) IPRT_NO_CRT IN_RING3
     3456  TEMPLATE_VBoxR3ExtPack_INCS = $(PATH_ROOT)/include/iprt/nocrt $(TEMPLATE_VBOXR3DLLNOXCPT_INCS)
     3457 endif
     3458 ifneq ($(KBUILD_TARGET),win)
     3459  TEMPLATE_VBoxR3ExtPack_CXXFLAGS = $(TEMPLATE_VBOXR3DLLNOXCPT_CXXFLAGS) -fno-rtti
     3460 endif
     3461 TEMPLATE_VBoxR3ExtPack_INST = $(INST_EXTPACK)YouShallOverrideThis/
     3462 TEMPLATE_VBoxR3ExtPack_LIBS = \
     3463        $(TEMPLATE_LIBS_VBOXR3) \
     3464        $(LIB_RUNTIME) \
     3465        $(LIB_VMM)
     3466
     3467 TEMPLATE_VBoxR0ExtPack = For the ring-0 context extension pack modules.
     3468 TEMPLATE_VBoxR0ExtPack_EXTENDS = VBoxR0
     3469 TEMPLATE_VBoxR0ExtPack_INST = $(INST_EXTPACK)YouShallOverrideThis/
     3470
     3471 TEMPLATE_VBoxRcExtPack = For the raw-mode context extension pack modules.
     3472 TEMPLATE_VBoxRcExtPack_EXTENDS = VBoxRc
     3473 TEMPLATE_VBoxRcExtPack_INST = $(INST_EXTPACK)YouShallOverrideThis/
     3474
     3475 # For each individual extension pack
     3476 ifdef VBOX_WITH_EXTPACK_PUEL
     3477  TEMPLATE_VBoxR3ExtPackPuel = For the ring-3 context modules in the PUEL extension pack.
     3478  TEMPLATE_VBoxR3ExtPackPuel_EXTENDS = VBoxR3ExtPack
     3479  TEMPLATE_VBoxR3ExtPackPuel_INST = $(INST_EXTPACK_PUEL)$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/
     3480
     3481  TEMPLATE_VBoxR0ExtPackPuel = For the ring-0 context modules in the PUEL extension pack.
     3482  TEMPLATE_VBoxR0ExtPackPuel_EXTENDS = VBoxR0ExtPack
     3483  TEMPLATE_VBoxR0ExtPackPuel_INST = $(INST_EXTPACK_PUEL)$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/
     3484
     3485  TEMPLATE_VBoxRcExtPackPuel = For the raw-mode context modules in the PUEL extension pack.
     3486  TEMPLATE_VBoxRcExtPackPuel_EXTENDS = VBoxRcExtPack
     3487  TEMPLATE_VBoxRcExtPackPuel_INST = $(INST_EXTPACK_PUEL)$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/
     3488 endif
     3489endif # VBOX_WITH_EXTPACK
    34553490
    34563491
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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