mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
pistachio: symlink kernel files to bin/
This enables us to pick all relevant parts for assembling a binary archive for the kernel from bin/.
This commit is contained in:
parent
e3e41e5ca0
commit
ece67ca174
@ -68,11 +68,15 @@ clean cleanall:
|
||||
#
|
||||
LIBS += syscall-pistachio
|
||||
|
||||
$(TARGET): sigma0 kickstart
|
||||
$(TARGET): $(INSTALL_DIR)/sigma0-pistachio \
|
||||
$(INSTALL_DIR)/kickstart-pistachio \
|
||||
$(INSTALL_DIR)/pistachio
|
||||
|
||||
sigma0:
|
||||
$(VERBOSE)ln -sf $(LIB_CACHE_DIR)/syscall-pistachio/serv/sigma0/sigma0
|
||||
$(INSTALL_DIR)/sigma0-pistachio:
|
||||
$(VERBOSE)ln -sf $(LIB_CACHE_DIR)/syscall-pistachio/serv/sigma0/sigma0 $@
|
||||
|
||||
kickstart:
|
||||
$(VERBOSE)ln -sf $(LIB_CACHE_DIR)/syscall-pistachio/util/kickstart/kickstart
|
||||
$(INSTALL_DIR)/kickstart-pistachio:
|
||||
$(VERBOSE)ln -sf $(LIB_CACHE_DIR)/syscall-pistachio/util/kickstart/kickstart $@
|
||||
|
||||
$(INSTALL_DIR)/pistachio: $(KERNEL_BUILD_DIR)/x86-kernel
|
||||
$(VERBOSE)ln -sf $< $@
|
||||
|
@ -16,11 +16,9 @@ proc run_boot_dir {binaries} {
|
||||
|
||||
build_core_image $binaries
|
||||
|
||||
exec mkdir -p [run_dir]/pistachio
|
||||
|
||||
exec cp kernel/pistachio/kernel [run_dir]/pistachio
|
||||
exec cp kernel/pistachio/sigma0 [run_dir]/pistachio
|
||||
exec cp kernel/pistachio/kickstart [run_dir]/pistachio
|
||||
exec cp bin/pistachio [run_dir]/kernel
|
||||
exec cp bin/sigma0-pistachio [run_dir]/sigma0
|
||||
exec cp bin/kickstart-pistachio [run_dir]/kickstart
|
||||
|
||||
if {[have_include "image/iso"] || [have_include "image/disk"]} {
|
||||
|
||||
@ -39,9 +37,9 @@ proc run_boot_dir {binaries} {
|
||||
puts $fh "timeout 0"
|
||||
puts $fh "default 0"
|
||||
puts $fh "\ntitle Genode on L4ka::Pistachio"
|
||||
puts $fh " kernel /pistachio/kickstart"
|
||||
puts $fh " module /pistachio/kernel"
|
||||
puts $fh " module /pistachio/sigma0"
|
||||
puts $fh " kernel /kickstart"
|
||||
puts $fh " module /kernel"
|
||||
puts $fh " module /sigma0"
|
||||
puts $fh " module /image.elf"
|
||||
close $fh
|
||||
}
|
||||
@ -62,9 +60,9 @@ proc run_boot_dir {binaries} {
|
||||
#
|
||||
set fh [open "[run_dir]/config-52-54-00-12-34-56" "WRONLY CREAT TRUNC"]
|
||||
puts $fh " exec /boot/bender"
|
||||
puts $fh " load /pistachio/kickstart"
|
||||
puts $fh " load /pistachio/kernel"
|
||||
puts $fh " load /pistachio/sigma0"
|
||||
puts $fh " load /kickstart"
|
||||
puts $fh " load /kernel"
|
||||
puts $fh " load /sigma0"
|
||||
puts $fh " load /image.elf"
|
||||
close $fh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user