Skip to content

Commit

Permalink
Update BME280 package to 2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Dec 31, 2020
1 parent 120f78e commit c3e777a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
11 changes: 4 additions & 7 deletions pkg/arduino_sparkfun_bme280/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = arduino_sparkfun_bme280
PKG_VERSION = 2.0.8
PKG_VERSION = 2.0.9
PKG_EXT = zip
PKG_LICENSE = MIT

Expand All @@ -13,26 +13,23 @@ ifneq ($(RIOTBASE),)
include $(RIOTBASE)/Makefile.base
endif

.PHONY: all clean patch distclean
.PHONY: all clean distclean

CFLAGS += -DARDUINO=200

prepare: $(PKG_TARGET_DIR)

all: patch
all:
"$(MAKE)" -C $(PKG_TARGET_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

patch:
# PATCH
cd $(PKG_TARGET_DIR)/src && patch --forward < $(CURDIR)/patches/math.patch || true

$(PKG_TARGET_DIR): $(PKG_ZIPFILE)
# UNPACK
$(Q)$(UNZIP_HERE) -D -d $(PKGDIRBASE) $<
mv $(PKG_SOURCE_DIR) $(PKG_TARGET_DIR)

$(PKG_ZIPFILE):
# DOWNLOAD
mkdir -p $(PKGDIRBASE)
$(Q)$(DOWNLOAD_TO_FILE) $@ $(PKG_URL)

clean::
Expand Down
10 changes: 0 additions & 10 deletions pkg/arduino_sparkfun_bme280/patches/math.patch

This file was deleted.

0 comments on commit c3e777a

Please sign in to comment.