Move all to deprecated folder.
This commit is contained in:
16
deprecated/firmware/buildroot/package/glog/Config.in
Normal file
16
deprecated/firmware/buildroot/package/glog/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_GLOG
|
||||
bool "glog"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
# build issues with this external toolchain
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
|
||||
help
|
||||
C++ implementation of the Google logging module
|
||||
|
||||
https://github.com/google/glog
|
||||
|
||||
comment "glog needs a toolchain w/ C++, threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
2
deprecated/firmware/buildroot/package/glog/glog.hash
Normal file
2
deprecated/firmware/buildroot/package/glog/glog.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# No hash for v0.3.4, comes from the github-helper:
|
||||
none xxx glog-v0.3.4.tar.gz
|
||||
28
deprecated/firmware/buildroot/package/glog/glog.mk
Normal file
28
deprecated/firmware/buildroot/package/glog/glog.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# glog
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GLOG_VERSION = v0.3.4
|
||||
GLOG_SITE = $(call github,google,glog,$(GLOG_VERSION))
|
||||
GLOG_INSTALL_STAGING = YES
|
||||
GLOG_LICENSE = BSD-3c
|
||||
GLOG_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GFLAGS),y)
|
||||
GLOG_DEPENDENCIES = gflags
|
||||
endif
|
||||
|
||||
# glog can optionally use atomic __sync built-ins. However, its
|
||||
# configure script only checks for the availability of the 4 bytes
|
||||
# version, but the code also uses the 1 byte version. While this works
|
||||
# on most architectures, it does not on architectures that implement
|
||||
# only the 4 bytes version, such as Microblaze. So if the architecture
|
||||
# does not implement the 1 byte version, we hint the configure script
|
||||
# that atomic built-ins should not be used.
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_1),)
|
||||
GLOG_CONF_ENV += ac_cv___sync_val_compare_and_swap=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user