payloads/edk2: Rename the update recipe
Rename the update recipe, which updates the edk2 repository, to $(EDK2_PATH). There is no functional change here. This recipe must be phony so it runs every time. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I30fedbee7459b79a85a23678e0075368eda95da0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66363 Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
f2a9a3fb41
commit
461d1c8268
|
@ -103,7 +103,7 @@ all: UefiPayloadPkg
|
||||||
$(WORKSPACE):
|
$(WORKSPACE):
|
||||||
mkdir $(WORKSPACE)
|
mkdir $(WORKSPACE)
|
||||||
|
|
||||||
update: $(WORKSPACE)
|
$(EDK2_PATH): $(WORKSPACE)
|
||||||
if [ ! -d "$(EDK2_PATH)" ]; then \
|
if [ ! -d "$(EDK2_PATH)" ]; then \
|
||||||
git clone --recurse-submodules $(CONFIG_EDK2_REPOSITORY) $(EDK2_PATH) -j5; \
|
git clone --recurse-submodules $(CONFIG_EDK2_REPOSITORY) $(EDK2_PATH) -j5; \
|
||||||
fi
|
fi
|
||||||
|
@ -123,7 +123,7 @@ update: $(WORKSPACE)
|
||||||
fi; \
|
fi; \
|
||||||
git submodule update --init --checkout
|
git submodule update --init --checkout
|
||||||
|
|
||||||
logo: update
|
logo: $(EDK2_PATH)
|
||||||
case "$(CONFIG_EDK2_BOOTSPLASH_FILE)" in \
|
case "$(CONFIG_EDK2_BOOTSPLASH_FILE)" in \
|
||||||
"") ;; \
|
"") ;; \
|
||||||
/*) convert -background None $(CONFIG_EDK2_BOOTSPLASH_FILE) \
|
/*) convert -background None $(CONFIG_EDK2_BOOTSPLASH_FILE) \
|
||||||
|
@ -168,7 +168,7 @@ print:
|
||||||
-e 's/s /Build: Silent/' \
|
-e 's/s /Build: Silent/' \
|
||||||
-e 's/t /Toolchain: /'
|
-e 's/t /Toolchain: /'
|
||||||
|
|
||||||
prep: clean checktools logo update
|
prep: $(EDK2_PATH) clean checktools logo
|
||||||
cd $(WORKSPACE); \
|
cd $(WORKSPACE); \
|
||||||
source $(EDK2_PATH)/edksetup.sh; \
|
source $(EDK2_PATH)/edksetup.sh; \
|
||||||
unset CC; $(MAKE) -C $(EDK2_PATH)/BaseTools 2>&1; \
|
unset CC; $(MAKE) -C $(EDK2_PATH)/BaseTools 2>&1; \
|
||||||
|
@ -200,4 +200,4 @@ clean:
|
||||||
distclean:
|
distclean:
|
||||||
rm -rf $(WORKSPACE)
|
rm -rf $(WORKSPACE)
|
||||||
|
|
||||||
.PHONY: update logo checktools UefiPayloadPkg clean distclean
|
.PHONY: $(EDK2_PATH) checktools logo UefiPayloadPkg clean distclean
|
||||||
|
|
Loading…
Reference in New Issue