Skip to content

Commit c3e777a

Browse files
committed
Update BME280 package to 2.0.9
No need patching anymore, sparkfun/SparkFun_BME280_Arduino_Library#49
1 parent 120f78e commit c3e777a

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

pkg/arduino_sparkfun_bme280/Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_NAME = arduino_sparkfun_bme280
2-
PKG_VERSION = 2.0.8
2+
PKG_VERSION = 2.0.9
33
PKG_EXT = zip
44
PKG_LICENSE = MIT
55

@@ -13,26 +13,23 @@ ifneq ($(RIOTBASE),)
1313
include $(RIOTBASE)/Makefile.base
1414
endif
1515

16-
.PHONY: all clean patch distclean
16+
.PHONY: all clean distclean
1717

1818
CFLAGS += -DARDUINO=200
1919

2020
prepare: $(PKG_TARGET_DIR)
2121

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

25-
patch:
26-
# PATCH
27-
cd $(PKG_TARGET_DIR)/src && patch --forward < $(CURDIR)/patches/math.patch || true
28-
2925
$(PKG_TARGET_DIR): $(PKG_ZIPFILE)
3026
# UNPACK
3127
$(Q)$(UNZIP_HERE) -D -d $(PKGDIRBASE) $<
3228
mv $(PKG_SOURCE_DIR) $(PKG_TARGET_DIR)
3329

3430
$(PKG_ZIPFILE):
3531
# DOWNLOAD
32+
mkdir -p $(PKGDIRBASE)
3633
$(Q)$(DOWNLOAD_TO_FILE) $@ $(PKG_URL)
3734

3835
clean::

pkg/arduino_sparkfun_bme280/patches/math.patch

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)