mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -4,6 +4,7 @@ config BR2_PACKAGE_AVRDUDE
|
||||
depends on BR2_USE_WCHAR # elfutils
|
||||
depends on !BR2_STATIC_LIBS # elfutils
|
||||
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_ELFUTILS
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBUSB_COMPAT
|
||||
@@ -14,6 +15,19 @@ config BR2_PACKAGE_AVRDUDE
|
||||
|
||||
https://github.com/kcuzner/avrdude
|
||||
|
||||
comment "avrdude needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|
||||
if BR2_PACKAGE_AVRDUDE
|
||||
|
||||
config BR2_PACKAGE_AVRDUDE_SPI
|
||||
bool "SPI support"
|
||||
default y # Backward compatibility
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
|
||||
|
||||
comment "SPI support needs a toolchain w/ linux headers >= 4.8"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
|
||||
|
||||
endif
|
||||
|
||||
comment "avrdude needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR \
|
||||
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|
||||
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 cfa97af7badc713c62306ab85d0e7a288b064bf72e698494f73cb16c5b2c659e avrdude-f8893ccf0aceeff67c45f95ae4e86bc7fbe342aa.tar.gz
|
||||
sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 avrdude/COPYING
|
||||
sha256 bbe2cf09163b3561ea28e9d48c2a588838f7adcd7858e34ced9c886feacb5be6 avrdude-6.4.tar.gz
|
||||
sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 COPYING
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AVRDUDE_VERSION = f8893ccf0aceeff67c45f95ae4e86bc7fbe342aa
|
||||
AVRDUDE_SITE = $(call github,kcuzner,avrdude,$(AVRDUDE_VERSION))
|
||||
AVRDUDE_VERSION = 6.4
|
||||
AVRDUDE_SITE = $(call github,avrdudes,avrdude,v$(AVRDUDE_VERSION))
|
||||
AVRDUDE_LICENSE = GPL-2.0+
|
||||
AVRDUDE_LICENSE_FILES = avrdude/COPYING
|
||||
AVRDUDE_SUBDIR = avrdude
|
||||
AVRDUDE_LICENSE_FILES = COPYING
|
||||
|
||||
# Sources coming from git, without generated configure and Makefile.in
|
||||
# files.
|
||||
AVRDUDE_AUTORECONF = YES
|
||||
@@ -16,12 +16,22 @@ AVRDUDE_CONF_OPTS = --enable-linuxgpio
|
||||
AVRDUDE_DEPENDENCIES = elfutils libusb libusb-compat ncurses \
|
||||
host-flex host-bison
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVRDUDE_SPI),y)
|
||||
AVRDUDE_CONF_OPTS += --enable-linuxspi
|
||||
else
|
||||
AVRDUDE_CONF_OPTS += --disable-linuxspi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
|
||||
AVRDUDE_DEPENDENCIES += libftdi1
|
||||
else ifeq ($(BR2_PACKAGE_LIBFTDI),y)
|
||||
AVRDUDE_DEPENDENCIES += libftdi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HIDAPI),y)
|
||||
AVRDUDE_DEPENDENCIES += hidapi
|
||||
endif
|
||||
|
||||
# if /etc/avrdude.conf exists, the installation process creates a
|
||||
# backup file, which we do not want in the context of Buildroot.
|
||||
define AVRDUDE_REMOVE_BACKUP_FILE
|
||||
|
||||
Reference in New Issue
Block a user