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,18 +4,23 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DMALLOC_VERSION = 5.5.2
|
||||
DMALLOC_VERSION = 5.6.5
|
||||
DMALLOC_SOURCE = dmalloc-$(DMALLOC_VERSION).tgz
|
||||
DMALLOC_SITE = http://dmalloc.com/releases
|
||||
|
||||
DMALLOC_LICENSE = MIT-like
|
||||
# license is in each file, dmalloc.h.1 is the smallest one
|
||||
DMALLOC_LICENSE_FILES = dmalloc.h.1
|
||||
DMALLOC_LICENSE = ISC
|
||||
DMALLOC_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
DMALLOC_INSTALL_STAGING = YES
|
||||
DMALLOC_CONF_OPTS = --enable-shlib
|
||||
DMALLOC_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DMALLOC_CONF_OPTS += --disable-shlib
|
||||
else
|
||||
DMALLOC_CONF_OPTS += --enable-shlib
|
||||
DMALLOC_CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
DMALLOC_CONF_OPTS += --enable-cxx
|
||||
else
|
||||
@@ -43,6 +48,8 @@ DMALLOC_CONF_ENV = CFLAGS="$(DMALLOC_CFLAGS)"
|
||||
|
||||
define DMALLOC_POST_PATCH
|
||||
$(SED) 's/^ac_cv_page_size=0$$/ac_cv_page_size=12/' $(@D)/configure
|
||||
$(SED) 's/ac_cv_strdup_macro=no$$/ac_cv_strdup_macro=yes/' $(@D)/configure
|
||||
$(SED) 's/ac_cv_strndup_macro=no$$/ac_cv_strndup_macro=yes/' $(@D)/configure
|
||||
$(SED) 's/(ld -/($${LD-ld} -/' $(@D)/configure
|
||||
$(SED) 's/'\''ld -/"$${LD-ld}"'\'' -/' $(@D)/configure
|
||||
$(SED) 's/ar cr/$$(AR) cr/' $(@D)/Makefile.in
|
||||
|
||||
Reference in New Issue
Block a user