]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # GNU/Linux makefile for 'DevicePath' module build.\r | |
3 | #\r | |
4 | # Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r | |
5 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | #\r | |
7 | ARCH ?= IA32\r | |
8 | MAKEROOT ?= ..\r | |
9 | \r | |
10 | APPNAME = DevicePath\r | |
11 | \r | |
12 | OBJECTS = DevicePath.o UefiDevicePathLib.o DevicePathFromText.o DevicePathUtilities.o\r | |
13 | \r | |
14 | include $(MAKEROOT)/Makefiles/app.makefile\r | |
15 | \r | |
16 | # gcc 12 trips over device path handling\r | |
17 | BUILD_CFLAGS += -Wno-error=stringop-overflow\r | |
18 | \r | |
19 | LIBS = -lCommon\r | |
20 | ifeq ($(CYGWIN), CYGWIN)\r | |
21 | LIBS += -L/lib/e2fsprogs -luuid\r | |
22 | endif\r | |
23 | \r | |
24 | ifeq ($(LINUX), Linux)\r | |
25 | LIBS += -luuid\r | |
26 | endif\r | |
27 | \r |