Initial Commit
This is the initial commit to get the arcade build system setup Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/output*
|
||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "buildroot"]
|
||||
path = buildroot
|
||||
url = https://github.com/buildroot/buildroot.git
|
||||
26
Makefile
Normal file
26
Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
BR2_EXTERNAL := $(CURDIR)
|
||||
BR_DIR := $(CURDIR)/buildroot
|
||||
OUTPUT_DIR := $(CURDIR)/output
|
||||
|
||||
BR_MAKE := $(MAKE) -C $(BR_DIR) O=$(CURDIR)/output/ BR2_EXTERNAL=$(BR2_EXTERNAL)
|
||||
|
||||
.PHONY: init-submodule
|
||||
init-submodule:
|
||||
@if [ ! -d "$(BR_DIR)/.git" ] && [ ! -f "$(BR_DIR)/Makefile" ]; then \
|
||||
echo ">>> Initializing Buildroot submodule..."; \
|
||||
git submodule update --init --recursive -- $(BR_DIR); \
|
||||
fi
|
||||
|
||||
.PHONY: all
|
||||
all: init-submodule
|
||||
$(BR_MAKE)
|
||||
|
||||
# Pass all other targets through to Buildroot
|
||||
.PHONY: %
|
||||
%: init-submodule
|
||||
$(BR_MAKE) $@
|
||||
|
||||
# Shortcut for setting up the defconfig
|
||||
.PHONY: setup
|
||||
setup: init-submodule
|
||||
$(BR_MAKE) arcade_defconfig
|
||||
2
README.md
Normal file
2
README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# Arcade Machine Project
|
||||
This is a project to create a raspberry pi based arcade machine
|
||||
1
buildroot
Submodule
1
buildroot
Submodule
Submodule buildroot added at b0311f5ba8
33
configs/arcade_defconfig
Normal file
33
configs/arcade_defconfig
Normal file
@@ -0,0 +1,33 @@
|
||||
BR2_aarch64=y
|
||||
BR2_cortex_a72=y
|
||||
BR2_ARM_FPU_VFPV4=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/raspberrypi/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,ac69f097e1fba94502cbd36278db204120a37943)/linux-ac69f097e1fba94502cbd36278db204120a37943.tar.gz"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-400 broadcom/bcm2711-rpi-cm4 broadcom/bcm2711-rpi-cm4s"
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
BR2_PACKAGE_XZ=y
|
||||
BR2_PACKAGE_RPI_FIRMWARE=y
|
||||
BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y
|
||||
BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi4-64/config_4_64bit.txt"
|
||||
BR2_PACKAGE_KMOD=y
|
||||
BR2_PACKAGE_KMOD_TOOLS=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_KMOD_XZ=y
|
||||
BR2_PACKAGE_HOST_MTOOLS=y
|
||||
3
external.desc
Normal file
3
external.desc
Normal file
@@ -0,0 +1,3 @@
|
||||
name: arcade
|
||||
desc: Project for building the operating system for an arcade machine
|
||||
url: https://github.com/nicholasmello/arcade
|
||||
0
external.mk
Normal file
0
external.mk
Normal file
Reference in New Issue
Block a user