board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / nvidia-tegra23 / nvidia-tegra23-codecs / nvidia-tegra23-codecs.mk
blob5514643416da2b729512c1d8288fdf7099449305
1 ################################################################################
3 # nvidia-tegra23-codecs
5 ################################################################################
7 NVIDIA_TEGRA23_CODECS_VERSION = $(NVIDIA_TEGRA23_VERSION)
8 NVIDIA_TEGRA23_CODECS_SOURCE = $(NVIDIA_TEGRA23_BASE)-codecs_R$(NVIDIA_TEGRA23_CODECS_VERSION)_armhf.tbz2
9 NVIDIA_TEGRA23_CODECS_SITE = $(NVIDIA_TEGRA23_SITE)
10 NVIDIA_TEGRA23_CODECS_LICENSE = NVIDIA(r) Tegra(r) Software License Agreement
11 NVIDIA_TEGRA23_CODECS_LICENSE_FILES = Tegra_Software_License_Agreement-Tegra-Linux-codecs.txt
12 NVIDIA_TEGRA23_CODECS_REDISTRIBUTE = NO
14 # The archive contains an archive with the firmware codecs
15 define NVIDIA_TEGRA23_CODECS_EXTRACT_CMDS
16 $(INSTALL) -d $(@D)
17 $(call suitable-extractor,$(NVIDIA_TEGRA23_CODECS_SOURCE)) \
18 $(DL_DIR)/$(NVIDIA_TEGRA23_CODECS_SOURCE) | \
19 $(TAR) --strip-components=0 -C $(@D) $(TAR_OPTIONS) -
20 $(INSTALL) -d $(@D)/restricted_codecs
21 $(call suitable-extractor,$(@D)/restricted_codecs.tbz2) \
22 $(@D)/restricted_codecs.tbz2 | \
23 $(TAR) --strip-components=0 -C $(@D)/restricted_codecs/ $(TAR_OPTIONS) -
24 endef
26 define NVIDIA_TEGRA23_CODECS_INSTALL_TARGET_CMDS
27 mkdir -p $(TARGET_DIR)/lib/firmware/
28 cp -dpfr $(@D)/restricted_codecs/lib/firmware/*.axf \
29 $(TARGET_DIR)/lib/firmware/
30 endef
32 $(eval $(generic-package))