1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg: adapt 'simple' packages to the new organization

This commit is contained in:
Alexandre Abadie 2020-06-13 20:58:27 +02:00
parent 82b68a113b
commit 385ad95701
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
55 changed files with 94 additions and 97 deletions

View File

@ -5,7 +5,7 @@ PKG_EXT = zip
PKG_LICENSE = PD PKG_LICENSE = PD
PKG_SHA512 = dbfb4285837ab2ea3d99c448b22877cc7a139ccbaebb1de367e2bec1fd562fe629b389d86603915448078b8fd7e631c8fc9a7d126eb889a1ba0c17611369b190 PKG_SHA512 = dbfb4285837ab2ea3d99c448b22877cc7a139ccbaebb1de367e2bec1fd562fe629b389d86603915448078b8fd7e631c8fc9a7d126eb889a1ba0c17611369b190
PKG_BUILDDIR ?= $(PKGDIRBASE)/$(PKG_NAME) PKG_SOURCE_DIR ?= $(PKGDIRBASE)/$(PKG_NAME)
PKG_ZIPFILE = $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT) PKG_ZIPFILE = $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)
ifneq ($(RIOTBASE),) ifneq ($(RIOTBASE),)
@ -14,12 +14,12 @@ endif
.PHONY: all clean distclean .PHONY: all clean distclean
prepare: $(PKG_BUILDDIR)/ prepare: $(PKG_SOURCE_DIR)/
all: $(PKG_BUILDDIR)/ all: $(PKG_SOURCE_DIR)/
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)
$(PKG_BUILDDIR)/: $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT) $(PKG_SOURCE_DIR)/: $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)
test "$(PKG_SHA512) $(PKG_ZIPFILE)" = "$$(sha512sum "${PKG_ZIPFILE}")" test "$(PKG_SHA512) $(PKG_ZIPFILE)" = "$$(sha512sum "${PKG_ZIPFILE}")"
$(Q)$(UNZIP_HERE) -D -d $(PKGDIRBASE) $< $(Q)$(UNZIP_HERE) -D -d $(PKGDIRBASE) $<
@ -29,7 +29,7 @@ $(PKG_ZIPFILE):
clean:: clean::
# Reset package to checkout state. # Reset package to checkout state.
rm -rf $(PKG_BUILDDIR) rm -rf $(PKG_SOURCE_DIR)
distclean:: distclean::
rm -rf $(PKG_BUILDDIR) $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT) rm -rf $(PKG_SOURCE_DIR) $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)

View File

@ -6,4 +6,4 @@ PKG_LICENSE=LGPLv2.1
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -6,4 +6,4 @@ PKG_LICENSE=CC-0
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(CURDIR)/Makefile.cifra "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(CURDIR)/Makefile.cifra

View File

@ -8,4 +8,4 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-strict-aliasing -Wno-unused-parameter CFLAGS += -Wno-strict-aliasing -Wno-unused-parameter
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME) all "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(CURDIR)/Makefile.$(PKG_NAME) all

View File

@ -7,4 +7,4 @@ CFLAGS += -Wno-strict-aliasing -Wno-unused-parameter
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(CURDIR)/Makefile.$(PKG_NAME)

View File

@ -9,4 +9,4 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -DCBOR_ALIGN_READS CFLAGS += -DCBOR_ALIGN_READS
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -12,4 +12,4 @@ endif
.PHONY: all .PHONY: all
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -19,11 +19,11 @@ EMB6_SUBMODULES:=$(filter-out emb6_contrib \
emb6_sock_%,$(filter emb6_%,$(USEMODULE))) emb6_sock_%,$(filter emb6_%,$(USEMODULE)))
all: $(EMB6_SUBMODULES) all: $(EMB6_SUBMODULES)
"$(MAKE)" -C $(PKG_BUILDDIR) "$(MAKE)" -C $(PKG_SOURCE_DIR)
# Rule for all submodules # Rule for all submodules
emb6_%: emb6_%:
"$(MAKE)" -C $(dir $(shell grep -lR "MODULE.*=.*\<$@\>" $(PKG_BUILDDIR))) "$(MAKE)" -C $(dir $(shell grep -lR "MODULE.*=.*\<$@\>" $(PKG_SOURCE_DIR)))
ifeq (llvm,$(TOOLCHAIN)) ifeq (llvm,$(TOOLCHAIN))
CFLAGS += -Wno-tautological-compare CFLAGS += -Wno-tautological-compare

