endif
EDK2BASE = /usr/local/UDK2010/MyWorkSpace
+#EDK2BASE = /usr/local/EDK2/tianocore-edk2
# Below file defines TARGET (RELEASE or DEBUG) and TOOL_CHAIN_TAG (GCC44, GCC45, GCC46, or GCC47)
include $(EDK2BASE)/Conf/target.txt
+make AR_TARGET=mok -C $(MOK_DIR) -f Make.tiano
+make BUILDME=refind DLL_TARGET=refind -C $(LOADER_DIR) -f Make.tiano
+make -C $(GPTSYNC_DIR) -f Make.tiano
- +make -C $(FS_DIR)
+# +make -C $(FS_DIR)
clean:
make -C $(LIBEG_DIR) clean
#define _PCD_GET_MODE_BOOL_PcdVerifyNodeInList _gPcd_FixedAtBuild_PcdVerifyNodeInList
#define _PCD_SET_MODE_BOOL_PcdVerifyNodeInList ASSERT(FALSE) // It is not allowed to set value for a FIXED_AT_BUILD PCD
+#define _PCD_TOKEN_PcdMaximumDevicePathNodeCount 6U
+#define _PCD_VALUE_PcdMaximumDevicePathNodeCount 0U
+GLOBAL_REMOVE_IF_UNREFERENCED const UINT32 _gPcd_FixedAtBuild_PcdMaximumDevicePathNodeCount = _PCD_VALUE_PcdMaximumDevicePathNodeCount;
+extern const UINT32 _gPcd_FixedAtBuild_PcdMaximumDevicePathNodeCount;
+#define _PCD_GET_MODE_32_PcdMaximumDevicePathNodeCount _gPcd_FixedAtBuild_PcdMaximumDevicePathNodeCount
+//#define _PCD_SET_MODE_32_PcdMaximumDevicePathNodeCount ASSERT(FALSE) // It is not allowed to set value for a FIXED_AT_BUILD PCD
+
#define _PCD_TOKEN_PcdDriverDiagnosticsDisable 6U
#define _PCD_VALUE_PcdDriverDiagnosticsDisable ((BOOLEAN)0U)
GLOBAL_REMOVE_IF_UNREFERENCED const BOOLEAN _gPcd_FixedAtBuild_PcdDriverDiagnosticsDisable = _PCD_VALUE_PcdDriverDiagnosticsDisable;
#define _PCD_GET_MODE_32_PcdUefiLibMaxPrintBufferSize _gPcd_FixedAtBuild_PcdUefiLibMaxPrintBufferSize
#define _PCD_SET_MODE_32_PcdUefiLibMaxPrintBufferSize ASSERT(FALSE) // It is not allowed to set value for a FIXED_AT_BUILD PCD
-
EFI_STATUS
EFIAPI
UefiBootServicesTableLibConstructor (
SPrint(FileName, 255, L"\\%s", DirEntry->FileName);
CleanUpPathNameSlashes(FileName);
- if( /* (!StriSubCmp(L"vmlinuz", DirEntry->FileName) ||
- !StriSubCmp(L"bzImage", DirEntry->FileName)) && */
- !IsValidLoader(Volume, FileName))
+ if(!IsValidLoader(Volume, FileName))
continue;
NewLoader = AllocateZeroPool(sizeof(struct LOADER_LIST));