5 BR2_TARGET_GENERIC_HOSTNAME="nanopi-neo"
6 BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the NanoPi NEO"
8 # Linux headers same as kernel, a 5.3 series
9 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y
11 # Use a -rc kernel to get the DTS
13 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
14 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.13"
15 BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
16 BR2_LINUX_KERNEL_DTS_SUPPORT=y
17 BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-nanopi-neo"
19 # Use an -rc tag because the defconfig is very recent
21 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
22 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
23 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
24 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo"
25 BR2_TARGET_UBOOT_NEEDS_DTC=y
26 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
27 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
28 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
29 BR2_PACKAGE_HOST_UBOOT_TOOLS=y
30 BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
31 BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/friendlyarm/nanopi-neo/boot.cmd"
33 # Build an sdcard image
34 BR2_TARGET_ROOTFS_EXT2=y
35 BR2_TARGET_ROOTFS_EXT2_4=y
36 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
37 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-neo/genimage.cfg"
38 # BR2_TARGET_ROOTFS_TAR is not set
41 BR2_PACKAGE_HOST_DOSFSTOOLS=y
42 BR2_PACKAGE_HOST_GENIMAGE=y
43 BR2_PACKAGE_HOST_MTOOLS=y