View File

@ -6,4 +6,4 @@ PKG_LICENSE=BSD-1-Clause
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -14,4 +14,4 @@ ifneq (llvm,$(TOOLCHAIN))
endif endif
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/dist "$(MAKE)" -C $(PKG_SOURCE_DIR)/dist

View File

@ -8,4 +8,4 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -DKRML_NOUINT128 -Wno-unused-parameter CFLAGS += -DKRML_NOUINT128 -Wno-unused-parameter
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -6,4 +6,4 @@ PKG_LICENSE=ISC-License
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.heatshrink "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(CURDIR)/Makefile.heatshrink

View File

@ -6,4 +6,4 @@ PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -6,5 +6,4 @@ PKG_LICENSE = CC0-1.0
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src \ "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(CURDIR)/Makefile.$(PKG_NAME)
-f $(CURDIR)/Makefile.$(PKG_NAME)

View File

@ -8,4 +8,4 @@ include $(RIOTBASE)/pkg/pkg.mk
.PHONY: all .PHONY: all
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(CURDIR)/Makefile.$(PKG_NAME)

View File

@ -13,4 +13,4 @@ ifeq (llvm,$(TOOLCHAIN))
endif endif
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) "$(MAKE)" -C $(PKG_SOURCE_DIR)

View File

@ -6,5 +6,5 @@ PKG_LICENSE=LGPL
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)
"$(MAKE)" -C $(PKG_BUILDDIR)/src/crypt -f $(CURDIR)/Makefile.$(PKG_NAME)_crypt "$(MAKE)" -C $(PKG_SOURCE_DIR)/src/crypt -f $(CURDIR)/Makefile.$(PKG_NAME)_crypt

View File

@ -6,7 +6,7 @@ PKG_LICENSE := MIT
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: $(filter libfixmath-unittests,$(USEMODULE)) all: $(filter libfixmath-unittests,$(USEMODULE))
"$(MAKE)" -C $(PKG_BUILDDIR)/$(PKG_NAME) -f $(CURDIR)/Makefile.$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/$(PKG_NAME) -f $(CURDIR)/Makefile.$(PKG_NAME)
libfixmath-unittests: libfixmath-unittests:
"$(MAKE)" -C $(PKG_BUILDDIR)/unittests -f $(CURDIR)/Makefile.$(PKG_NAME)-unittests "$(MAKE)" -C $(PKG_SOURCE_DIR)/unittests -f $(CURDIR)/Makefile.$(PKG_NAME)-unittests

View File

@ -1,4 +1,4 @@
PKG_BUILDDIR ?= $(PKGDIRBASE)/libfixmath PKG_SOURCE_DIR ?= $(PKGDIRBASE)/libfixmath
# The static cache is huge, disable it. # The static cache is huge, disable it.
CFLAGS += -DFIXMATH_NO_CACHE CFLAGS += -DFIXMATH_NO_CACHE
@ -7,8 +7,8 @@ ifneq (,$(filter arch_8bit,$(FEATURES_USED)))
CFLAGS += -DFIXMATH_OPTIMIZE_8BIT CFLAGS += -DFIXMATH_OPTIMIZE_8BIT
endif endif
INCLUDES += -I$(PKG_BUILDDIR)/libfixmath INCLUDES += -I$(PKG_SOURCE_DIR)/libfixmath
ifneq (,$(filter libfixmath-unittests,$(USEMODULE))) ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
INCLUDES += -I$(PKG_BUILDDIR)/unittests INCLUDES += -I$(PKG_SOURCE_DIR)/unittests
endif endif

View File

@ -9,4 +9,4 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-type-limits CFLAGS += -Wno-type-limits
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -17,4 +17,4 @@ ifneq ($(DEVELHELP),1)
endif endif
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -17,4 +17,4 @@ ifneq ($(DEVELHELP),1)
endif endif
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -6,4 +6,4 @@ PKG_LICENSE=LGPLv2.1
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -7,4 +7,4 @@ PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: Makefile.lua all: Makefile.lua
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.lua "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(CURDIR)/Makefile.lua

View File

