mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 17:23:00 +02:00
Relocate src/board/* and package/board/* to board/
This commit consolidates all BSP support files into the Buildroot standard board/ directory. The concept of selectable boards in menuconfig remains as-is but now lives in board/ instead. Drop support for board-specific post-build.sh scripts, not needed atm. and we should really use Buildroot _POST_INSTALL_HOOKS in the board .mk files instead. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/Config.in"
|
||||
|
||||
menu "Branding"
|
||||
|
||||
config INFIX_VENDOR
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
menu "Board Support"
|
||||
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/riscv64/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/x86_64/Config.in"
|
||||
|
||||
endmenu
|
||||
@@ -0,0 +1,12 @@
|
||||
if BR2_aarch64
|
||||
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/alder-alder/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/bananapi-bpi-r3/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/freescale-imx8mp-evk/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/marvell-cn9130-crb/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/marvell-espressobin/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/microchip-sparx5-pcb135/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/raspberrypi-rpi64/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/board/aarch64/styx-dcp-sc-28p/Config.in"
|
||||
|
||||
endif
|
||||
@@ -1,4 +1,4 @@
|
||||
config BR2_PACKAGE_BANANA_PI_R3
|
||||
config BR2_PACKAGE_BANANAPI_BPI_R3
|
||||
bool "Banana Pi R3"
|
||||
depends on BR2_aarch64
|
||||
select BR2_PACKAGE_FEATURE_WIFI
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
GENIMAGE_CFG="$(BUILD_DIR)/genimage.cfg"
|
||||
GENIMAGE_TMP="$(BUILD_DIR)/genimage.tmp"
|
||||
BOARD_DIR="$(BR2_EXTERNAL_INFIX_PATH)/src/board/banana-pi-r3"
|
||||
|
||||
define BANANA_PI_R3_LINUX_CONFIG_FIXUPS
|
||||
define BANANAPI_BPI_R3_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_ARCH_MEDIATEK)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_MACH_MT7986)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_PINCTRL_MT7986)
|
||||
@@ -1,4 +1,4 @@
|
||||
config BR2_PACKAGE_RASPBERRY_PI64
|
||||
config BR2_PACKAGE_RASPBERRYPI_RPI64
|
||||
bool "Raspberry Pi 64-bit (RPi3 and later)"
|
||||
depends on BR2_aarch64
|
||||
select SDCARD_AUX
|
||||
@@ -10,4 +10,3 @@ config BR2_PACKAGE_RASPBERRY_PI64
|
||||
Raspberry Pi 64-bit adds support for the Raspberry Pi family of
|
||||
of single-board computers (SBC), RPi 3B and later, including the
|
||||
Raspberry Pi 2W, which shares the same CPU core as RPi 3B.
|
||||
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
# The CONFIG_REGULATOR_GPIO=y is load bearing for booting the RPi4 from
|
||||
# SD card, see regulator-sd-io-1v8 in bcm2711-rpi-4-b.dts for details.
|
||||
define RASPBERRY_PI_4_LINUX_CONFIG_FIXUPS
|
||||
define RASPBERRYPI_RPI64_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_SOUND)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_SND)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_SND_SOC)
|
||||
@@ -62,5 +62,6 @@ define RASPBERRY_PI_4_LINUX_CONFIG_FIXUPS
|
||||
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_BACKLIGHT_CLASS_DEVICE)
|
||||
endef
|
||||
|
||||
$(eval $(ix-board))
|
||||
$(eval $(generic-package))
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user