summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/arch/arm/v7/opdefs/Makefile.am7
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e13a2f..f730ae1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+15-01-18 Cyrille Bagard <nocbos@gmail.com>
+
+ * src/arch/arm/v7/opdefs/Makefile.am:
+ Rebuild the final Makefile only if its sources have changed.
+
15-01-16 Cyrille Bagard <nocbos@gmail.com>
* src/arch/arm/v7/opcodes/opcodes_tmp_thumb_16.h:
diff --git a/src/arch/arm/v7/opdefs/Makefile.am b/src/arch/arm/v7/opdefs/Makefile.am
index 44dda82..0966e2e 100644
--- a/src/arch/arm/v7/opdefs/Makefile.am
+++ b/src/arch/arm/v7/opdefs/Makefile.am
@@ -91,10 +91,11 @@ ARMV7_DEFS = \
subs_B9320.d
-all: $(ARMV7_DEFS:.d=.g) generate_final_makefile fix_includes_in_c_templates fix_includes_in_h_templates untabify_disass
+all: $(ARMV7_DEFS:.d=.g) fmk.done fix_includes_in_c_templates fix_includes_in_h_templates untabify_disass
-generate_final_makefile:
+fmk.done: $(ARMV7_DEFS)
$(GEN_BIN) ../opcodes/ ../opdefs/.gen ../../../../../tools/d2c/globalgen.mk arm thumb_32 thumb_16
+ touch $@
fix_includes_in_c_templates:
@for f in `find .gen/ -name '*tmpl.c'`; do \
@@ -111,4 +112,4 @@ fix_includes_in_h_templates:
done
clean:
- rm -rf $(ARMV7_DEFS:.d=.g) .gen
+ rm -rf $(ARMV7_DEFS:.d=.g) .gen fmk.done