Read about our upcoming Code of Conduct on this issue

Commit 52383a24 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

Makefile: allow "make install*" without a FIR file

(for minimal targets and new platforms)

--HG--
branch : qemu
parent bdab902f99b7
......@@ -43,8 +43,8 @@ ifneq ("$(wildcard $(INSTALLER_DIR)/$(ML_MODEL_DIR)/Makefile)","")
# note: a precompiled ML-SETUP.FIR is supplied by default; this will not rebuild it
# to force rebuilding, run "make ML-SETUP.FIR -B"
$(INSTALLER_NAME_FIR):
$(MAKE) -C $(INSTALLER_DIR)/$(ML_MODEL_DIR) build_fir
$(CP) $(INSTALLER_DIR)/$(ML_MODEL_DIR)/$(INSTALLER_NAME_FIR) $@
-$(MAKE) -C $(INSTALLER_DIR)/$(ML_MODEL_DIR) build_fir
-$(CP) $(INSTALLER_DIR)/$(ML_MODEL_DIR)/$(INSTALLER_NAME_FIR) $@
# just to make sure the installer can be compiled from source
# do not actually build the FIR - just the plain binary
......@@ -55,7 +55,7 @@ installer_check: | autoexec.bin
# install ML-SETUP.FIR built from the installer directory
install:: $(INSTALLER_NAME_FIR)
$(CP) $(INSTALLER_NAME_FIR) $(INSTALL_DIR)/
-$(CP) $(INSTALLER_NAME_FIR) $(INSTALL_DIR)/
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment