summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-05 11:19:48 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-20 12:06:26 +0000
commita26faffa841d87c204b6b058af9dbece3148ddb6 (patch)
tree385c71c39c5bf9b77ed66ce86e4b8eb2e8a34bb6
parent8d8eef8bf90186f1ed11a6fd1d0afbaad811e1ec (diff)
Fix dependencies for i386/x86_64 disasmv3.6.0-beta1
We want to be sure that gendis actually runs before the *_disasm.c is compiled. Change-Id: Id4ceb1c30854beb9d25fcb1e896b040cc53ffb22 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
-rw-r--r--3rdparty/elfutils/libcpu/i386/i386.pro4
-rw-r--r--3rdparty/elfutils/libcpu/x86_64/x86_64.pro4
2 files changed, 6 insertions, 2 deletions
diff --git a/3rdparty/elfutils/libcpu/i386/i386.pro b/3rdparty/elfutils/libcpu/i386/i386.pro
index 678a0f8..ec1090b 100644
--- a/3rdparty/elfutils/libcpu/i386/i386.pro
+++ b/3rdparty/elfutils/libcpu/i386/i386.pro
@@ -1,4 +1,5 @@
-TARGET = ../i386
+TARGET = i386
+DESTDIR = $$OUT_PWD/..
include(../../static.pri)
include(../../libasm/asmheaders.pri)
@@ -8,6 +9,7 @@ include(../cpuheaders.pri)
gendis.target = i386_dis.h
gendis.commands = make -f $$PWD/../extras.mk gendis=$$OUT_PWD/../i386_gendis/ srcdir=$$PWD/../ \
i386_dis.h
+i386.depends = i386_dis.h
OTHER_FILES += \
$$PWD/../extras.mk
diff --git a/3rdparty/elfutils/libcpu/x86_64/x86_64.pro b/3rdparty/elfutils/libcpu/x86_64/x86_64.pro
index 9d5fdc9..7672cc2 100644
--- a/3rdparty/elfutils/libcpu/x86_64/x86_64.pro
+++ b/3rdparty/elfutils/libcpu/x86_64/x86_64.pro
@@ -1,4 +1,5 @@
-TARGET = ../x86_64
+TARGET = x86_64
+DESTDIR = $$OUT_PWD/..
include(../../static.pri)
include(../../libasm/asmheaders.pri)
@@ -8,6 +9,7 @@ include(../cpuheaders.pri)
gendis.target = x86_64_dis.h
gendis.commands = make -f $$PWD/../extras.mk gendis=$$OUT_PWD/../i386_gendis/ srcdir=$$PWD/../ \
x86_64_dis.h
+x86_64.depends = x86_64_dis.h
OTHER_FILES += \
$$PWD/../extras.mk