1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-23 20:46:17 +02:00
openwrt-packages/nanonote-files/script-files/etc/uci-defaults/04-gcc-mips-work-around

10 lines
321 B
Plaintext
Raw Normal View History

2011-08-23 22:10:44 +03:00
#!/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