Hackz.
authorCarl Hetherington <cth@carlh.net>
Tue, 18 Jun 2019 12:54:44 +0000 (13:54 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 18 Jun 2019 12:54:44 +0000 (13:54 +0100)
cscript

diff --git a/cscript b/cscript
index 09465d6c7e6a59ded21d92d101bd45dfdf4fb5ba..0dc36294707b88377668cce2713c592552ccbff3 100644 (file)
--- a/cscript
+++ b/cscript
@@ -21,7 +21,7 @@ def build(target, options):
     if target.platform == 'linux' or target.platform == 'osx':
         target.command('make generic')
         target.command('make -j%d -C build_generic' % target.parallel)
-        target.command('make install')
+        target.command('make -C build_generic install')
         target.command('mkdir -p %s/include/lwext4' % target.directory)
         target.command('cp -r include/* %s/include/lwext4' % target.directory)
         target.command('cp blockdev/linux/file_dev.h %s/include/lwext4' % target.directory)
@@ -29,7 +29,7 @@ def build(target, options):
     elif target.platform == 'windows':
         target.command('make mingw')
         target.command('make -j%d -C build_mingw')
-        target.command('make install')
+        target.command('make -C build_mingw install')
         target.command('mkdir -p %s/include/lwext4' % target.directory)
         target.command('cp -r include/* %s/include/lwext4' % target.directory)
         target.command('cp blockdev/windows/file_dev.h %s/include/lwext4' % target.directory)