* [Buildroot] [PATCH 1/1] package/umtprd: bump to version 1.6.8
@ 2024-08-26 11:47 Paul Cercueil
2024-08-27 16:39 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Paul Cercueil @ 2024-08-26 11:47 UTC (permalink / raw)
To: buildroot; +Cc: Paul Cercueil
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>
---
.../0001-Fix-output_dir-make-dependency.patch | 46 -------------------
package/umtprd/umtprd.hash | 2 +-
package/umtprd/umtprd.mk | 4 +-
3 files changed, 3 insertions(+), 49 deletions(-)
delete mode 100644 package/umtprd/0001-Fix-output_dir-make-dependency.patch
diff --git a/package/umtprd/0001-Fix-output_dir-make-dependency.patch b/package/umtprd/0001-Fix-output_dir-make-dependency.patch
deleted file mode 100644
index fcbca6b000..0000000000
--- a/package/umtprd/0001-Fix-output_dir-make-dependency.patch
+++ /dev/null
@@ -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
-
diff --git a/package/umtprd/umtprd.hash b/package/umtprd/umtprd.hash
index 7cd75619ab..f682dd6d84 100644
--- a/package/umtprd/umtprd.hash
+++ b/package/umtprd/umtprd.hash
@@ -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
diff --git a/package/umtprd/umtprd.mk b/package/umtprd/umtprd.mk
index c5e0ee512e..1f1f6bcd23 100644
--- a/package/umtprd/umtprd.mk
+++ b/package/umtprd/umtprd.mk
@@ -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
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/umtprd: bump to version 1.6.8
2024-08-26 11:47 [Buildroot] [PATCH 1/1] package/umtprd: bump to version 1.6.8 Paul Cercueil
@ 2024-08-27 16:39 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-27 16:39 UTC (permalink / raw)
To: Paul Cercueil; +Cc: buildroot
On Mon, 26 Aug 2024 13:47:57 +0200
Paul Cercueil <paul@crapouillou.net> wrote:
> 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>
> ---
> .../0001-Fix-output_dir-make-dependency.patch | 46 -------------------
> package/umtprd/umtprd.hash | 2 +-
> package/umtprd/umtprd.mk | 4 +-
> 3 files changed, 3 insertions(+), 49 deletions(-)
> delete mode 100644 package/umtprd/0001-Fix-output_dir-make-dependency.patch
A small update was missing in the .checkpackageignore file, now that
the patch is gone. I fixed that up and applied to next. Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-27 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26 11:47 [Buildroot] [PATCH 1/1] package/umtprd: bump to version 1.6.8 Paul Cercueil
2024-08-27 16:39 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.