mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
3
package/18xx-ti-utils/18xx-ti-utils.hash
Normal file
3
package/18xx-ti-utils/18xx-ti-utils.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 9ce2c7228dd0ac8d3cc530a32bb92b532bdbc5dfb6a405c245abee678d878697 18xx-ti-utils-R8.7_SP3.tar.gz
|
||||
sha256 363cef40b276a7a91ebcff3f78626d9cfe5e5a51927c725236007259403d5fc4 COPYING
|
||||
30
package/18xx-ti-utils/18xx-ti-utils.mk
Normal file
30
package/18xx-ti-utils/18xx-ti-utils.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# 18xx-ti-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
18XX_TI_UTILS_VERSION = R8.7_SP3
|
||||
18XX_TI_UTILS_SITE = git://git.ti.com/wilink8-wlan/18xx-ti-utils
|
||||
18XX_TI_UTILS_DEPENDENCIES = libnl
|
||||
18XX_TI_UTILS_LICENSE = BSD-3-Clause
|
||||
18XX_TI_UTILS_LICENSE_FILES = COPYING
|
||||
|
||||
18XX_TI_UTILS_CFLAGS = -I$(STAGING_DIR)/usr/include/libnl3 -DCONFIG_LIBNL32
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
18XX_TI_UTILS_BUILD_TARGET = static
|
||||
endif
|
||||
|
||||
define 18XX_TI_UTILS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
NFSROOT="$(STAGING_DIR)" NLVER=3 $(MAKE) -C $(@D) \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(18XX_TI_UTILS_CFLAGS)" \
|
||||
$(18XX_TI_UTILS_BUILD_TARGET)
|
||||
endef
|
||||
|
||||
define 18XX_TI_UTILS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/calibrator $(TARGET_DIR)/usr/bin/calibrator
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
14
package/18xx-ti-utils/Config.in
Normal file
14
package/18xx-ti-utils/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_18XX_TI_UTILS
|
||||
bool "18xx-ti-utils"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
||||
select BR2_PACKAGE_LIBNL
|
||||
help
|
||||
TI Wilink calibration utilities.
|
||||
|
||||
CONFIG_NL80211_TESTMODE must be enabled in the kernel
|
||||
configuration for this package to work.
|
||||
|
||||
http://processors.wiki.ti.com/index.php/WL18xx_TX_Testing
|
||||
|
||||
comment "18xx-ti-utils needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
Reference in New Issue
Block a user