@ -20,4 +20,4 @@ LVGL_MODULES = \
all: $(LVGL_MODULES) all: $(LVGL_MODULES)
lvgl_%: lvgl_%:
MODULE=$@ "$(MAKE)" -C $(PKG_BUILDDIR)/src/lv_$* -f $(CURDIR)/Makefile.lvgl_module MODULE=$@ "$(MAKE)" -C $(PKG_SOURCE_DIR)/src/lv_$* -f $(CURDIR)/Makefile.lvgl_module

View File

@ -15,30 +15,30 @@ LWIP_MODULE_MAKEFILE = $(RIOTBASE)/Makefile.base
CFLAGS += -Wno-address CFLAGS += -Wno-address
make_module = "$(MAKE)" -f $(LWIP_MODULE_MAKEFILE) MODULE=$(1) -C $(2) make_module = "$(MAKE)" -C $(2) -f $(LWIP_MODULE_MAKEFILE) MODULE=$(1)
all: lwip all: lwip
lwip: $(LWIP_USEMODULE) lwip: $(LWIP_USEMODULE)
$(call make_module,$@,$(PKG_BUILDDIR)) $(call make_module,$@,$(PKG_SOURCE_DIR))
lwip_api: lwip_api:
$(call make_module,$@,$(PKG_BUILDDIR)/src/api) $(call make_module,$@,$(PKG_SOURCE_DIR)/src/api)
lwip_core: lwip_core:
$(call make_module,$@,$(PKG_BUILDDIR)/src/core) $(call make_module,$@,$(PKG_SOURCE_DIR)/src/core)
lwip_ipv4: lwip_ipv4:
$(call make_module,$@,$(PKG_BUILDDIR)/src/core/ipv4) $(call make_module,$@,$(PKG_SOURCE_DIR)/src/core/ipv4)
lwip_ipv6: lwip_ipv6:
$(call make_module,$@,$(PKG_BUILDDIR)/src/core/ipv6) $(call make_module,$@,$(PKG_SOURCE_DIR)/src/core/ipv6)
lwip_netif: lwip_netif:
$(call make_module,$@,$(PKG_BUILDDIR)/src/netif) $(call make_module,$@,$(PKG_SOURCE_DIR)/src/netif)
lwip_netif_ppp: lwip_netif_ppp:
$(call make_module,$@,$(PKG_BUILDDIR)/src/netif/ppp) $(call make_module,$@,$(PKG_SOURCE_DIR)/src/netif/ppp)
lwip_polarssl: lwip_polarssl:
$(call make_module,$@,$(PKG_BUILDDIR)/src/netif/ppp/polarssl) $(call make_module,$@,$(PKG_SOURCE_DIR)/src/netif/ppp/polarssl)

View File

@ -6,4 +6,4 @@ PKG_LICENSE=BSD-2-Clause
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -6,4 +6,4 @@ PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) "$(MAKE)" -C $(PKG_SOURCE_DIR)

View File

@ -6,4 +6,4 @@ PKG_LICENSE=WTFPL
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(CURDIR)/Makefile.$(PKG_NAME)

View File

@ -8,7 +8,7 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -DBLAKE2_NO_UNROLLING CFLAGS += -DBLAKE2_NO_UNROLLING
all: $(filter monocypher_optional,$(USEMODULE)) all: $(filter monocypher_optional,$(USEMODULE))
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)
monocypher_optional: monocypher_optional:
"$(MAKE)" -C $(PKG_BUILDDIR)/src/optional -f $(RIOTBASE)/Makefile.base MODULE=$@ "$(MAKE)" -C $(PKG_SOURCE_DIR)/src/optional -f $(RIOTBASE)/Makefile.base MODULE=$@

View File

@ -6,4 +6,4 @@ PKG_LICENSE = LGPL-2.1
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -6,4 +6,4 @@ PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -6,4 +6,4 @@ PKG_LICENSE=LGPLv2.1
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) "$(MAKE)" -C $(PKG_SOURCE_DIR)

View File

@ -6,7 +6,7 @@ PKG_LICENSE = Apache-2.0
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
TDIR = $(RIOTPKG)/$(PKG_NAME) TDIR = $(RIOTPKG)/$(PKG_NAME)
PDIR = $(PKG_BUILDDIR) PDIR = $(PKG_SOURCE_DIR)
# NimBLE is not optimized for building with all (extra) warnings enabled. So for # NimBLE is not optimized for building with all (extra) warnings enabled. So for
# now, we disable a number of selected compiler warnings when building NimBLE. # now, we disable a number of selected compiler warnings when building NimBLE.

