Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MychkoM/Main

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Main Repository for Low-Level Development

General Howto:

  1. Clone this repository using following command: git clone --recurse-submodules [email protected]:Dafang-Hacks/Main.git
  2. Run ./compile-libraries.sh to compile all the required libraries
  3. Go into v4l2rtpsserver-master and use ./compile.sh

Build Enviroment

Ubuntu / Debian (x86 cross-compile)

Install required dependencies

$ sudo apt install \
       build-essential \
       git \
       gcc-mips-linux-gnu \
       autoconf \
       libtool \
       cmake

Docker env

  • Use pre-prepared image (by Daviey, https://hub.docker.com/r/daviey/dafang-cross-compile )

    $ mkdir ~/defang
    $ cd ~/defang
    $ docker run --rm -ti -v $(pwd):/root/ daviey/dafang-cross-compile:latest
    $ git clone --recurse-submodules https://github.com/Dafang-Hacks/Main.git
    $ cd Main
    $ ./compile.sh
    (etc)*
    
  • OR Build local docker image first

     $ git clone --recurse-submodules https://github.com/Dafang-Hacks/Main.git
     $ cd Main
     $ docker build -t ${USER}/dafang-cross-compile .
    

Update Modules

git submodule update --init --recursive

Sources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 57.8%
  • C++ 40.3%
  • Shell 0.9%
  • CMake 0.5%
  • Makefile 0.4%
  • HTML 0.1%