This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |
chmod a+x ~/bin/repo | |
mkdir working-directory-name | |
cd working-directory-name | |
repo init -u git://android.git.kernel.org/platform/manifest.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make uses /bin/sh by default, which is incompatible with the bashisms seen | |
# below. | |
# Thanks to T-Troll <issue 29806> and freedomtan <issue 26731> | |
SHELL := /bin/bash | |
# Find where we're running from, so we can store generated files here. | |
ifeq ($(origin MAKEFILE_DIR), undefined) | |
MAKEFILE_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) | |
endif |