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