mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/umtprd: bump to version 1.6.8
https://github.com/viveris/uMTP-Responder/blob/umtprd-1.6.8/Release-notes.txt Drop the patch 0001-Fix-output_dir-make-dependency.patch which is not needed anymore. Swap "$(MAKE) $(TARGET_CONFIGURE_OPTS)" to "$(TARGET_CONFIGURE_OPTS) $(MAKE)", otherwise the package does not build. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
bd29f403d8
commit
89c04d7e12
@@ -1296,7 +1296,6 @@ package/uemacs/01-clear-ixon-termios-flag.patch lib_patch.Upstream
|
||||
package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch lib_patch.Upstream
|
||||
package/uhttpd/0001-Remove-Werror.patch lib_patch.Upstream
|
||||
package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch lib_patch.Upstream
|
||||
package/umtprd/0001-Fix-output_dir-make-dependency.patch lib_patch.Upstream
|
||||
package/unbound/S70unbound Shellcheck
|
||||
package/unifdef/0001-Makefile-fix-error-on-install.patch lib_patch.Upstream
|
||||
package/unscd/S46unscd Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
From d84216a678edaca81c0899318231cdcca2100d38 Mon Sep 17 00:00:00 2001
|
||||
From: James Hilliard <james.hilliard1@gmail.com>
|
||||
Date: Mon, 17 Oct 2022 16:39:56 -0600
|
||||
Subject: [PATCH] Fix output_dir make dependency
|
||||
|
||||
Object file targets need to depend on the output_dir target.
|
||||
|
||||
Fixes:
|
||||
make --shuffle=reverse -j1
|
||||
cc -o obj/mtp_op_truncateobject.o src/mtp_operations/mtp_op_truncateobject.c -c -I./inc -lpthread -Wall -O3
|
||||
Assembler messages:
|
||||
Fatal error: can't create obj/mtp_op_truncateobject.o: No such file or directory
|
||||
make: *** [Makefile:19: obj/mtp_op_truncateobject.o] Error 1 shuffle=reverse
|
||||
|
||||
[paul@crapouillou.net: Backport from upstream commit d84216a]
|
||||
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
|
||||
---
|
||||
Makefile | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 7c98b63..c28e186 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -7,15 +7,15 @@ objects := $(sources:src/%.c=obj/%.o)
|
||||
ops_sources := $(wildcard src/mtp_operations/*.c)
|
||||
ops_objects := $(ops_sources:src/mtp_operations/%.c=obj/%.o)
|
||||
|
||||
-all: output_dir umtprd
|
||||
+all: umtprd
|
||||
|
||||
umtprd: $(objects) $(ops_objects)
|
||||
${CC} -o $@ $^ $(LDFLAGS) -lpthread
|
||||
|
||||
-$(objects): obj/%.o: src/%.c
|
||||
+$(objects): obj/%.o: src/%.c | output_dir
|
||||
${CC} -o $@ $^ -c $(CPPFLAGS) $(CFLAGS)
|
||||
|
||||
-$(ops_objects): obj/%.o: src/mtp_operations/%.c
|
||||
+$(ops_objects): obj/%.o: src/mtp_operations/%.c | output_dir
|
||||
${CC} -o $@ $^ -c $(CPPFLAGS) $(CFLAGS)
|
||||
|
||||
output_dir:
|
||||
--
|
||||
2.35.1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 1de40511c1dd4618719cff2058dfe68a595f1b9284c80afa89d6d1a1c80aec29 umtprd-1.6.2.tar.gz
|
||||
sha256 e0b3c308016595a5d956eaaa086d3bfe4c9af2270857181695338df9affb3574 umtprd-1.6.8.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UMTPRD_VERSION = 1.6.2
|
||||
UMTPRD_VERSION = 1.6.8
|
||||
UMTPRD_SITE = https://github.com/viveris/uMTP-Responder/archive
|
||||
UMTPRD_LICENSE = GPL-3.0+
|
||||
UMTPRD_LICENSE_FILES = LICENSE
|
||||
|
||||
define UMTPRD_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define UMTPRD_INSTALL_TARGET_CMDS
|
||||
|
||||
Reference in New Issue
Block a user