From: Alan Cox Date: Thu, 1 Jan 2015 14:33:54 +0000 (+0000) Subject: binprep: build the right binary X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7d8bfc55a34ac7a64ae9817a319e4dd36f4ceb30;p=FUZIX.git binprep: build the right binary For the moment we keep the old build method for old style binaries (no _STUBS area), but for banked ones we expect the platform specific make Image to do something intelligent. Given that the banking is pretty much platform specific magic it has to be this way. --- diff --git a/Kernel/tools/binprep b/Kernel/tools/binprep new file mode 100755 index 00000000..974bd4a1 --- /dev/null +++ b/Kernel/tools/binprep @@ -0,0 +1,8 @@ +#!/bin/sh +tools/bihx fuzix.ihx +if grep -q _STUBS fuzix.map ; then + tools/bmunge +else + makebin -s 65536 -p common.ihx >fuzix.tmp + tools/binman fuzix.tmp fuzix.map fuzix.bin +fi