#!/bin/bash #Handles the final linking of the OS binaries to build the kernel. #This script will allow for rolling back the build number found in the #build_numbers.c file. ld $1 -T support_files/link.ld -o $2 $3 $4 if [[ $? == 0 ]] then ./support_files/handle_build_numbers.sh build_numbers.c exit 0 else exit 1 fi