View File

@ -6,4 +6,4 @@ PKG_LICENSE=PD
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/$(QDSA_IMPL) "$(MAKE)" -C $(PKG_SOURCE_DIR)/$(QDSA_IMPL)

View File

@ -6,4 +6,4 @@ PKG_LICENSE = BSD-3-Clause
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -22,4 +22,4 @@ DIR_loramac_region = mac/region
all: $(LORAMAC_MODULES) all: $(LORAMAC_MODULES)
loramac_%: loramac_%:
"$(MAKE)" -C $(PKG_BUILDDIR)/src/$(DIR_$@) -f $(CURDIR)/Makefile.$@ "$(MAKE)" -C $(PKG_SOURCE_DIR)/src/$(DIR_$@) -f $(CURDIR)/Makefile.$@

View File

@ -9,4 +9,4 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-pedantic CFLAGS += -Wno-pedantic
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -6,4 +6,4 @@ PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -17,13 +17,13 @@ CFLAGS += -DTF_LITE_USE_GLOBAL_ROUND
all: tensorflow-lite all: tensorflow-lite
tensorflow-lite: $(TF_USEMODULE) tensorflow-lite: $(TF_USEMODULE)
"$(MAKE)" -C $(PKG_BUILDDIR)/tensorflow/lite/c -f $(CURDIR)/Makefile.$(PKG_NAME)-c "$(MAKE)" -C $(PKG_SOURCE_DIR)/tensorflow/lite/c -f $(CURDIR)/Makefile.$(PKG_NAME)-c
"$(MAKE)" -C $(PKG_BUILDDIR)/tensorflow/lite/core/api -f $(CURDIR)/Makefile.$(PKG_NAME)-core "$(MAKE)" -C $(PKG_SOURCE_DIR)/tensorflow/lite/core/api -f $(CURDIR)/Makefile.$(PKG_NAME)-core
"$(MAKE)" -C $(PKG_BUILDDIR)/tensorflow/lite/kernels -f $(CURDIR)/Makefile.$(PKG_NAME)-kernels "$(MAKE)" -C $(PKG_SOURCE_DIR)/tensorflow/lite/kernels -f $(CURDIR)/Makefile.$(PKG_NAME)-kernels
"$(MAKE)" -C $(PKG_BUILDDIR)/tensorflow/lite/kernels/internal -f $(CURDIR)/Makefile.$(PKG_NAME)-kernels-internal "$(MAKE)" -C $(PKG_SOURCE_DIR)/tensorflow/lite/kernels/internal -f $(CURDIR)/Makefile.$(PKG_NAME)-kernels-internal
"$(MAKE)" -C $(PKG_BUILDDIR)/tensorflow/lite/micro/kernels -f $(CURDIR)/Makefile.$(PKG_NAME)-micro-kernels "$(MAKE)" -C $(PKG_SOURCE_DIR)/tensorflow/lite/micro/kernels -f $(CURDIR)/Makefile.$(PKG_NAME)-micro-kernels
"$(MAKE)" -C $(PKG_BUILDDIR)/tensorflow/lite/micro/memory_planner -f $(CURDIR)/Makefile.$(PKG_NAME)-memory "$(MAKE)" -C $(PKG_SOURCE_DIR)/tensorflow/lite/micro/memory_planner -f $(CURDIR)/Makefile.$(PKG_NAME)-memory
"$(MAKE)" -C $(PKG_BUILDDIR)/tensorflow/lite/micro -f $(CURDIR)/Makefile.$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/tensorflow/lite/micro -f $(CURDIR)/Makefile.$(PKG_NAME)
tensorflow-lite-%: tensorflow-lite-%:
"$(MAKE)" -C $(PKG_BUILDDIR)/tensorflow/lite/micro/examples/$* -f $(CURDIR)/Makefile.$(PKG_NAME)-$* "$(MAKE)" -C $(PKG_SOURCE_DIR)/tensorflow/lite/micro/examples/$* -f $(CURDIR)/Makefile.$(PKG_NAME)-$*

View File

@ -6,4 +6,4 @@ PKG_LICENSE = LGPL-3
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -7,4 +7,4 @@ PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(CURDIR)/Makefile.tinycbor "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(CURDIR)/Makefile.tinycbor

