]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/ResetVector/Vtf0/Makefile
Clean up DEC files:
[mirror_edk2.git] / UefiCpuPkg / ResetVector / Vtf0 / Makefile
1 ## @file
2 # Makefile to create FFS Raw sections for VTF images.
3 #
4 # Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14
15 TARGETS = Bin/ResetVector.ia32.raw Bin/ResetVector.x64.raw
16 ASM = nasm
17
18 COMMON_DEPS = \
19 Ia16/Real16ToFlat32.asm \
20 Ia32/Flat32ToFlat64.asm \
21 JumpToSec.asm \
22 Ia16/ResetVectorVtf0.asm \
23 Ia32/SearchForBfvBase.asm \
24 Ia32/SearchForSecAndPeiEntries.asm \
25 SerialDebug.asm \
26 Makefile \
27 Tools/FixupForRawSection.py
28
29 .PHONY: all
30 all: $(TARGETS)
31
32 Bin/ResetVector.ia32.raw: $(COMMON_DEPS) ResetVectorCode.asm
33 nasm -D ARCH_IA32 -o $@ ResetVectorCode.asm
34 python Tools/FixupForRawSection.py $@
35
36 Bin/ResetVector.x64.raw: $(COMMON_DEPS) ResetVectorCode.asm
37 nasm -D ARCH_X64 -o $@ ResetVectorCode.asm
38 python Tools/FixupForRawSection.py $@
39
40 clean:
41 -rm $(TARGETS)
42