Initial commit: vanilla raspberry pi buildroot

This commit is contained in:
laurens 2019-04-14 17:23:14 +02:00
commit fb00307400
10 changed files with 3877 additions and 0 deletions

19
makefile Normal file
View file

@ -0,0 +1,19 @@
# The directory in which this makefile resides is used as BR2_EXTERNAL
BR_EXTERNAL_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
# Set the buildroot output dir
BR_OUTPUT_DIR = $(BR_EXTERNAL_DIR)/output
# Set default target
BR_CONFIG?=raspberrypi_defconfig
MAKE8=$(MAKE) -j 8
MAKE_BUILDROOT = $(MAKE8) -C $(BR_EXTERNAL_DIR)/buildroot O=$(BR_OUTPUT_DIR) BR2_EXTERNAL=$(BR_EXTERNAL_DIR)
.PHONE: pi br
pi:
BR_CONFIG=raspberrypi_defconfig $(MAKE) br
br:
@echo "Build buildroot with config $(BR_CONFIG)"
$(MAKE_BUILDROOT) $(BR_CONFIG)
$(MAKE_BUILDROOT)