Files
hexagon-dsp-binaries/Makefile
Dmitry Baryshkov 220c5bf347 Makefile: provide 'clean' target
It's useful to provide a 'make clean' target as a lot of scripts expect
to be able to run it. Add empty 'clean' target to make those scripts
happy.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2025-02-13 03:11:46 +02:00

29 lines
506 B
Makefile

# SPDX-License-Identifier: MIT
prefix ?= /usr
DSPDIR = ${prefix}/share/qcom
all:
clean:
install:
./scripts/install.sh config.txt ${DESTDIR}/${DSPDIR}
TAG = $(shell git describe)
NAME = hexagon-dsp-binaries
TARGET = $(NAME)_$(TAG).tar.gz
SUBDIR = $(NAME)-$(TAG)
dist:
$-rm -rf release
@mkdir -p release dist
./scripts/dist.sh config.txt release/$(SUBDIR)
tar -czf dist/$(TARGET) -C release $(SUBDIR)
@echo "Created dist/$(TARGET)"
@rm -rf release
check:
./scripts/check.py
.PHONY: dist check