update buildroot to 2017.02.11
This commit is contained in:
11
bsp/buildroot-2017.02.11/package/live555/Config.in
Normal file
11
bsp/buildroot-2017.02.11/package/live555/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIVE555
|
||||
bool "live555"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
LIVE555 Streaming Media forms a set of C++ libraries for multimedia
|
||||
streaming, using open standard protocols (RTP/RTCP, RTSP, SIP).
|
||||
|
||||
http://www.live555.com/liveMedia/
|
||||
|
||||
comment "live555 needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
4
bsp/buildroot-2017.02.11/package/live555/live555.hash
Normal file
4
bsp/buildroot-2017.02.11/package/live555/live555.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://live555.com/liveMedia/public/live555-latest-md5.txt
|
||||
md5 df4ad1d60c2f5ae8155fb077bb011ab3 live.2016.03.16.tar.gz
|
||||
# Locally generated
|
||||
sha256 6f98a96d4cf6e986c7711f0a2431c02cb807a8107d6715eb491a6ed9d0446cf6 live.2016.03.16.tar.gz
|
||||
55
bsp/buildroot-2017.02.11/package/live555/live555.mk
Normal file
55
bsp/buildroot-2017.02.11/package/live555/live555.mk
Normal file
@@ -0,0 +1,55 @@
|
||||
################################################################################
|
||||
#
|
||||
# live555
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIVE555_VERSION = 2016.03.16
|
||||
LIVE555_SOURCE = live.$(LIVE555_VERSION).tar.gz
|
||||
LIVE555_SITE = http://www.live555.com/liveMedia/public
|
||||
LIVE555_LICENSE = LGPLv2.1+
|
||||
LIVE555_LICENSE_FILES = COPYING
|
||||
LIVE555_INSTALL_STAGING = YES
|
||||
|
||||
LIVE555_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LIVE555_CONFIG_TARGET = linux
|
||||
LIVE555_LIBRARY_LINK = $(TARGET_AR) cr
|
||||
else
|
||||
LIVE555_CONFIG_TARGET = linux-with-shared-libraries
|
||||
LIVE555_LIBRARY_LINK = $(TARGET_CC) -o
|
||||
LIVE555_CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
ifndef ($(BR2_ENABLE_LOCALE),y)
|
||||
LIVE555_CFLAGS += -DLOCALE_NOT_USED
|
||||
endif
|
||||
|
||||
define LIVE555_CONFIGURE_CMDS
|
||||
echo 'COMPILE_OPTS = $$(INCLUDES) -I. -DSOCKLEN_T=socklen_t $(LIVE555_CFLAGS)' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
|
||||
echo 'C_COMPILER = $(TARGET_CC)' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
|
||||
echo 'CPLUSPLUS_COMPILER = $(TARGET_CXX)' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
|
||||
|
||||
echo 'LINK = $(TARGET_CXX) -o' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
|
||||
echo 'LINK_OPTS = -L. $(TARGET_LDFLAGS)' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
|
||||
echo 'PREFIX = /usr' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
|
||||
# Must have a whitespace at the end of LIBRARY_LINK, otherwise static link
|
||||
# fails
|
||||
echo 'LIBRARY_LINK = $(LIVE555_LIBRARY_LINK) ' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
|
||||
(cd $(@D); ./genMakefiles $(LIVE555_CONFIG_TARGET))
|
||||
endef
|
||||
|
||||
define LIVE555_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all
|
||||
endef
|
||||
|
||||
define LIVE555_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(STAGING_DIR) -C $(@D) install
|
||||
endef
|
||||
|
||||
define LIVE555_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user