diff options
author | Markus Volk <f_L_K@t-online.de> | 2023-04-01 05:08:43 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-04-01 06:09:47 -0700 |
commit | 55489e5d10ed735ad96bb86db47c8e1fda3c5850 (patch) | |
tree | 54bf83c878da63867cd5002695ee9fbf5c3b0dd7 /meta-multimedia/recipes-multimedia/nv-codec-headers | |
parent | 9937ffa5d2ae3af7377958405f0dc3720a749028 (diff) | |
download | meta-openembedded-55489e5d10ed735ad96bb86db47c8e1fda3c5850.tar.gz |
nv-codec-headers: add clean target to Makefile
next try to fix an error on rebuilds:
| NOTE: make clean
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| make: *** No rule to make target 'clean'. Stop.
Signed-off-by: Markus Volk <f_L_K@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/nv-codec-headers')
2 files changed, 29 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers/0001-Makefile-add-clean-target.patch b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers/0001-Makefile-add-clean-target.patch new file mode 100644 index 000000000..7ae749bed --- /dev/null +++ b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers/0001-Makefile-add-clean-target.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From 3b74181d626f7dedb47377450ca7c43457a66cda Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_L_K@t-online.de> | ||
3 | Date: Sat, 1 Apr 2023 04:42:32 +0200 | ||
4 | Subject: [PATCH] Makefile: add clean target | ||
5 | |||
6 | --- | ||
7 | Makefile | 4 +++- | ||
8 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/Makefile b/Makefile | ||
11 | index a51c2c9..fbe2aec 100644 | ||
12 | --- a/Makefile | ||
13 | +++ b/Makefile | ||
14 | @@ -19,5 +19,7 @@ install: all | ||
15 | uninstall: | ||
16 | rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec' '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/ffnvcodec.pc' | ||
17 | |||
18 | -.PHONY: all install uninstall | ||
19 | +clean: uninstall | ||
20 | + | ||
21 | +.PHONY: all clean install uninstall | ||
22 | |||
23 | -- | ||
24 | 2.34.1 | ||
25 | |||
diff --git a/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb index 411c40616..5ef7ead81 100644 --- a/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb +++ b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb | |||
@@ -3,7 +3,10 @@ HOMEPAGE = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://${S}/include/ffnvcodec/dynlink_cuda.h;beginline=1;endline=26;md5=bb54a418154445b0aa99e15f640eacf4" | 4 | LIC_FILES_CHKSUM = "file://${S}/include/ffnvcodec/dynlink_cuda.h;beginline=1;endline=26;md5=bb54a418154445b0aa99e15f640eacf4" |
5 | 5 | ||
6 | SRC_URI = "git://git.videolan.org/git/ffmpeg/nv-codec-headers.git;branch=master;protocol=https" | 6 | SRC_URI = " \ |
7 | git://git.videolan.org/git/ffmpeg/nv-codec-headers.git;branch=master;protocol=https \ | ||
8 | file://0001-Makefile-add-clean-target.patch \ | ||
9 | " | ||
7 | SRCREV = "c5e4af74850a616c42d39ed45b9b8568b71bf8bf" | 10 | SRCREV = "c5e4af74850a616c42d39ed45b9b8568b71bf8bf" |
8 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
9 | 12 | ||