Git Product home page Git Product logo

osmo-combo's Introduction

osmo-combo

A "make world" build system for OpenBSC and related executables in an easy and automated way. One of the goals was to build all binaries statically with no external Osmocom dependancies.

The system does not pull dependencies for you - you will ahve to install them yourselves.

The only change outside of the build directory is installation of libraries and binaries with make install. You also have an option to select arbitrary PREFIX and install everything to a selected directory instead of /usr/local/ to eleminate system changes completely.

Right now subprojects point to specific commits of all projects to make sure everything builds and runs properly. If you need another version - just update the git submodules.

Checkout code with all submodules

Checkout this repo with all submodules.

git clone https://github.com/fairwaves/osmo-combo.git
cd osmo-combo
git submodule init
git submodule update

Configure

Open Makefile and edit PREFIX variable to your taste.

You may also want to edit all target to exclude/include certain projects from the build.

If you want a static build, run the following command to apply a relevant patchset:

./apply_patches.sh static-build

Build

This will build and install all the packages.

make

Make generates status/timestamp files in the build directory which have <project>.<status> format, e.g.:

libosmocore.configured
libosmocore.installed
libosmocore.made
openbsc.configured
openbsc.installed
openbsc.made
... etc

These files are then used by make to check which steps has been successfully finished. So if you want to re-run a certain step, you should remove the corresponding file. E.g. if you want to re-build openbsc without re-configuring it, just remove the openbsc.made file.

Applying/generating patches

Patches are stored in the patches/xxx subdirectories. Right now we provide patches to enable static build, which are stored in the patches/static-build directory. Patches are stored in a "file per project" format.

To apply a patchset:

./apply_patches.sh <dir>

To generate/update a patchset:

./apply_patches.sh <dir>

osmo-combo's People

Contributors

chemeris avatar sergforce avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.