mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
imx8: setup $terminal environment variable in init0()
This commit is contained in:
parent
a868b4a2d9
commit
4914b987d7
1 changed files with 3 additions and 1 deletions
|
@ -140,11 +140,13 @@ isaconfig(char *, int, ISAConf *)
|
|||
void
|
||||
init0(void)
|
||||
{
|
||||
char **sp;
|
||||
char buf[2*KNAMELEN], **sp;
|
||||
|
||||
chandevinit();
|
||||
|
||||
if(!waserror()){
|
||||
snprint(buf, sizeof(buf), "%s %s", "ARM64", conffile);
|
||||
ksetenv("terminal", buf, 0);
|
||||
ksetenv("cputype", "arm64", 0);
|
||||
if(cpuserver)
|
||||
ksetenv("service", "cpu", 0);
|
||||
|
|
Loading…
Reference in a new issue