diff --git a/README.md b/README.md index b632fdb..37f64ae 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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;