VirtualBox

Ignore:
Timestamp:
Jan 24, 2022 10:24:33 PM (3 years ago)
Author:
vboxsync
Message:

ValKit/utils/cpu/Makefile.kmk: Skip utilites with .asm files for non-x86/amd64 targets. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/cpu/Makefile.kmk

    r93115 r93433  
    2828include $(KBUILD_PATH)/subheader.kmk
    2929
    30 PROGRAMS += xmmsaving
    31 xmmsaving_TEMPLATE = VBoxValidationKitR3
    32 xmmsaving_SOURCES  = xmmsaving.cpp xmmsaving-asm.asm
     30if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
     31 PROGRAMS += xmmsaving
     32 xmmsaving_TEMPLATE = VBoxValidationKitR3
     33 xmmsaving_SOURCES  = xmmsaving.cpp xmmsaving-asm.asm
     34endif
    3335
    34 PROGRAMS += exceptionsR3
    35 exceptionsR3_TEMPLATE = VBoxValidationKitR3
    36 exceptionsR3_SOURCES  = exceptionsR3.cpp exceptionsR3-asm.asm
     36if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
     37 PROGRAMS += exceptionsR3
     38 exceptionsR3_TEMPLATE = VBoxValidationKitR3
     39 exceptionsR3_SOURCES  = exceptionsR3.cpp exceptionsR3-asm.asm
     40endif
    3741
    3842PROGRAMS += cpu-numa
     
    4448cpu-alloc-all-mem_SOURCES  = cpu-alloc-all-mem.cpp
    4549
    46 ifneq ($(KBUILD_HOST),os2)
    47 PROGRAMS += cidet-app
     50if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
     51 ifneq ($(KBUILD_HOST),os2)
     52 PROGRAMS += cidet-app
     53 endif
     54 cidet-app_TEMPLATE = VBoxValidationKitR3
     55 cidet-app_SOURCES  = \
     56        cidet-app.cpp \
     57        cidet-appA.asm \
     58        cidet-core.cpp \
     59        cidet-instr-1.cpp
     60 cidet-app_DEFS = IN_DIS
     61 cidet-app_DEFS.linux = CIDET_REDUCED_CTX
     62 cidet-app_LIBS = $(PATH_STAGE_LIB)/DisasmR3Static$(VBOX_SUFF_LIB)
     63 cidet-app_VBOX_IMPORT_CHECKER.win.x86 = $(NO_SUCH_VARIABLE) # doesn't work on NT4 yet.
    4864endif
    49 cidet-app_TEMPLATE = VBoxValidationKitR3
    50 cidet-app_SOURCES  = \
    51         cidet-app.cpp \
    52         cidet-appA.asm \
    53         cidet-core.cpp \
    54         cidet-instr-1.cpp
    55 cidet-app_DEFS = IN_DIS
    56 cidet-app_DEFS.linux = CIDET_REDUCED_CTX
    57 cidet-app_LIBS = $(PATH_STAGE_LIB)/DisasmR3Static$(VBOX_SUFF_LIB)
    58 cidet-app_VBOX_IMPORT_CHECKER.win.x86 = $(NO_SUCH_VARIABLE) # doesn't work on NT4 yet.
    5965
    60 PROGRAMS += rdtsc
    61 rdtsc_TEMPLATE = VBoxValidationKitR3
    62 rdtsc_SOURCES  = rdtsc.cpp rdtsc-asm.asm
     66if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
     67 PROGRAMS += rdtsc
     68 rdtsc_TEMPLATE = VBoxValidationKitR3
     69 rdtsc_SOURCES  = rdtsc.cpp rdtsc-asm.asm
     70endif
    6371
    6472
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