summarylogtreecommitdiffstats
path: root/microchip-mplabxc16-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'microchip-mplabxc16-bin.install')
-rw-r--r--microchip-mplabxc16-bin.install15
1 files changed, 8 insertions, 7 deletions
diff --git a/microchip-mplabxc16-bin.install b/microchip-mplabxc16-bin.install
index 80969b9bfee5..0fd8e6bf6786 100644
--- a/microchip-mplabxc16-bin.install
+++ b/microchip-mplabxc16-bin.install
@@ -1,5 +1,10 @@
post_install() {
- echo "
+ echo '
+This package provides a file: /etc/profile.d/xc16-toolchain-bin.sh
+It will add the toolchain binaries to the PATH variable for every user.
+It also defines XC16_TOOLCHAIN_ROOT pointing to the toolchain install dir.
+Log out and log back in to update your environment varibles.
+
Before using MPLAB_XC16 you have to agree with the LICENSE at:
/usr/share/licenses/microchip-mplabxc16-bin/LICENSE
@@ -7,10 +12,6 @@ For using MPLAB_XC16 with MPLAB_X (microchip-mplabx-bin), in MPLAB_X go to:
Tools->Options->Embedded->Add
and enter:
-/opt/microchip/xc16/v1.23/bin
-"
-}
-
-post_upgrade() {
- post_install
+$XC16_TOOLCHAIN_ROOT/bin
+'
}