]> git.proxmox.com Git - mirror_edk2.git/blame - UefiCpuPkg/ResetVector/Vtf0/Makefile
Update the copyright notice format
[mirror_edk2.git] / UefiCpuPkg / ResetVector / Vtf0 / Makefile
CommitLineData
bc252e8e
EB
1## @file
2# Makefile to create FFS Raw sections for VTF images.
3#
01a1c0fc 4# Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
bc252e8e 5#
01a1c0fc 6# This program and the accompanying materials
bc252e8e
EB
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
15TARGETS = Bin/ResetVector.ia32.raw Bin/ResetVector.x64.raw
16ASM = nasm
17
18COMMON_DEPS = \
19 Ia16/16RealTo32Flat.asm \
20 Ia32/32FlatTo64Flat.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
30all: $(TARGETS)
31
32Bin/ResetVector.ia32.raw: $(COMMON_DEPS) ResetVectorCode.asm
33 nasm -D ARCH_IA32 -o $@ ResetVectorCode.asm
34 python Tools/FixupForRawSection.py $@
35
36Bin/ResetVector.x64.raw: $(COMMON_DEPS) ResetVectorCode.asm
37 nasm -D ARCH_X64 -o $@ ResetVectorCode.asm
38 python Tools/FixupForRawSection.py $@
39
40clean:
41 -rm $(TARGETS)
42