aboutsummaryrefslogtreecommitdiff
path: root/install-win32/maketapinstall
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install-win32/maketapinstall23
1 files changed, 20 insertions, 3 deletions
diff --git a/install-win32/maketapinstall b/install-win32/maketapinstall
index e10f25c..5229a89 100644
--- a/install-win32/maketapinstall
+++ b/install-win32/maketapinstall
@@ -8,6 +8,16 @@
# get version.nsi definitions
. autodefs/nsidefs.sh
+if ! [ -d "$TISRC" ] ; then
+ echo "$TISRC" NOT INSTALLED
+ exit 1
+fi
+
+amdtarget=""
+if [ -z "$TI_BIN_AMD64" ]; then
+ amdtarget="fre AMD64 WNET"
+fi
+
if [ -z "$DRVBINSRC" ] ; then
rm -rf tapinstall
cp -a "$TISRC" tapinstall
@@ -16,8 +26,15 @@ if [ -z "$DRVBINSRC" ] ; then
t=`pwd`
cd ..
- for mode in "fre WNET" "fre AMD64 WNET"; do
- echo '**********' build TAPINSTALL $mode
- cmd //c "C:\\WINDDK\\$DDKVER\\bin\\setenv.bat C:\\WINDDK\\$DDKVER $mode && cd `perl install-win32/dosname.pl $t` && build -cef"
+ for mode in "fre WNET" "$amdtarget"; do
+ if [ -n "$mode" ]; then
+ echo '**********' build TAPINSTALL $mode
+ cmd //c "C:\\WINDDK\\$DDKVER\\bin\\setenv.bat C:\\WINDDK\\$DDKVER $mode && cd `perl install-win32/dosname.pl $t` && build -cef"
+ fi
done
fi
+
+if [ -n "$TI_BIN_AMD64" ]; then
+ mkdir -p $t/objfre_wnet_amd64/amd64
+ cp "$TI_BIN_AMD64" $t/objfre_wnet_amd64/amd64
+fi