luckfox-pico-sdk/media/avs/Makefile
2023-08-08 20:36:47 +08:00

38 lines
709 B
Makefile

ifeq ($(MEDIA_PARAM), )
MEDIA_PARAM:=../Makefile.param
include $(MEDIA_PARAM)
endif
export LC_ALL=C
SHELL:=/bin/bash
CURRENT_DIR := $(shell pwd)
PKG_TARBALL := middle_lut
PKG_LIB_INSTALL_PATH := lib
PKG_BIN ?= out
ifeq ($(CONFIG_RK_AVS),y)
PKG_TARGET := avs-build
endif
ifeq ($(PKG_BIN),)
$(error ### $(CURRENT_DIR): PKG_BIN is NULL, Please Check !!!)
endif
all: $(PKG_TARGET)
@echo "build $(PKG_NAME) done";
avs-build:
@rm -rf $(PKG_BIN);
@mkdir -p $(PKG_BIN);
cp -rfa $(PKG_TARBALL) $(PKG_BIN)/;
cp -rfa include/ $(PKG_BIN)/include/;
cp -rfa lib/ $(PKG_BIN)/lib/;
$(call MAROC_COPY_PKG_TO_MEDIA_OUTPUT, $(RK_MEDIA_OUTPUT), $(PKG_BIN))
clean: distclean
distclean:
-rm -rf $(PKG_BIN)