Skip to content

Commit

Permalink
build-fs.sh: replace llvm-objcopy with objcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
saza-ku committed Apr 10, 2024
1 parent db6baf5 commit 9ea4dbb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions scripts/build-fs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ mkdir -p build
tar -cf build/disk.tar --format=ustar -C $dir_path .
echo "tar archive created"

# check if llvm-objcopy is installed
if ! command -v llvm-objcopy &> /dev/null
then
echo "llvm-objcopy could not be found"
exit 1
fi

# convert the archive to binary
llvm-objcopy -Ibinary -Oelf64-x86-64 build/disk.tar build/disk.o
objcopy -Ibinary -Oelf64-x86-64 build/disk.tar build/disk.o
echo "disk.o created"

0 comments on commit 9ea4dbb

Please sign in to comment.