Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xueliu authored Jul 28, 2017
1 parent 4e448a5 commit f2dd16e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ This repository is originated from [this](https://github.com/JiapengLi/OpenWrt-l

## Patch
packet-forwarder requires function qsort_r which is not avaiable in neither musl library 1.1.15 nor 1.1.16.
We need [patch](https://github.com/xueliu/lora-feed/blob/master/101-added_qsort_r.patch) the toolchain to support qsort_r.
Therefore we should [patch](https://github.com/xueliu/lora-feed/blob/master/101-added_qsort_r.patch) the toolchain at first.

$ cp 101-added_qsort_r.patch $SOURCE_TREE/toolchain/musl/patches
$ make toolchain/clean
$ make toolchain/compile
$ make toolchain/install
Note: Please make sure that the musl library is updated in the file system.
Note: Please make sure that the musl library is updated in the file system. You could reinstall libc_1.1.15-1_pistachio.ipk to update your existing system.

## Install

Expand All @@ -29,7 +29,7 @@ Edit your feeds.conf or feed.conf.default and add the following to it:
Update your build environment and install the package:

$ scripts/feeds update lora
$ scripts/feeds install lora
   $ scripts/feeds install -p lora
$ make menuconfig

Go to Libraries Network, select libloragw, input the SPI device path you will use in your dev board;
Expand Down

0 comments on commit f2dd16e

Please sign in to comment.