From f2dd16ebbfdb504b5ee8e5f32b071af79de6e1c9 Mon Sep 17 00:00:00 2001 From: Xue Liu Date: Fri, 28 Jul 2017 16:35:50 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;