Install OpenWrt-SDK:
cd ~ git clone https://github.com/sonnyyu/UsbRelay.git cd UsbRelay
mips-openwrt-linux-uclibc-gcc -O -Wall -c usbrelay.c -o usbrelay.o mips-openwrt-linux-uclibc-gcc -O -Wall -I${CFLAGS} -c hiddata.c -o hiddata.o mips-openwrt-linux-uclibc-gcc -L${LDFLAGS} -o usbrelay usbrelay.o hiddata.o -Wl,-rpath-link=${LDFLAGS} -lusb mips-openwrt-linux-uclibc-strip usbrelay
file usbrelay
Comments powered by CComment