summaryrefslogtreecommitdiff
path: root/rakelib/cross.rake
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-05-08 00:13:07 +0200
committerEugen Wissner <belka@caraus.de>2025-05-08 00:13:07 +0200
commit3f11d63a0f86191f010bc0093ee8616c154d9a1b (patch)
tree24b2412bab652d6580c77f518806c7bfc1172f94 /rakelib/cross.rake
parent40701008f04f2242ab69bfb4bc4f376e6b75429a (diff)
downloadelna-3f11d63a0f86191f010bc0093ee8616c154d9a1b.tar.gz
Add builtin symbols
Diffstat (limited to 'rakelib/cross.rake')
-rw-r--r--rakelib/cross.rake14
1 files changed, 1 insertions, 13 deletions
diff --git a/rakelib/cross.rake b/rakelib/cross.rake
index f90bb84..b390590 100644
--- a/rakelib/cross.rake
+++ b/rakelib/cross.rake
@@ -309,17 +309,6 @@ namespace :cross do
sh env, 'make', '-j', Etc.nprocessors.to_s, chdir: cwd.to_path
sh env, 'make', 'install', chdir: cwd.to_path
end
-
- task :init, [:target] do |_, args|
- options = find_build_target GCC_VERSION, args
- env = {
- 'PATH' => "#{options.rootfs.realpath + 'bin'}:#{ENV['PATH']}"
- }
- sh env, 'riscv32-unknown-linux-gnu-gcc',
- '-ffreestanding', '-static',
- '-o', (options.tools + 'init').to_path,
- 'tools/init.c'
- end
end
desc 'Build cross toolchain'
@@ -329,7 +318,6 @@ task cross: [
'cross:headers',
'cross:kernel',
'cross:glibc',
- 'cross:gcc2',
- 'cross:init'
+ 'cross:gcc2'
] do
end