90031397ed
For change log, see: https://github.com/Linaro/OpenCSD/blob/v1.4.1/README.md?plain=1#L294 Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
890 B
Makefile
32 lines
890 B
Makefile
################################################################################
|
|
#
|
|
# opencsd
|
|
#
|
|
################################################################################
|
|
|
|
OPENCSD_VERSION = 1.4.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))
|