1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-23 18:02:49 +02:00
openwrt-packages/nanonote-files/script-files/etc/uci-defaults/04-gcc-mips-work-around
2011-08-23 23:10:44 +04:00

10 lines
321 B
Bash

#!/bin/sh
#we use some files from host's openwrt toolchain for gcc-mips package,
#and the host's gcc version (linaro) is now 4.5.4.
#this will be fixed when we catch up with openwrt upstream,
#workaround for now
for i in $(find /usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.4 -type f); do
ln -s $i ${i/4.5.4/4.5.2}
done