mirror of
https://github.com/limine-bootloader/limine
synced 2024-11-29 20:03:19 +03:00
build: Fix race condition in root GNUmakefile.in
This commit is contained in:
parent
fb4b02a451
commit
cd8188d832
@ -103,8 +103,12 @@ $(call MKESCAPE,$(BINDIR))/limine-enroll-config: $(call MKESCAPE,$(BINDIR))/Make
|
||||
$(MAKE) -C '$(call SHESCAPE,$(BINDIR))' limine-enroll-config
|
||||
|
||||
$(call MKESCAPE,$(BINDIR))/Makefile: $(call MKESCAPE,$(SRCDIR))/host/Makefile $(call MKESCAPE,$(SRCDIR))/host/.gitignore
|
||||
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||
cp '$(call SHESCAPE,$(SRCDIR))/host/Makefile' '$(call SHESCAPE,$(SRCDIR))/host/.gitignore' '$(call SHESCAPE,$(BINDIR))/'
|
||||
if mkdir '$(call SHESCAPE,$(BINDIR))'; then \
|
||||
cp '$(call SHESCAPE,$(SRCDIR))/host/Makefile' '$(call SHESCAPE,$(SRCDIR))/host/.gitignore' '$(call SHESCAPE,$(BINDIR))/'; \
|
||||
else \
|
||||
while ! [ -f '$(call SHESCAPE,$(SRCDIR))/host/Makefile' ]; do true; done; \
|
||||
while ! [ -f '$(call SHESCAPE,$(SRCDIR))/host/.gitignore' ]; do true; done; \
|
||||
fi
|
||||
|
||||
.PHONY: limine-deploy
|
||||
limine-deploy:
|
||||
|
Loading…
Reference in New Issue
Block a user