update buildroot to 2017.02.11
This commit is contained in:
10
bsp/buildroot-2017.02.11/package/dhcpcd/Config.in
Normal file
10
bsp/buildroot-2017.02.11/package/dhcpcd/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
comment "dhcpcd needs a toolchain w/ headers >= 3.1"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
|
||||
|
||||
config BR2_PACKAGE_DHCPCD
|
||||
bool "dhcpcd"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 # sa_family_t in linux/socket.h
|
||||
help
|
||||
An RFC2131 compliant DHCP client
|
||||
|
||||
http://roy.marples.name/projects/dhcpcd/
|
||||
2
bsp/buildroot-2017.02.11/package/dhcpcd/dhcpcd.hash
Normal file
2
bsp/buildroot-2017.02.11/package/dhcpcd/dhcpcd.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated from download (no sig, hash)
|
||||
sha256 6f9674dc7e27e936cc787175404a6171618675ecfb6903ab9887b1b66a87d69e dhcpcd-6.11.5.tar.xz
|
||||
42
bsp/buildroot-2017.02.11/package/dhcpcd/dhcpcd.mk
Normal file
42
bsp/buildroot-2017.02.11/package/dhcpcd/dhcpcd.mk
Normal file
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# dhcpcd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DHCPCD_VERSION = 6.11.5
|
||||
DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.xz
|
||||
DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd
|
||||
DHCPCD_DEPENDENCIES = host-pkgconf
|
||||
DHCPCD_LICENSE = BSD-2c
|
||||
DHCPCD_LICENSE_FILES = dhcpcd.c
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DHCPCD_CONFIG_OPTS += --enable-static
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_USE_MMU),)
|
||||
DHCPCD_CONFIG_OPTS += --disable-fork
|
||||
endif
|
||||
|
||||
define DHCPCD_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) ./configure \
|
||||
--os=linux \
|
||||
--libexecdir=/lib/dhcpcd \
|
||||
$(DHCPCD_CONFIG_OPTS) )
|
||||
endef
|
||||
|
||||
define DHCPCD_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) \
|
||||
-C $(@D) all
|
||||
endef
|
||||
|
||||
define DHCPCD_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
|
||||
endef
|
||||
|
||||
# NOTE: Even though this package has a configure script, it is not generated
|
||||
# using the autotools, so we have to use the generic package infrastructure.
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user