1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/pioasm/Makefile
2023-05-12 23:03:05 +02:00

17 lines
517 B
Makefile

PKG_NAME=pioasm
PKG_URL=https://github.com/raspberrypi/pico-sdk.git
# release SDK 1.5.0
PKG_VERSION=2ccab115de0d42d31d6611cca19ef0cd0d2ccaa7
PKG_LICENSE=BSD-3-Clause
PKG_PATCH_DIR=$(RIOTTOOLS)/pioasm/patches
PKG_BUILD_DIR=$(PKG_SOURCE_DIR)/tools/pioasm
include $(RIOTBASE)/pkg/pkg.mk
all: $(CURDIR)/pioasm
$(CURDIR)/pioasm: $(PKG_PREPARED)
@env -i PATH="$(PATH)" cmake $(PKG_SOURCE_DIR)/tools/pioasm/CMakeLists.txt -B"$(PKG_BUILD_DIR)"
"$(MAKE)" -C "$(PKG_SOURCE_DIR)/tools/pioasm"
cp $(PKG_BUILD_DIR)/pioasm .