BaseTools/ImageTool: Move Pcd tokens into OC User library

This commit is contained in:
Savva Mitrofanov 2023-04-14 19:24:25 +06:00
parent 511f3b2637
commit 4a19cb0dc4
No known key found for this signature in database
GPG Key ID: 774924031750BF64
4 changed files with 3 additions and 13 deletions

View File

@ -19,7 +19,7 @@ include $(OC_USER)/User/Makefile
.DEFAULT_GOAL := Tools .DEFAULT_GOAL := Tools
CFLAGS += -include Pcds.h -Werror CFLAGS += -Werror
VPATH += ../../MdePkg/Library/BasePeCoffLib2:$\ VPATH += ../../MdePkg/Library/BasePeCoffLib2:$\
../../MdePkg/Library/BaseUefiImageExtraActionLibNull ../../MdePkg/Library/BaseUefiImageExtraActionLibNull

View File

@ -70,7 +70,7 @@ cleanall:
@move $@ $(OUT_DIR)\ @move $@ $(OUT_DIR)\
{$(PE)}.c.obj : {$(PE)}.c.obj :
$(CC) -c $(CFLAGS) $(INC) /FI Pcds.h $< -Fo$@ $(CC) -c $(CFLAGS) $(INC) $< -Fo$@
@move $@ $(OUT_DIR)\ @move $@ $(OUT_DIR)\
{$(UA)}.c.obj : {$(UA)}.c.obj :

View File

@ -1,10 +0,0 @@
/** @file
Copyright (c) 2021, Marvin Häuser. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
**/
#define _PCD_GET_MODE_32_PcdImageLoaderAlignmentPolicy 0xFFFFFFFFU
#define _PCD_GET_MODE_BOOL_PcdImageLoaderWXorX TRUE
#define _PCD_GET_MODE_32_PcdImageLoaderRelocTypePolicy 0x00
#define _PCD_GET_MODE_BOOL_PcdImageLoaderDebugSupport TRUE
#define _PCD_GET_MODE_BOOL_PcdImageLoaderAllowMisalignedOffset FALSE

@ -1 +1 @@
Subproject commit c42343b6bf3207ca0cb0145b46345da76627a3bb Subproject commit c72c258fca896aa1e3ba1c8326b001a84d94bdbc