From 7d8bfc55a34ac7a64ae9817a319e4dd36f4ceb30 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 1 Jan 2015 14:33:54 +0000 Subject: [PATCH] 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. --- Kernel/tools/binprep | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 Kernel/tools/binprep 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 -- 2.34.1