From 9ea4dbbce515663d4e27202a10fd0ae946e041b0 Mon Sep 17 00:00:00 2001 From: Saza-ku Date: Wed, 10 Apr 2024 08:58:14 +0000 Subject: [PATCH] build-fs.sh: replace llvm-objcopy with objcopy --- scripts/build-fs.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/build-fs.sh b/scripts/build-fs.sh index d7f9baf..11b36a7 100755 --- a/scripts/build-fs.sh +++ b/scripts/build-fs.sh @@ -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"