aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'crossdev')
-rwxr-xr-xcrossdev8
1 files changed, 8 insertions, 0 deletions
diff --git a/crossdev b/crossdev
index a66d93e..44d7549 100755
--- a/crossdev
+++ b/crossdev
@@ -268,6 +268,7 @@ uninstall() {
done
rm -f /usr/${CTARGET}/{sys-include,usr}
rm -f /usr/bin/${CTARGET}-{gcc,{c,g}++,cpp,gfortran,gcov}
+ rm -f /usr/bin/${CTARGET}-{emerge,fix-root,pkg-config}
rmdir /usr/${CTARGET}/{include/asm,include} &> /dev/null
for d in /usr/${CTARGET} /usr/lib/gcc{,-lib}/${CTARGET} ; do
if [[ ! -d ${d} ]] ; then
@@ -562,6 +563,13 @@ set_portage ${LCAT} ${LPKG} ${LVER}
set_portage sys-devel gdb
set_portage dev-util insight
+#######################################
+### Create links for helper scripts ###
+
+for wrapper in emerge fix-root pkg-config ; do
+ ln -sf cross-${wrapper} /usr/bin/${CTARGET}-${wrapper}
+done
+
#################
emerged_with_use() {
local pkg=$1 use=$2