initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
config BR2_TARGET_SUN20I_D1_SPL
|
||||
bool "sun20-d1-spl"
|
||||
depends on BR2_RISCV_64
|
||||
help
|
||||
Allwinner D1 boot0 code with modifications to use as U-Boot
|
||||
SPL.
|
||||
|
||||
https://github.com/smaeul/sun20i_d1_spl
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 69063601239a7254fb72e486b138d88a6f2b5c645b24cdfe9792123f975d4a8f sun20i-d1-spl-771192d0b3737798d7feca87263c8fa74a449787.tar.gz
|
||||
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# sun20i-d1-spl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Commit on the 'mainline' branch
|
||||
SUN20I_D1_SPL_VERSION = 771192d0b3737798d7feca87263c8fa74a449787
|
||||
SUN20I_D1_SPL_SITE = $(call github,smaeul,sun20i_d1_spl,$(SUN20I_D1_SPL_VERSION))
|
||||
SUN20I_D1_SPL_INSTALL_TARGET = NO
|
||||
SUN20I_D1_SPL_INSTALL_IMAGES = YES
|
||||
SUN20I_D1_SPL_LICENSE = GPL-2.0+
|
||||
|
||||
define SUN20I_D1_SPL_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) CROSS_COMPILE="$(TARGET_CROSS)" p=sun20iw1p1 mmc
|
||||
endef
|
||||
|
||||
define SUN20I_D1_SPL_INSTALL_IMAGES_CMDS
|
||||
$(INSTALL) -D -m 0644 $(@D)/nboot/boot0_sdcard_sun20iw1p1.bin \
|
||||
$(BINARIES_DIR)/boot0_sdcard_sun20iw1p1.bin
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user