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

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "buildroot"]
path = buildroot
url = http://git.buildroot.net/buildroot/

0
Config.in Normal file
View file

1
buildroot Submodule

@ -0,0 +1 @@
Subproject commit 7f01cca9c388b276c69d661dc2ce4730fcd3ecac

2
external.desc Normal file
View file

@ -0,0 +1,2 @@
name: buildroot_playground
desc: my playground for buildroot, currently on a raspberry pi

0
external.mk Normal file
View file

3
flash.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
sudo dd status=progress if=./output/images/sdcard.img of=/dev/sdd

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)

14
output/.br-external.mk Normal file
View file

@ -0,0 +1,14 @@
#
# Automatically generated file; DO NOT EDIT.
#
BR2_EXTERNAL ?= /home/laurens/projects/buildroot_playground
BR2_EXTERNAL_NAMES =
BR2_EXTERNAL_DIRS =
BR2_EXTERNAL_MKS =
BR2_EXTERNAL_NAMES += buildroot_playground
BR2_EXTERNAL_DIRS += /home/laurens/projects/buildroot_playground
BR2_EXTERNAL_MKS += /home/laurens/projects/buildroot_playground/external.mk
export BR2_EXTERNAL_buildroot_playground_PATH = /home/laurens/projects/buildroot_playground
export BR2_EXTERNAL_buildroot_playground_DESC = my playground for buildroot, currently on a raspberry pi

3804
output/.config Normal file

File diff suppressed because it is too large Load diff

31
output/Makefile Normal file
View file

@ -0,0 +1,31 @@
# Automatically generated by /home/laurens/projects/buildroot_playground/buildroot/support/scripts/mkmakefile: don't edit
ifeq ("$(origin V)", "command line")
VERBOSE := $(V)
endif
ifneq ($(VERBOSE),1)
Q := @
endif
lastword = $(word $(words $(1)),$(1))
makedir := $(dir $(call lastword,$(MAKEFILE_LIST)))
MAKEARGS := -C /home/laurens/projects/buildroot_playground/buildroot
MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir))
MAKEFLAGS += --no-print-directory
.PHONY: _all $(MAKECMDGOALS)
all := $(filter-out Makefile,$(MAKECMDGOALS))
_all:
$(Q)umask 0022 && $(MAKE) $(MAKEARGS) $(all)
Makefile:;
$(all): _all
@:
%/: _all
@: