From 328e2075e2989cef17d8a0e991ef6a72accbbdbf Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 22 Mar 2018 09:12:12 +0100 Subject: [PATCH] pkg*: replace curly braces by parenthesis in makefiles --- pkg/ccn-lite/Makefile | 6 +++--- pkg/minmea/Makefile | 2 +- pkg/openthread/Makefile | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/ccn-lite/Makefile b/pkg/ccn-lite/Makefile index 29a3865abcfb..5de11aeee29f 100644 --- a/pkg/ccn-lite/Makefile +++ b/pkg/ccn-lite/Makefile @@ -5,10 +5,10 @@ PKG_LICENSE=ISC .PHONY: all -export RIOT_CFLAGS = ${CFLAGS} ${INCLUDES} +export RIOT_CFLAGS = $(CFLAGS) $(INCLUDES) all: git-download - cd $(PKG_BUILDDIR)/src && cmake -DCCNL_RIOT=1 -DRIOT_CFLAGS="${RIOT_CFLAGS}" -DBUILD_TESTING=OFF . && make - cp $(PKG_BUILDDIR)/src/lib/libccnl-riot.a ${BINDIR}/ccn-lite.a + cd $(PKG_BUILDDIR)/src && cmake -DCCNL_RIOT=1 -DRIOT_CFLAGS="$(RIOT_CFLAGS)" -DBUILD_TESTING=OFF . && make + cp $(PKG_BUILDDIR)/src/lib/libccnl-riot.a $(BINDIR)/ccn-lite.a include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/minmea/Makefile b/pkg/minmea/Makefile index 2fa08f8af8f1..5caa72894012 100644 --- a/pkg/minmea/Makefile +++ b/pkg/minmea/Makefile @@ -6,7 +6,7 @@ PKG_LICENSE=WTFPL .PHONY: all all: git-download - @cp Makefile.${PKG_NAME} $(PKG_BUILDDIR)/Makefile + @cp Makefile.$(PKG_NAME) $(PKG_BUILDDIR)/Makefile "$(MAKE)" -C $(PKG_BUILDDIR) include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/openthread/Makefile b/pkg/openthread/Makefile index 4456d3da212d..849a16cb1f64 100644 --- a/pkg/openthread/Makefile +++ b/pkg/openthread/Makefile @@ -6,7 +6,7 @@ PKG_BUILDDIR ?= $(BINDIRBASE)/pkg/$(BOARD)/$(PKG_NAME) $(info Compile OpenThread for FTD device) OPENTHREAD_ARGS+= --enable-cli-app=ftd --enable-application-coap -$(info $$OPENTHREAD_ARGS is [${OPENTHREAD_ARGS}]) +$(info $$OPENTHREAD_ARGS is [$(OPENTHREAD_ARGS)]) .PHONY: all @@ -24,12 +24,12 @@ all: git-download LDFLAGS="$(OPENTHREAD_COMMON_FLAGS) $(CFLAGS_CPU) -nostartfiles -specs=nano.specs \ -specs=nosys.specs -Wl,--gc-sections -Wl,-Map=map.map " \ ./configure --disable-docs --host=$(TARGET_ARCH) --target=$(TARGET_ARCH) \ - --prefix=/ --enable-default-logging ${OPENTHREAD_ARGS} + --prefix=/ --enable-default-logging $(OPENTHREAD_ARGS) cd $(PKG_BUILDDIR) && DESTDIR=$(PKG_BUILDDIR)/output PREFIX=/ make -j4 --no-print-directory install - cp $(PKG_BUILDDIR)/output/lib/libmbedcrypto.a ${BINDIR}/libmbedcrypto.a - cp $(PKG_BUILDDIR)/output/lib/libopenthread-ftd.a ${BINDIR}/libopenthread.a - cp $(PKG_BUILDDIR)/output/lib/libopenthread-cli-ftd.a ${BINDIR}/libopenthread-cli.a + cp $(PKG_BUILDDIR)/output/lib/libmbedcrypto.a $(BINDIR)/libmbedcrypto.a + cp $(PKG_BUILDDIR)/output/lib/libopenthread-ftd.a $(BINDIR)/libopenthread.a + cp $(PKG_BUILDDIR)/output/lib/libopenthread-cli-ftd.a $(BINDIR)/libopenthread-cli.a sed -ie 's/BASE/_BASE/g' $(PKG_BUILDDIR)/output/include/openthread/types.h include $(RIOTBASE)/pkg/pkg.mk