View File

@ -6,4 +6,4 @@ PKG_LICENSE=BSD-3-Clause
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR)/lib/source/ -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/lib/source/ -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -11,9 +11,9 @@ CFLAGS += -Wno-implicit-fallthrough
CFLAGS += -D_XOPEN_SOURCE=600 CFLAGS += -D_XOPEN_SOURCE=600
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(PKG_BUILDDIR)/Makefile.riot "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(PKG_SOURCE_DIR)/Makefile.riot
"$(MAKE)" -C $(PKG_BUILDDIR)/aes -f $(PKG_BUILDDIR)/aes/Makefile.riot "$(MAKE)" -C $(PKG_SOURCE_DIR)/aes -f $(PKG_SOURCE_DIR)/aes/Makefile.riot
"$(MAKE)" -C $(PKG_BUILDDIR)/ecc -f $(PKG_BUILDDIR)/ecc/Makefile.riot "$(MAKE)" -C $(PKG_SOURCE_DIR)/ecc -f $(PKG_SOURCE_DIR)/ecc/Makefile.riot
ifeq (llvm,$(TOOLCHAIN)) ifeq (llvm,$(TOOLCHAIN))
CFLAGS += -Wno-format-nonliteral CFLAGS += -Wno-format-nonliteral

View File

@ -6,4 +6,4 @@ PKG_LICENSE=BSD
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -6,4 +6,4 @@ PKG_LICENSE=PD
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -6,7 +6,7 @@ PKG_LICENSE=BSD-2-Clause
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: $(filter u8g2_%,$(filter-out u8g2_csrc%, $(USEMODULE))) all: $(filter u8g2_%,$(filter-out u8g2_csrc%, $(USEMODULE)))
"$(MAKE)" -C $(PKG_BUILDDIR)/csrc -f $(CURDIR)/Makefile.$(PKG_NAME)_csrc "$(MAKE)" -C $(PKG_SOURCE_DIR)/csrc -f $(CURDIR)/Makefile.$(PKG_NAME)_csrc
u8g2_%: u8g2_%:
"$(MAKE)" -C $(PKG_BUILDDIR)/sys/$*/common -f $(CURDIR)/Makefile.$(PKG_NAME)_$* "$(MAKE)" -C $(PKG_SOURCE_DIR)/sys/$*/common -f $(CURDIR)/Makefile.$(PKG_NAME)_$*

View File

@ -15,7 +15,7 @@ all: ubasic
make_module = "$(MAKE)" -f $(RIOTPKG)/ubasic/$(1).mk -C $(2) make_module = "$(MAKE)" -f $(RIOTPKG)/ubasic/$(1).mk -C $(2)
ubasic: $(UBASIC_USEMODULE) ubasic: $(UBASIC_USEMODULE)
$(call make_module,$@,$(PKG_BUILDDIR)) $(call make_module,$@,$(PKG_SOURCE_DIR))
ubasic%: ubasic%:
$(call make_module,$@,$(PKG_BUILDDIR)) $(call make_module,$@,$(PKG_SOURCE_DIR))

View File

@ -8,8 +8,8 @@ include $(RIOTBASE)/pkg/pkg.mk
.PHONY: ucglib_sdl .PHONY: ucglib_sdl
all: $(filter ucglib_sdl,$(USEMODULE)) all: $(filter ucglib_sdl,$(USEMODULE))
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.ucglib "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(CURDIR)/Makefile.ucglib
"$(MAKE)" -C $(PKG_BUILDDIR)/csrc -f $(CURDIR)/Makefile.ucglib_csrc "$(MAKE)" -C $(PKG_SOURCE_DIR)/csrc -f $(CURDIR)/Makefile.ucglib_csrc
ucglib_sdl: ucglib_sdl:
"$(MAKE)" -C $(PKG_BUILDDIR)/sys/sdl/dev -f $(CURDIR)/Makefile.ucglib_sdl "$(MAKE)" -C $(PKG_SOURCE_DIR)/sys/sdl/dev -f $(CURDIR)/Makefile.ucglib_sdl

View File

