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

pkg: use RIOTTOOLS variable

Follow up to #9067 and part of #8821
This commit is contained in:
Gaëtan Harter 2018-03-29 15:41:11 +02:00
parent 00a974d950
commit 1de1830108
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,6 @@ $(PKG_BUILDDIR)/src/Makefile: $(TOOLCHAIN_FILE)
-DCCNL_RIOT=1 -DRIOT_CFLAGS="$(RIOT_CFLAGS)" -DBUILD_TESTING=OFF .
$(TOOLCHAIN_FILE): git-download
$(RIOTBASE)/dist/tools/cmake/generate-xcompile-toolchain.sh > $(TOOLCHAIN_FILE)
$(RIOTTOOLS)/cmake/generate-xcompile-toolchain.sh > $(TOOLCHAIN_FILE)
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -20,7 +20,7 @@ $(PKG_BUILDDIR)/Makefile: $(TOOLCHAIN_FILE)
-DCHECK=off -DTESTS=0 -DBENCH=0 -DSHLIB=off -Wno-dev $(RELIC_CONFIG_FLAGS) .
$(TOOLCHAIN_FILE): fix_source
$(RIOTBASE)/dist/tools/cmake/generate-xcompile-toolchain.sh > $(TOOLCHAIN_FILE)
$(RIOTTOOLS)/cmake/generate-xcompile-toolchain.sh > $(TOOLCHAIN_FILE)
fix_source: git-download
./fix-util_print_wo_args.sh $(PKG_BUILDDIR)