Read about our upcoming Code of Conduct on this issue

Commit b59674b4 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

Makefile: minor fine-tuning; updated comments

branch : backtrace
parent e9c4d7150932
......@@ -256,17 +256,21 @@ $(TOP_DIR)/tcc/libtccx.o: FORCE
# where QEMU is installed (for emulating ML)
# copy from QEMU (outside ML dir) if they were edited there
ifneq ("$(wildcard $(QEMU_INSTALLED_DBI_DIR)/backtrace.c)","")
# copy backtrace.[ch] from QEMU (outside ML dir) if they were edited there
# optional dependency, only if QEMU is installed "near" ML dir (the install script does that)
ifneq ("$(wildcard $(QEMU_INSTALLED_DBI_DIR)/backtrace.c)","")
$(SRC_DIR)/backtrace.c $(SRC_DIR)/backtrace.h:: $(SRC_DIR)/backtrace.%: $(QEMU_INSTALLED_DBI_DIR)/backtrace.%
$(call build,CP,$(CP) $^ $@)
# make sure we have the header when building backtrace.c for the first time
# make sure we have the latest header when compiling after "make clean"
# normally, *.h are added as dependencies of *.o in the *.d (make)files
# but after "make clean" we don't have them
$(SRC_DIR)/backtrace.c:: $(SRC_DIR)/backtrace.h
# Extract the stdio files that we need
strrchr.o \
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