Skip to content

Commit

Permalink
docs: add a new documentation for how to install kconfig frontend
Browse files Browse the repository at this point in the history
That is not a mandatory always. Someone who is not a developer will not
use menuconfig.
  • Loading branch information
sunghan-chang committed Nov 15, 2017
1 parent 21de19f commit d3f9160
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 31 deletions.
34 changes: 3 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ Please find project details like APIs reference at [docs](docs/) folder. Wiki wi

> [Quick Start](#quick-start)
> [Supported Board](#supported-board)
> [Configuration Sets](#configuration-sets)
> [APPENDIX](#appendix)
> [Configuration Sets](#configuration-sets)
## Quick Start
### Getting the toolchain
Expand Down Expand Up @@ -47,7 +46,7 @@ cd ..
make menuconfig
```

Refer kconfig-frontend installation to use *menuconfig* at [APPENDIX](README.md#kconfig-frontends-installation)
Refer [kconfig-frontend installation](docs/HowtoInstallKconfigFrontend.md) to use *menuconfig*.

Finally, initiate build by make from *$TIZENRT_BASEDIR/os*.
```bash
Expand All @@ -71,31 +70,4 @@ To customize your application with specific configuration settings, using the me
```bash
make menuconfig
```
Please keep in mind that we are actively working on board configurations, and will be posting our updates on the README files under each config

## APPENDIX
### Kconfig-frontends Installation

1. The *bison* (or byacc if supported), *flex*, *gperf*, *libncurses5-dev*, *zlib1g-dev*, *gettext* and *g++* packages should be installed:
```bash
sudo apt-get install bison flex gperf libncurses5-dev zlib1g-dev gettext g++
```

2. Download and untar *kconfig-frontends* package.
One of site is [Yann Morin's Project](http://ymorin.is-a-geek.org/projects/kconfig-frontends)
```bash
tar -xvf kconfig-frontends-x.xx.x.x.tar.bz2
```

3. Go to *kconfig-frontends* folder
```bash
cd kconfig-frontends-x.xx.x.x
```

4. Configure and Build
```bash
./configure --enable-mconf --disable-gconf --disable-qconf
make
sudo make install
```

Please keep in mind that we are actively working on board configurations, and will be posting our updates on the README files under each config.
26 changes: 26 additions & 0 deletions docs/HowtoInstallKconfigFrontend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Kconfig-frontends Installation

## Prerequisites
The *bison* (or byacc if supported), *flex*, *gperf*, *libncurses5-dev*, *zlib1g-dev*, *gettext* and *g++* packages should be installed:
```bash
sudo apt-get install bison flex gperf libncurses5-dev zlib1g-dev gettext g++
```

## Kconfig-frontend
1. Download and untar *kconfig-frontends* package.
One of site is [Yann Morin's Project](http://ymorin.is-a-geek.org/projects/kconfig-frontends).
```bash
tar -xvf kconfig-frontends-x.xx.x.x.tar.bz2
```

2. Go to *kconfig-frontends* folder.
```bash
cd kconfig-frontends-x.xx.x.x
```

3. Configure and Build.
```bash
./configure --enable-mconf --disable-gconf --disable-qconf
make
sudo make install
```

0 comments on commit d3f9160

Please sign in to comment.