commit | c64656b017635188e255cb891e74b918983b9277 | [log] [tgz] |
---|---|---|
author | Marija Petrović <marija.petrovic@novelic.com> | Thu Dec 17 00:07:50 2020 +0100 |
committer | Marija Petrović <marija.petrovic@novelic.com> | Thu Dec 17 00:07:50 2020 +0100 |
tree | 5ca713538686ce78f0b87576057b948f7aba1556 | |
parent | e2c12b6c132e6c5e0d84298925b181e1ec1b1163 [diff] |
Add check_env
diff --git a/cargo/Makefile b/cargo/Makefile index 9e9b17e..ed461d6 100644 --- a/cargo/Makefile +++ b/cargo/Makefile
@@ -27,3 +27,10 @@ clean_top: cd $(TOP_TEST_PATH); make clean; cd -; +check-env: +ifndef PDK_ROOT + $(error PDK_ROOT is undefined, please export it before running make) +endif +ifndef RISCV32 + $(error RISCV32 is undefined, please export it before running make) +endif