VirtualBox

Ignore:
Timestamp:
Dec 30, 2010 4:06:17 PM (14 years ago)
Author:
vboxsync
Message:

Makefiles: The PATH_<target> variable is deprated, use <target>_0_OUTDIR instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/BIOS/Makefile.kmk

    r34399 r35380  
    3838VgaBiosBin_DEFS     = IN_VBOXDD2
    3939VgaBiosBin_INCS     = $(VBOX_PATH_DEVICES_SRC)
    40 VgaBiosBin_SOURCES  = $(PATH_VgaBiosBin)/VgaBiosBin.c
     40VgaBiosBin_SOURCES  = $(VgaBiosBin_0_OUTDIR)/VgaBiosBin.c
    4141VgaBiosBin_CLEAN    = \
    42         $(PATH_VgaBiosBin)/vbetables.h \
     42        $(VgaBiosBin_0_OUTDIR)/vbetables.h \
    4343        \
    44         $(PATH_VgaBiosBin)/_vgabios_.c \
    45         $(PATH_VgaBiosBin)/vgabios0.s \
    46         $(PATH_VgaBiosBin)/vgabios1.s \
    47         $(PATH_VgaBiosBin)/vgabios.tmp \
    48         $(PATH_VgaBiosBin)/vgabios.lst \
    49         $(PATH_VgaBiosBin)/vgabios.bin \
    50         $(PATH_VgaBiosBin)/VgaBiosBin.c \
    51         $(PATH_VgaBiosBin)/VgaDefBiosLogo.c \
     44        $(VgaBiosBin_0_OUTDIR)/_vgabios_.c \
     45        $(VgaBiosBin_0_OUTDIR)/vgabios0.s \
     46        $(VgaBiosBin_0_OUTDIR)/vgabios1.s \
     47        $(VgaBiosBin_0_OUTDIR)/vgabios.tmp \
     48        $(VgaBiosBin_0_OUTDIR)/vgabios.lst \
     49        $(VgaBiosBin_0_OUTDIR)/vgabios.bin \
     50        $(VgaBiosBin_0_OUTDIR)/VgaBiosBin.c \
     51        $(VgaBiosBin_0_OUTDIR)/VgaDefBiosLogo.c \
    5252        \
    53         $(PATH_VgaBiosBin)/_vgabios-cirrus_.c \
    54         $(PATH_VgaBiosBin)/vgabios-cirrus0.s \
    55         $(PATH_VgaBiosBin)/vgabios-cirrus1.s \
    56         $(PATH_VgaBiosBin)/vgabios-cirrus.tmp \
    57         $(PATH_VgaBiosBin)/vgabios-cirrus.lst \
    58         $(PATH_VgaBiosBin)/vgabios-cirrus.bin
     53        $(VgaBiosBin_0_OUTDIR)/_vgabios-cirrus_.c \
     54        $(VgaBiosBin_0_OUTDIR)/vgabios-cirrus0.s \
     55        $(VgaBiosBin_0_OUTDIR)/vgabios-cirrus1.s \
     56        $(VgaBiosBin_0_OUTDIR)/vgabios-cirrus.tmp \
     57        $(VgaBiosBin_0_OUTDIR)/vgabios-cirrus.lst \
     58        $(VgaBiosBin_0_OUTDIR)/vgabios-cirrus.bin
    5959
    6060#
    6161# Rule for making the bios.
    6262#
    63 $$(PATH_VgaBiosBin)/VgaBiosBin.c: $$(PATH_VgaBiosBin)/vgabios.bin $(VBOX_BIN2C)
     63$$(VgaBiosBin_0_OUTDIR)/VgaBiosBin.c: $$(VgaBiosBin_0_OUTDIR)/vgabios.bin $(VBOX_BIN2C)
    6464        $(call MSG_TOOL,bin2c,VgaBiosBin,$<,$@)
    6565        $(QUIET)$(VBOX_BIN2C) -min 36 -max 36 -mask 0x0fff -ascii -export VgaBiosBinary $< $@
     
    7070
    7171# 1. create vbetables.h
    72 $$(PATH_VgaBiosBin)/vbetables.h: $(MAKEFILE_CURRENT) $$(TARGET_vbetables-gen) | $$(dir $$@)
     72$$(VgaBiosBin_0_OUTDIR)/vbetables.h: $(MAKEFILE_CURRENT) $$(TARGET_vbetables-gen) | $$(dir $$@)
    7373        $(QUIET)$(REDIRECT) -wo $@ -- $(TARGET_vbetables-gen)
    7474
    7575# 2. precompile
    7676# WARNING! DEBUG is undefined here to keep the image size stable between debug and release builds.
    77 $$(PATH_VgaBiosBin)/_vgabios_.c: $(addprefix $(PATH_SUB_CURRENT)/,vgabios.c vgabios.h vbe.h vgatables.h vgafonts.h vbe.c clext.c) $$(PATH_VgaBiosBin)/vbetables.h $(PATH_ROOT)/include/VBox/Hardware/VBoxVideoVBE.h $(VBOX_VERSION_STAMP)
     77$$(VgaBiosBin_0_OUTDIR)/_vgabios_.c: $(addprefix $(PATH_SUB_CURRENT)/,vgabios.c vgabios.h vbe.h vgatables.h vgafonts.h vbe.c clext.c) $$(VgaBiosBin_0_OUTDIR)/vbetables.h $(PATH_ROOT)/include/VBox/Hardware/VBoxVideoVBE.h $(VBOX_VERSION_STAMP)
    7878        $(call MSG_TOOL,cpp,VgaBiosBin,$<,$@)
    7979        $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P \
     
    8686# 3. compile
    8787# BCC tempfile clashes, order the BCC jobs to make sure they don't interfere with one another.
    88 $$(PATH_VgaBiosBin)/vgabios0.s: $$(PATH_VgaBiosBin)/_vgabios_.c | $(VBOX_BCC_JOBS)
     88$$(VgaBiosBin_0_OUTDIR)/vgabios0.s: $$(VgaBiosBin_0_OUTDIR)/_vgabios_.c | $(VBOX_BCC_JOBS)
    8989        $(call MSG_COMPILE,VgaBiosBin,$<,$@,C)
    9090        $(QUIET)$(VBOX_BCC) -o $@ -C-c -D__i86__ -0 -S $^
    91 VBOX_BCC_JOBS += $(PATH_VgaBiosBin)/vgabios0.s
     91VBOX_BCC_JOBS += $(VgaBiosBin_0_OUTDIR)/vgabios0.s
    9292
    9393# 4. preprocess intermediate assembly.
    94 $$(PATH_VgaBiosBin)/vgabios1.s: $$(PATH_VgaBiosBin)/vgabios0.s
     94$$(VgaBiosBin_0_OUTDIR)/vgabios1.s: $$(VgaBiosBin_0_OUTDIR)/vgabios0.s
    9595        $(call MSG_TOOL,Adjusting BCC Assembly,VgaBiosBin,$<,$@)
    9696        $(QUIET)$(SED) -e 's/^\.text//' -e 's/^\.data//' --output $@ $^
    9797
    9898# 5. assemble
    99 $$(PATH_VgaBiosBin)/vgabios.tmp $$(PATH_VgaBiosBin)/vgabios.lst: $$(PATH_VgaBiosBin)/vgabios1.s
     99$$(VgaBiosBin_0_OUTDIR)/vgabios.tmp $$(VgaBiosBin_0_OUTDIR)/vgabios.lst: $$(VgaBiosBin_0_OUTDIR)/vgabios1.s
    100100        $(call MSG_COMPILE,VgaBiosBin,$<,$@,AS)
    101         $(QUIET)$(REDIRECT) -ri $^ -- $(VBOX_AS86) -b $(PATH_VgaBiosBin)/vgabios.tmp -u- -w- -g -0 -j -O -l $(PATH_VgaBiosBin)/vgabios.lst
     101        $(QUIET)$(REDIRECT) -ri $^ -- $(VBOX_AS86) -b $(VgaBiosBin_0_OUTDIR)/vgabios.tmp -u- -w- -g -0 -j -O -l $(VgaBiosBin_0_OUTDIR)/vgabios.lst
    102102
    103103# 6. checksums
    104 $$(PATH_VgaBiosBin)/vgabios.bin: $$(PATH_VgaBiosBin)/vgabios.tmp $$(VBOX_BIOSSUMS)
     104$$(VgaBiosBin_0_OUTDIR)/vgabios.bin: $$(VgaBiosBin_0_OUTDIR)/vgabios.tmp $$(VBOX_BIOSSUMS)
    105105        $(call MSG_TOOL,biossums,VgaBiosBin,$<,$@)
    106106        $(QUIET)$(VBOX_BIOSSUMS) $< $@
     
    112112VgaDefBiosLogo_TEMPLATE  = VBOXR3
    113113VgaDefBiosLogo_INCS      = $(VBOX_PATH_DEVICES_SRC)
    114 VgaDefBiosLogo_SOURCES   = $(PATH_VgaBiosBin)/VgaDefBiosLogo.c
     114VgaDefBiosLogo_SOURCES   = $(VgaBiosBin_0_OUTDIR)/VgaDefBiosLogo.c
    115115
    116116#
    117117# Rule for making the bios logo.
    118118#
    119 $$(PATH_VgaBiosBin)/VgaDefBiosLogo.c: $(VBOX_BRAND_BIOS_LOGO) $(VBOX_BIN2C)
     119$$(VgaBiosBin_0_OUTDIR)/VgaDefBiosLogo.c: $(VBOX_BRAND_BIOS_LOGO) $(VBOX_BIN2C)
    120120        $(call MSG_TOOL,bin2c,VgaBiosBin,$<,$@)
    121121        $(QUIET)$(VBOX_BIN2C) VgaDefBiosLogo $< $@
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