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>
This commit is contained in:
Romain Naour 2017-07-06 19:43:35 +02:00 committed by Thomas Petazzoni
parent dcec447e89
commit d6a3175e83

View File

@ -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