Skip to content

Commit

Permalink
Added compile information
Browse files Browse the repository at this point in the history
  • Loading branch information
ProtoThis committed Aug 11, 2020
1 parent 58165d7 commit af7aa96
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,30 @@ foo@bar:~$ cd wrt-hisicam
foo@bar:~$ make ubuntu-deps
foo@bar:~$ make prepare
foo@bar:~$ cd openwrt
foo@bar:~$ ./scripts/feeds update -a
foo@bar:~$ ./scripts/feeds install -a
foo@bar:~$ make menuconfig
```

Select options
Before comping it is required to configure OpenWrt. This is done in the menu shown with the command make menuconfig.

**Configuration**
First select the board you would like to compile for.
<img src="images/selecttarget.png" alt="selecttarget">

Secondly configure the GoHisiCam application
<img src="images/configuregohisicam.png" alt="configuregohisicam">

Save the configuration and exit the configuration menu.

**NOTE:** When running the compilation as root it is required to set the following export:
```console
foo@bar:~$ export FORCE_UNSAFE_CONFIGURE=1
```

Now you are ready to compile the image. The additional parameters are required as a question is asked during compilation.
```console
foo@bar:~$ make
foo@bar:~$ make -j1 V=s
```

**TODO**
Expand Down
Binary file added images/configuregohisicam.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/selecttarget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit af7aa96

Please sign in to comment.