summarylogtreecommitdiffstats
path: root/gcc-nuclei-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-nuclei-bin.install')
-rw-r--r--gcc-nuclei-bin.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-nuclei-bin.install b/gcc-nuclei-bin.install
new file mode 100644
index 000000000000..6be88bd6ea4d
--- /dev/null
+++ b/gcc-nuclei-bin.install
@@ -0,0 +1,7 @@
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+post_install() {
+ echo "add ${bold}export NUCLEI_TOOL_ROOT=/opt/Nuclei-Toolchain${all_off}"
+ echo "and ${bold}export PATH=\$NUCLEI_TOOL_ROOT/gcc/bin:\$NUCLEI_TOOL_ROOT/openocd/bin:\$PATH${all_off}"
+ echo "to ${bold}~/.bashrc${all_off} and ${bold}source ~/.bashrc${all_off} before compile any project."
+}