From d6a3175e83e58ce3359a43f283cb62e186f5453b Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Thu, 6 Jul 2017 19:43:35 +0200 Subject: [PATCH] package/linuxptp: fix coding style issue Thanks to Yann for the live review during the Buildroot summer camp. Signed-off-by: Romain Naour Cc: Petr Kulhavy Cc: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/linuxptp/linuxptp.mk | 17 ++++++++++++----- 1 file 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