summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@smile.fr>2017-07-06 19:43:35 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-06 21:05:35 +0200
commitd6a3175e83e58ce3359a43f283cb62e186f5453b (patch)
tree5627426d512fcb021218e47c1ff20ee1d29e7ee3 /package
parentdcec447e89d1fd2c7458f4f8f88ec15949e8383a (diff)
downloadbuildroot-d6a3175e83e58ce3359a43f283cb62e186f5453b.tar.gz
buildroot-d6a3175e83e58ce3359a43f283cb62e186f5453b.zip
package/linuxptp: fix coding style issue
Thanks to Yann for the live review during the Buildroot summer camp. Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Petr Kulhavy <brain@jikos.cz> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/linuxptp/linuxptp.mk17
1 files changed, 12 insertions, 5 deletions
diff --git a/package/linuxptp/linuxptp.mk b/package/linuxptp/linuxptp.mk
index beb2591c32..0fc85b056c 100644
--- a/package/linuxptp/linuxptp.mk
+++ b/package/linuxptp/linuxptp.mk
@@ -11,15 +11,22 @@ LINUXPTP_LICENSE = GPL-2.0+
LINUXPTP_LICENSE_FILES = COPYING
define LINUXPTP_BUILD_CMDS
- $(TARGET_MAKE_ENV) CROSS_COMPILE="$(TARGET_CROSS)" \
- $(MAKE) KBUILD_OUTPUT=$(TARGET_DIR) \
- EXTRA_CFLAGS="$(TARGET_CFLAGS)" EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
+ $(TARGET_MAKE_ENV) \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
+ $(MAKE) \
+ KBUILD_OUTPUT=$(TARGET_DIR) \
+ EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
+ EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
-C $(@D) all
endef
define LINUXPTP_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) \
- $(TARGET_CONFIGURE_OPTS) -C $(@D) install
+ $(TARGET_MAKE_ENV) \
+ $(MAKE) \
+ prefix=/usr \
+ DESTDIR=$(TARGET_DIR) \
+ $(TARGET_CONFIGURE_OPTS) \
+ -C $(@D) install
$(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/linuxptp.cfg \
$(TARGET_DIR)/etc/linuxptp.cfg
OpenPOWER on IntegriCloud