From da3c075d1d87ff558a38f184727c81078f6711bd Mon Sep 17 00:00:00 2001 From: cladmi <gaetan.harter@fu-berlin.de> Date: Wed, 22 Aug 2018 16:00:28 +0200 Subject: [PATCH] pkg/jerryscript: update rules Remove unknown rules from .PHONY. Make 'all' be the default target for jerryscript and execute `all` target. This way no definition order issue could happen in the future. --- pkg/jerryscript/Makefile | 2 +- pkg/jerryscript/Makefile.jerryscript | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/jerryscript/Makefile b/pkg/jerryscript/Makefile index 697438fbe6..86aa22fcc0 100644 --- a/pkg/jerryscript/Makefile +++ b/pkg/jerryscript/Makefile @@ -14,6 +14,6 @@ endif all: git-download @cp Makefile.jerryscript $(PKG_BUILDDIR)/Makefile - "$(MAKE)" -C $(PKG_BUILDDIR) + "$(MAKE)" -C $(PKG_BUILDDIR) all include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/jerryscript/Makefile.jerryscript b/pkg/jerryscript/Makefile.jerryscript index b4f4f4df0d..2d30d9c95a 100644 --- a/pkg/jerryscript/Makefile.jerryscript +++ b/pkg/jerryscript/Makefile.jerryscript @@ -8,9 +8,9 @@ ifeq ($(TOOLCHAIN)_$(BOARD),llvm_native) EXT_CFLAGS :=-D__TARGET_RIOT -Wno-conversion endif -.PHONY: libjerry riot-jerry flash clean +.PHONY: all libjerry -# all: libjerry riot-jerry +all: libjerry libjerry: mkdir -p $(BUILD_DIR) -- GitLab