mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
46
package/umtprd/0001-Fix-output_dir-make-dependency.patch
Normal file
46
package/umtprd/0001-Fix-output_dir-make-dependency.patch
Normal file
@@ -0,0 +1,46 @@
|
||||
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,38 +0,0 @@
|
||||
From b6eccf2160fd16405542249c62a87aff2fbfcd33 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jean-Fran=C3=A7ois=20DEL=20NERO?=
|
||||
<jeanfrancoisdelnero@free.fr>
|
||||
Date: Sat, 16 May 2020 09:37:40 +0200
|
||||
Subject: [PATCH] Fix the missing definitions build errors/warnings on some
|
||||
systems.
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/viveris/uMTP-Responder/commit/b6eccf2160fd16405542249c62a87aff2fbfcd33]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
src/usb_gadget.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/usb_gadget.c b/src/usb_gadget.c
|
||||
index 856bb53..9f3896f 100644
|
||||
--- a/src/usb_gadget.c
|
||||
+++ b/src/usb_gadget.c
|
||||
@@ -27,7 +27,10 @@
|
||||
|
||||
#include "buildconf.h"
|
||||
|
||||
+#include <endian.h>
|
||||
#include <inttypes.h>
|
||||
+#include <pthread.h>
|
||||
+#include <sys/time.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
@@ -38,7 +41,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
-#include <pthread.h>
|
||||
+
|
||||
#include <signal.h>
|
||||
|
||||
#include <errno.h>
|
||||
@@ -1,78 +0,0 @@
|
||||
From 2e7aaf0c373a0e3a271f4b374bd98de8a80aefb0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jean-Fran=C3=A7ois=20DEL=20NERO?=
|
||||
<jeanfrancoisdelnero@free.fr>
|
||||
Date: Sat, 16 May 2020 09:20:01 +0200
|
||||
Subject: [PATCH] Fix the pthread missing definition build error on some
|
||||
systems.
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/viveris/uMTP-Responder/commit/2e7aaf0c373a0e3a271f4b374bd98de8a80aefb0]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
src/fs_handles_db.c | 1 +
|
||||
src/mtp_cfg.c | 1 +
|
||||
src/mtp_datasets.c | 1 +
|
||||
src/mtp_operations/mtp_op_sendobject.c | 1 +
|
||||
src/mtp_properties.c | 1 +
|
||||
5 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/fs_handles_db.c b/src/fs_handles_db.c
|
||||
index a91268a..178bd90 100644
|
||||
--- a/src/fs_handles_db.c
|
||||
+++ b/src/fs_handles_db.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "buildconf.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
+#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
diff --git a/src/mtp_cfg.c b/src/mtp_cfg.c
|
||||
index 30f473a..1f2302d 100644
|
||||
--- a/src/mtp_cfg.c
|
||||
+++ b/src/mtp_cfg.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "buildconf.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
+#include <pthread.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
diff --git a/src/mtp_datasets.c b/src/mtp_datasets.c
|
||||
index 95cec68..fbd67e2 100644
|
||||
--- a/src/mtp_datasets.c
|
||||
+++ b/src/mtp_datasets.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "buildconf.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
+#include <pthread.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/statvfs.h>
|
||||
diff --git a/src/mtp_operations/mtp_op_sendobject.c b/src/mtp_operations/mtp_op_sendobject.c
|
||||
index 8af2c6b..8e1498c 100644
|
||||
--- a/src/mtp_operations/mtp_op_sendobject.c
|
||||
+++ b/src/mtp_operations/mtp_op_sendobject.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "buildconf.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
+#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
diff --git a/src/mtp_properties.c b/src/mtp_properties.c
|
||||
index 4500cd4..5cf6e2d 100644
|
||||
--- a/src/mtp_properties.c
|
||||
+++ b/src/mtp_properties.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "buildconf.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
+#include <pthread.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 5f6f9f2882597cd3767b12b0814fdfa27c0cb18ce32e3082176f9658be167a27 umtprd-1.3.6.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE
|
||||
sha256 1de40511c1dd4618719cff2058dfe68a595f1b9284c80afa89d6d1a1c80aec29 umtprd-1.6.2.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UMTPRD_VERSION = 1.3.6
|
||||
UMTPRD_VERSION = 1.6.2
|
||||
UMTPRD_SITE = https://github.com/viveris/uMTP-Responder/archive
|
||||
UMTPRD_LICENSE = GPL-3.0+
|
||||
UMTPRD_LICENSE_FILES = LICENSE
|
||||
|
||||
Reference in New Issue
Block a user