kumquat-buildroot/package/opencsd/opencsd.mk
Julien Olivain c7c6778d2a package/opencsd: bump to version 1.5.1
For change log, see:
https://github.com/Linaro/OpenCSD/blob/v1.5.1/README.md?plain=1#L316

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-01-30 23:13:53 +01:00

32 lines
890 B
Makefile

################################################################################
#
# opencsd
#
################################################################################
OPENCSD_VERSION = 1.5.1
OPENCSD_SITE = $(call github,Linaro,OpenCSD,v$(OPENCSD_VERSION))
OPENCSD_LICENSE = BSD-3-Clause
OPENCSD_LICENSE_FILES = LICENSE
OPENCSD_INSTALL_STAGING = YES
OPENCSD_MAKE_OPTS = \
CROSS_COMPILE="$(TARGET_CROSS)"
define OPENCSD_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/decoder/build/linux \
$(OPENCSD_MAKE_OPTS) all
endef
define OPENCSD_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/decoder/build/linux \
$(OPENCSD_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
endef
define OPENCSD_INSTALL_STAGING_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/decoder/build/linux \
$(OPENCSD_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
endef
$(eval $(generic-package))