Makefile : étape de création des répertoires utiles à qemush
This commit is contained in:
parent
57bbb0642b
commit
b2fe707cd4
1 changed files with 8 additions and 1 deletions
9
Makefile
9
Makefile
|
@ -32,7 +32,14 @@ SRC_C_SOURCES_NAMES := $(notdir $(basename $(wildcard $(SRCD)/*.$(SRC_FMT))))
|
||||||
# Location of C binaries
|
# Location of C binaries
|
||||||
C_BINARIES := $(addprefix $(QEMU_BIN)/,$(SRC_C_SOURCES_NAMES))
|
C_BINARIES := $(addprefix $(QEMU_BIN)/,$(SRC_C_SOURCES_NAMES))
|
||||||
|
|
||||||
all: $(QEMUSH) $(MODULES) $(C_BINARIES)
|
# Directories in ~qemu necessary for qemush to work
|
||||||
|
QEMUSH_DIRS_NAMES := bin launchers images
|
||||||
|
QEMUSH_DIRS := $(addprefix $(QEMU_HOME)/,$(QEMUSH_DIRS_NAMES))
|
||||||
|
|
||||||
|
all: $(QEMUSH_DIRS) $(MODULES) $(C_BINARIES) $(QEMUSH)
|
||||||
|
|
||||||
|
$(QEMUSH_DIRS):
|
||||||
|
$(SUDO_QEMU) mkdir -p $@
|
||||||
|
|
||||||
$(QEMUSH): $(SRC_QEMUSH)
|
$(QEMUSH): $(SRC_QEMUSH)
|
||||||
sudo install -m 755 $^ $@
|
sudo install -m 755 $^ $@
|
||||||
|
|
Loading…
Reference in a new issue