* [Buildroot] [git commit branch/2020.08.x] package/dhcpcd: enhance syntax
@ 2020-12-27 8:08 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2020-12-27 8:08 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=cdf90d4cdb09c88cd9c6518d1bfa60923a2dc15a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.08.x
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>
(cherry picked from commit 909432e0bb55b1bcf7c90e8b60c47ebc02b36a6c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/dhcpcd/dhcpcd.mk | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk
index 0dcd36f369..11d78e1847 100644
--- a/package/dhcpcd/dhcpcd.mk
+++ b/package/dhcpcd/dhcpcd.mk
@@ -11,6 +11,10 @@ DHCPCD_DEPENDENCIES = host-pkgconf
DHCPCD_LICENSE = BSD-2-Clause
DHCPCD_LICENSE_FILES = LICENSE
+DHCPCD_CONFIG_OPTS = \
+ --libexecdir=/lib/dhcpcd \
+ --os=linux
+
ifeq ($(BR2_STATIC_LIBS),y)
DHCPCD_CONFIG_OPTS += --enable-static
endif
@@ -20,16 +24,11 @@ DHCPCD_CONFIG_OPTS += --disable-fork --disable-privsep
endif
define DHCPCD_CONFIGURE_CMDS
- (cd $(@D); \
- $(TARGET_CONFIGURE_OPTS) ./configure \
- --os=linux \
- --libexecdir=/lib/dhcpcd \
- $(DHCPCD_CONFIG_OPTS) )
+ (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(DHCPCD_CONFIG_OPTS))
endef
define DHCPCD_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) \
- -C $(@D) all
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all
endef
define DHCPCD_INSTALL_TARGET_CMDS
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-27 8:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27 8:08 [Buildroot] [git commit branch/2020.08.x] package/dhcpcd: enhance syntax Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.