@ -8,4 +8,4 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -D_XOPEN_SOURCE=600 CFLAGS += -D_XOPEN_SOURCE=600
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -3,11 +3,9 @@ PKG_URL=https://github.com/uTensor/uTensor
PKG_VERSION=b22aa5cbc1ef1b3dd42a899b393a9b999afd1305 PKG_VERSION=b22aa5cbc1ef1b3dd42a899b393a9b999afd1305
PKG_LICENSE=Apache2.0 PKG_LICENSE=Apache2.0
PKG_BASEDIR = $(PKG_BUILDDIR)/src/uTensor
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" -C $(PKG_BASEDIR)/core -f $(CURDIR)/Makefile.$(PKG_NAME) "$(MAKE)" -C $(PKG_SOURCE_DIR)/src/uTensor/core -f $(CURDIR)/Makefile.$(PKG_NAME)
"$(MAKE)" -C $(PKG_BASEDIR)/util -f $(CURDIR)/Makefile.$(PKG_NAME).util "$(MAKE)" -C $(PKG_SOURCE_DIR)/src/uTensor/util -f $(CURDIR)/Makefile.$(PKG_NAME).util
"$(MAKE)" -C $(PKG_BASEDIR)/ops -f $(CURDIR)/Makefile.$(PKG_NAME).ops "$(MAKE)" -C $(PKG_SOURCE_DIR)/src/uTensor/ops -f $(CURDIR)/Makefile.$(PKG_NAME).ops

View File

@ -6,6 +6,6 @@ PKG_LICENSE=EDL-1.0,EPL-1.0
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
all: all:
"$(MAKE)" MODULE=wakaama_core -C $(PKG_BUILDDIR)/core -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR)/core -f $(RIOTBASE)/Makefile.base MODULE=wakaama_core
"$(MAKE)" MODULE=wakaama_core_coap13 -C $(PKG_BUILDDIR)/core/er-coap-13 -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR)/core/er-coap-13 -f $(RIOTBASE)/Makefile.base MODULE=wakaama_core_coap13
"$(MAKE)" -C $(PKG_BUILDDIR)/examples/client -f $(CURDIR)/wakaama_client.mk "$(MAKE)" -C $(PKG_SOURCE_DIR)/examples/client -f $(CURDIR)/wakaama_client.mk

View File

@ -8,10 +8,10 @@ include $(RIOTBASE)/pkg/pkg.mk
.PHONY: wolfcrypt% .PHONY: wolfcrypt%
all: $(filter wolfcrypt wolfcrypt-test wolfcrypt-benchmark,$(USEMODULE)) all: $(filter wolfcrypt wolfcrypt-test wolfcrypt-benchmark,$(USEMODULE))
"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(CURDIR)/Makefile.wolfssl "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(CURDIR)/Makefile.wolfssl
wolfcrypt: wolfcrypt:
"$(MAKE)" -C $(PKG_BUILDDIR)/wolfcrypt/src -f $(CURDIR)/Makefile.wolfcrypt "$(MAKE)" -C $(PKG_SOURCE_DIR)/wolfcrypt/src -f $(CURDIR)/Makefile.wolfcrypt
wolfcrypt-%: wolfcrypt-%:
"$(MAKE)" -C $(PKG_BUILDDIR)/wolfcrypt/$* -f $(CURDIR)/Makefile.wolfcrypt-$* "$(MAKE)" -C $(PKG_SOURCE_DIR)/wolfcrypt/$* -f $(CURDIR)/Makefile.wolfcrypt-$*

View File

@ -1,7 +1,7 @@
CFLAGS += -DWOLFSSL_USER_SETTINGS=1 CFLAGS += -DWOLFSSL_USER_SETTINGS=1
CFLAGS += -DWOLFSSL_RIOT_OS=1 CFLAGS += -DWOLFSSL_RIOT_OS=1
INCLUDES += -I$(PKGDIRBASE)/../../../ INCLUDES += -I$(APPDIR)
INCLUDES += -I$(PKGDIRBASE)/wolfssl INCLUDES += -I$(PKGDIRBASE)/wolfssl
INCLUDES += -I$(RIOTBASE)/pkg/wolfssl/sock_tls INCLUDES += -I$(RIOTBASE)/pkg/wolfssl/sock_tls
INCLUDES += -I$(RIOTBASE)/pkg/wolfssl/include INCLUDES += -I$(RIOTBASE)/pkg/wolfssl/include

View File

@ -8,4 +8,4 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-unused-parameter CFLAGS += -Wno-unused-parameter
all: all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(RIOTBASE)/Makefile.base "$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base