mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
ArmPlatformPkg/Scripts/Makefile: Update after edksetup.sh changes
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15211 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
139b577374
commit
3f3659e2f7
@ -1,5 +1,5 @@
|
|||||||
#/* @file
|
#/* @file
|
||||||
# Copyright (c) 2011-2012, ARM Limited. All rights reserved.
|
# Copyright (c) 2011-2014, ARM Limited. All rights reserved.
|
||||||
#
|
#
|
||||||
# This program and the accompanying materials
|
# This program and the accompanying materials
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
# are licensed and made available under the terms and conditions of the BSD License
|
||||||
@ -43,7 +43,7 @@ all: $(EDK2_CONF)
|
|||||||
ifeq ("$(OS)","Windows_NT")
|
ifeq ("$(OS)","Windows_NT")
|
||||||
build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS)
|
build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS)
|
||||||
else
|
else
|
||||||
. ./edksetup.sh `pwd`/BaseTools; build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS)
|
. ./edksetup.sh; build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(EDK2_CONF):
|
$(EDK2_CONF):
|
||||||
@ -53,13 +53,13 @@ ifeq ("$(OS)","Windows_NT")
|
|||||||
copy $(EDK_TOOLS_PATH)\Conf\target.template Conf\target.txt
|
copy $(EDK_TOOLS_PATH)\Conf\target.template Conf\target.txt
|
||||||
copy $(EDK_TOOLS_PATH)\Conf\tools_def.template Conf\tools_def.txt
|
copy $(EDK_TOOLS_PATH)\Conf\tools_def.template Conf\tools_def.txt
|
||||||
else
|
else
|
||||||
. ./edksetup.sh `pwd`/BaseTools; $(MAKE) -C BaseTools
|
. ./edksetup.sh; $(MAKE) -C BaseTools
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
ifeq ("$(OS)","Windows_NT")
|
ifeq ("$(OS)","Windows_NT")
|
||||||
build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) cleanall
|
build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) cleanall
|
||||||
else
|
else
|
||||||
. ./edksetup.sh `pwd`/BaseTools; build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) cleanall; \
|
. ./edksetup.sh; build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) cleanall; \
|
||||||
rm -Rf $(EDK2_CONF) Conf/.cache
|
rm -Rf $(EDK2_CONF) Conf/.cache
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user