Skip to content
Permalink
Browse files

Update build

  • Loading branch information...
blavka committed Nov 27, 2017
1 parent 943b0d6 commit 6457e2a2cef94ebd9dec063fefa6301bd228b295
Showing with 8 additions and 8 deletions.
  1. +2 −2 .travis.yml
  2. +6 −6 Makefile
@@ -10,8 +10,8 @@ addons:
- gcc-arm-embedded

script:
- make core-module-release OUT=bcf-gateway-core-module-${TRAVIS_TAG} TAG=${TRAVIS_TAG}
- make usb-dongle-release OUT=bcf-gateway-usb-dongle-${TRAVIS_TAG} TAG=${TRAVIS_TAG}
- make core-module-release OUT=bcf-gateway-core-module-${TRAVIS_TAG} VERSION=${TRAVIS_TAG}
- make usb-dongle-release OUT=bcf-gateway-usb-dongle-${TRAVIS_TAG} VERSION=${TRAVIS_TAG}

deploy:
skip_cleanup: true
@@ -1,11 +1,11 @@
override TAG ?= vdev
override VERSION ?= vdev
override CORE_MODULE ?= 0

SDK_DIR ?= sdk

CFLAGS += -D'BC_SCHEDULER_MAX_TASKS=64'
CFLAGS += -D'BC_RADIO_MAX_DEVICES=16'
CFLAGS += -D'TAG="$(TAG)"'
CFLAGS += -D'VERSION="$(VERSION)"'
CFLAGS += -D'CORE_MODULE=$(CORE_MODULE)'

-include sdk/Makefile.mk
@@ -24,16 +24,16 @@ update: sdk

.PHONY: core-module
core-module:
@$(MAKE) debug TAG=$(TAG) CORE_MODULE=1
@$(MAKE) debug VERSION=$(VERSION) CORE_MODULE=1

.PHONY: core-module-release
core-module-release:
@$(MAKE) release TAG=$(TAG) CORE_MODULE=1
@$(MAKE) release VERSION=$(VERSION) CORE_MODULE=1

.PHONY: usb-dongle
usb-dongle:
@$(MAKE) debug TAG=$(TAG)
@$(MAKE) debug VERSION=$(VERSION)

.PHONY: usb-dongle-release
usb-dongle-release:
@$(MAKE) release TAG=$(TAG)
@$(MAKE) release VERSION=$(VERSION)

0 comments on commit 6457e2a

Please sign in to comment.
You can’t perform that action at this time.