diff options
author | Muellni <mmuellen@gmx.de> | 2011-10-31 08:44:38 (GMT) |
---|---|---|
committer | Muellni <mmuellen@gmx.de> | 2011-10-31 08:44:38 (GMT) |
commit | e288002301bc1ab186f1348488cc608054749cad (patch) | |
tree | 988fe752228800642eca6c6cd9ea3a8d04aac737 /src/vtk.mk | |
parent | f8e628bfb81b1008d31c58339011419bb0137206 (diff) | |
download | mxe-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.mk | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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' |