summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/arm/v7/opdefs/Makefile.am4
-rw-r--r--plugins/dalvik/v35/opdefs/Makefile.am4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/arm/v7/opdefs/Makefile.am b/plugins/arm/v7/opdefs/Makefile.am
index 59b69a4..2fb3c4a 100644
--- a/plugins/arm/v7/opdefs/Makefile.am
+++ b/plugins/arm/v7/opdefs/Makefile.am
@@ -6,7 +6,7 @@ D2C_BIN = $(top_srcdir)/tools/d2c/d2c
GEN_BIN = $(top_srcdir)/tools/d2c/d2c_genmakefile.sh
-D2C_OUTDIR = $(PWD)/../opcodes/
+D2C_OUTDIR = $(shell readlink -f $(PWD)/.. )/
D2C_TYPE = raw
@@ -461,7 +461,7 @@ dist-hook:
all: $(ARMV7_DEFS:.d=.g) fmk.done d2c_final_rules
fmk.done: $(ARMV7_DEFS)
- $(GEN_BIN) $(D2C_OUTDIR) arm thumb_32 thumb_16
+ $(GEN_BIN) $(D2C_OUTDIR)opcodes/ arm thumb_32 thumb_16
touch $@
clean:
diff --git a/plugins/dalvik/v35/opdefs/Makefile.am b/plugins/dalvik/v35/opdefs/Makefile.am
index 0684c53..535d5c1 100644
--- a/plugins/dalvik/v35/opdefs/Makefile.am
+++ b/plugins/dalvik/v35/opdefs/Makefile.am
@@ -6,7 +6,7 @@ D2C_BIN = $(top_srcdir)/tools/d2c/d2c
GEN_BIN = $(top_srcdir)/tools/d2c/d2c_genmakefile.sh
-D2C_OUTDIR = $(PWD)/../opcodes/
+D2C_OUTDIR = $(shell readlink -f $(PWD)/.. )/
D2C_TYPE = format
@@ -321,7 +321,7 @@ dist-hook:
all: $(DALVIK_DEFS:.d=.g) fmk.done d2c_final_rules
fmk.done: $(DALVIK_DEFS)
- $(GEN_BIN) $(D2C_OUTDIR) -
+ $(GEN_BIN) $(D2C_OUTDIR)opcodes/ -
touch $@
clean: