Skip to content

Instantly share code, notes, and snippets.

Building BareMetal OS

This document describes how to build BareMetal OS. These instructions have been tested on Linux Mint 14, but could probably be simply run on most linux machines.

Preparing local environment

To keep things organized you should create a seperate directory for BareMetal OS project.

mkdir ~/ReturnInfinity
cd ~/ReturnInfinity
#!/bin/sh
echo "Cloning git repositories"
git clone https://github.com/ReturnInfinity/BMFS.git
git clone https://github.com/ReturnInfinity/Pure64.git
git clone https://github.com/ReturnInfinity/BareMetal-OS.git
echo "Copying sources into build directory"
mkdir build
cd build
@klavs
klavs / aml.md
Last active February 5, 2016 14:54

Simple example

html

<div class="warning">You <em>must not</em> fail!</div>

xml

<div class="warning">
	You
@klavs
klavs / common_simple.js
Created March 24, 2017 15:23
Advanced splitting of multi-entry project using webpack
new webpack.optimize.CommonsChunkPlugin({
name: "common",
chunks: ["site", "admin"]
})
{
"site": "./src/site",
"admin": "./src/admin"
}
new webpack.optimize.CommonsChunkPlugin({
name: "common",
chunks: ["site", "admin"]
})
[
new webpack.optimize.CommonsChunkPlugin({
name: "common-vendor",
chunks: ["common"],
minChunks: function(module) {
return module.context && module.context.indexOf("node_modules") !== -1;
}
}),
new webpack.optimize.CommonsChunkPlugin({
name: "site-vendor",