mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/dhcpcd: enhance syntax
Add all configure options through DHCP_CONFIG_OPTS and avoid splitting lines when they are less than 80 characters Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
3cfb8a8393
commit
909432e0bb
@@ -11,6 +11,10 @@ DHCPCD_DEPENDENCIES = host-pkgconf
|
|||||||
DHCPCD_LICENSE = BSD-2-Clause
|
DHCPCD_LICENSE = BSD-2-Clause
|
||||||
DHCPCD_LICENSE_FILES = LICENSE
|
DHCPCD_LICENSE_FILES = LICENSE
|
||||||
|
|
||||||
|
DHCPCD_CONFIG_OPTS = \
|
||||||
|
--libexecdir=/lib/dhcpcd \
|
||||||
|
--os=linux
|
||||||
|
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
DHCPCD_CONFIG_OPTS += --enable-static
|
DHCPCD_CONFIG_OPTS += --enable-static
|
||||||
endif
|
endif
|
||||||
@@ -20,16 +24,11 @@ DHCPCD_CONFIG_OPTS += --disable-fork --disable-privsep
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define DHCPCD_CONFIGURE_CMDS
|
define DHCPCD_CONFIGURE_CMDS
|
||||||
(cd $(@D); \
|
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(DHCPCD_CONFIG_OPTS))
|
||||||
$(TARGET_CONFIGURE_OPTS) ./configure \
|
|
||||||
--os=linux \
|
|
||||||
--libexecdir=/lib/dhcpcd \
|
|
||||||
$(DHCPCD_CONFIG_OPTS) )
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define DHCPCD_BUILD_CMDS
|
define DHCPCD_BUILD_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) \
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all
|
||||||
-C $(@D) all
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define DHCPCD_INSTALL_TARGET_CMDS
|
define DHCPCD_INSTALL_TARGET_CMDS
|
||||||
|
|||||||
Reference in New Issue
Block a user