summaryrefslogtreecommitdiffstats
path: root/src/vtk.mk
diff options
context:
space:
mode:
authorMuellni <mmuellen@gmx.de>2011-10-31 08:44:38 (GMT)
committerMuellni <mmuellen@gmx.de>2011-10-31 08:44:38 (GMT)
commite288002301bc1ab186f1348488cc608054749cad (patch)
tree988fe752228800642eca6c6cd9ea3a8d04aac737 /src/vtk.mk
parentf8e628bfb81b1008d31c58339011419bb0137206 (diff)
downloadmxe-e288002301bc1ab186f1348488cc608054749cad.zip
mxe-e288002301bc1ab186f1348488cc608054749cad.tar.gz
mxe-e288002301bc1ab186f1348488cc608054749cad.tar.bz2
package vtk: consolidate patch file and add tools target
merged compile tools patches into one patch file and added a CompileTools target for compiling only the compile tools during the native build
Diffstat (limited to 'src/vtk.mk')
-rw-r--r--src/vtk.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/vtk.mk b/src/vtk.mk
index c69ca87..ddc4615 100644
--- a/src/vtk.mk
+++ b/src/vtk.mk
@@ -17,14 +17,12 @@ endef
define $(PKG)_BUILD
- # first we need a native build for compile tools
+ # first we need a native build to create the compile tools
mkdir '$(1)/native_build'
- cd '$(1)/native_build' && cmake \
- -DCMAKE_INSTALL_PREFIX='$(PREFIX)/$(TARGET)'\
- -DCMAKE_BUILD_TYPE='Release'\
- ..
- # only the Utilities need to be built
- $(MAKE) -C '$(1)/native_build/Utilities' -j '$(JOBS)' VERBOSE=1
+ cd '$(1)/native_build' && cmake -DCMAKE_BUILD_TYPE='Release' ..
+
+ # only the newly created CompileTools target need to be built
+ $(MAKE) -C '$(1)/native_build' -j '$(JOBS)' VERBOSE=1 CompileTools
# now for the cross compilation
mkdir '$(1)/cross_build'