Bump buildroot to 2019.02
This commit is contained in:
14
bsp/buildroot/package/pigpio/Config.in
Normal file
14
bsp/buildroot/package/pigpio/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_PIGPIO
|
||||
bool "pigpio"
|
||||
depends on BR2_aarch64 || BR2_arm
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Pigpio is a library for the Raspberry Pi which allows
|
||||
control of the General Purpose Input Outputs (GPIO).
|
||||
|
||||
http://abyz.me.uk/rpi/pigpio/
|
||||
|
||||
comment "pigpio needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_aarch64 || BR2_arm
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
3
bsp/buildroot/package/pigpio/pigpio.hash
Normal file
3
bsp/buildroot/package/pigpio/pigpio.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 ec980f5e672e8e9395b801fecec3fbbbc5c04182b16ee72eb9ca25a453e38062 pigpio-V68.tar.gz
|
||||
sha256 6a90b88421a0d9b090e121daa11b3c6d55eed5eeb3281a2fcc454d6a28b5547c UNLICENCE
|
||||
25
bsp/buildroot/package/pigpio/pigpio.mk
Normal file
25
bsp/buildroot/package/pigpio/pigpio.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# pigpio
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PIGPIO_VERSION = V68
|
||||
PIGPIO_SITE = $(call github,joan2937,pigpio,$(PIGPIO_VERSION))
|
||||
PIGPIO_LICENSE = Unlicense
|
||||
PIGPIO_LICENSE_FILES = UNLICENCE
|
||||
|
||||
define PIGPIO_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define PIGPIO_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/pig2vcd $(TARGET_DIR)/usr/bin/pig2vcd
|
||||
$(INSTALL) -D -m 0755 $(@D)/pigpiod $(TARGET_DIR)/usr/bin/pigpiod
|
||||
$(INSTALL) -D -m 0755 $(@D)/pigs $(TARGET_DIR)/usr/bin/pigs
|
||||
$(INSTALL) -D -m 0755 $(@D)/libpigpio.so $(TARGET_DIR)/usr/lib/libpigpio.so
|
||||
$(INSTALL) -D -m 0755 $(@D)/libpigpiod_if.so $(TARGET_DIR)/usr/lib/libpigpiod_if.so
|
||||
$(INSTALL) -D -m 0755 $(@D)/libpigpiod_if2.so $(TARGET_DIR)/usr/lib/libpigpiod_if2.so
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user