Error: environment variable 'STAGING_DIR' not defined

Im following this guide to compile bootloader but Im geting an error

mips-linux-xgcc: fatal error: environment variable 'STAGING_DIR' not defined

Even I defined it like so


What Im doung wrong

You need to export the variable to make it visible to subprocesses of the same shell process:

export STAGING_DIR=...

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.