mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
fix path to the loader
This commit is contained in:
parent
863fbdcbda
commit
bca3f6a731
2 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@ install: proxy
|
|||
@echo Install tools
|
||||
$Q$(INSTALL_PROGRAM) -d $(prefix)/bin
|
||||
$Q$(INSTALL_PROGRAM) proxy $(prefix)/bin
|
||||
$Q$(INSTALL_DATA) ../arch/x86/loader/ldhermit.elf $(prefix)/bin
|
||||
|
||||
veryclean: clean
|
||||
|
||||
|
|
|
@ -299,7 +299,7 @@ static int init_qemu(char *path)
|
|||
exit(1);
|
||||
}
|
||||
str = strstr(loader_path, "proxy");
|
||||
strncpy(str, "../arch/x86/loader/ldhermit.elf", MAX_PATH-strlen(loader_path)+5);
|
||||
strncpy(str, "ldhermit.elf", MAX_PATH-strlen(loader_path)+5);
|
||||
|
||||
str = getenv("HERMIT_APP_PORT");
|
||||
if (str)
|
||||
|
|
Loading…
Add table
Reference in a new issue