Message ID | 20230919193514.18212-1-kazemi.ms@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/mxt-app: new package | expand |
On 19/09/2023 21:35, kazemi.ms@gmail.com wrote: > From: Saeed Kazemi <kazemi.ms@gmail.com> > > mxt-app is a utility for managing Atmel maXTouch touch controllers > and other devices that support Atmel Object Based Protocol. > > Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com> Applied to master, thanks. Regards, Arnout > --- > DEVELOPERS | 3 +++ > package/Config.in | 1 + > package/mxt-app/Config.in | 20 ++++++++++++++++++++ > package/mxt-app/mxt-app.hash | 3 +++ > package/mxt-app/mxt-app.mk | 19 +++++++++++++++++++ > 5 files changed, 46 insertions(+) > create mode 100644 package/mxt-app/Config.in > create mode 100644 package/mxt-app/mxt-app.hash > create mode 100644 package/mxt-app/mxt-app.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index e8b78a8d46..19d637d847 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2604,6 +2604,9 @@ F: package/agent-proxy/ > N: Ryan Wilkins <ryan@deadfrog.net> > F: package/biosdevname/ > > +N: Saeed Kazemi <kazemi.ms@gmail.com> > +F: package/mxt-app/ > + > N: Sam Lancia <sam@gpsm.co.uk> > F: package/lrzip/ > > diff --git a/package/Config.in b/package/Config.in > index e8dbadadf3..e8d39b74b8 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -556,6 +556,7 @@ endmenu > source "package/mhz/Config.in" > source "package/minicom/Config.in" > source "package/msr-tools/Config.in" > + source "package/mxt-app/Config.in" > source "package/nanocom/Config.in" > source "package/neard/Config.in" > source "package/nvidia-driver/Config.in" > diff --git a/package/mxt-app/Config.in b/package/mxt-app/Config.in > new file mode 100644 > index 0000000000..2b153901de > --- /dev/null > +++ b/package/mxt-app/Config.in > @@ -0,0 +1,20 @@ > +config BR2_PACKAGE_MXT_APP > + bool "mxt-app" > + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb > + select BR2_PACKAGE_LIBUSB > + help > + mxt-app is a utility for managing Atmel maXTouch touch > + controllers and other devices that support Atmel Object Based > + Protocol. > + > + https://github.com/atmel-maxtouch/mxt-app/ > + > +config BR2_PACKAGE_MXT_APP_DEBUG > + bool "mxt-app debugging" > + help > + Compile mxt-app with debug enabled > + > +comment "mxt-app needs a toolchain w/ threads, gcc >= 4.9" > + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 > diff --git a/package/mxt-app/mxt-app.hash b/package/mxt-app/mxt-app.hash > new file mode 100644 > index 0000000000..b7851cea37 > --- /dev/null > +++ b/package/mxt-app/mxt-app.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 3639720ae1ea033bd982d68c5cab84432ce046fe14a66d9b2de07f115b642722 mxt-app-1.36.tar.gz > +sha256 3682b125a40a4da00b6ab69bdbd38c25ed4beae69b3fe32458d2e32638477c4c LICENSE > diff --git a/package/mxt-app/mxt-app.mk b/package/mxt-app/mxt-app.mk > new file mode 100644 > index 0000000000..da0aa65328 > --- /dev/null > +++ b/package/mxt-app/mxt-app.mk > @@ -0,0 +1,19 @@ > +################################################################################ > +# > +# mxt-app > +# > +################################################################################ > + > +MXT_APP_VERSION = 1.36 > +MXT_APP_SITE = $(call github,atmel-maxtouch,mxt-app,v$(MXT_APP_VERSION)) > +MXT_APP_LICENSE = BSD-2-Clause > +MXT_APP_LICENSE_FILES = LICENSE > +MXT_APP_DEPENDENCIES = libusb > +MXT_APP_INSTALL_STAGING = YES > +MXT_APP_AUTORECONF = YES > + > +ifeq ($(BR2_PACKAGE_MXT_APP_DEBUG),y) > +MXT_APP_CONF_OPTS += --enable-debug > +endif > + > +$(eval $(autotools-package))
On 12/07/2024 22:48, Arnout Vandecappelle wrote: > > > On 19/09/2023 21:35, kazemi.ms@gmail.com wrote: >> From: Saeed Kazemi <kazemi.ms@gmail.com> >> >> mxt-app is a utility for managing Atmel maXTouch touch controllers >> and other devices that support Atmel Object Based Protocol. >> >> Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com> > > Applied to master, thanks. Forgot to mention the changes I still made: - drop BR2_PACKAGE_MXT_APP_DEBUG option, instead use BR2_ENABLE_RUNTIME_DEBUG; - also explicitly disable debug; - add comment to explain AUTORECONF. Regards, Arnout > > Regards, > Arnout > >> --- >> DEVELOPERS | 3 +++ >> package/Config.in | 1 + >> package/mxt-app/Config.in | 20 ++++++++++++++++++++ >> package/mxt-app/mxt-app.hash | 3 +++ >> package/mxt-app/mxt-app.mk | 19 +++++++++++++++++++ >> 5 files changed, 46 insertions(+) >> create mode 100644 package/mxt-app/Config.in >> create mode 100644 package/mxt-app/mxt-app.hash >> create mode 100644 package/mxt-app/mxt-app.mk >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index e8b78a8d46..19d637d847 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -2604,6 +2604,9 @@ F: package/agent-proxy/ >> N: Ryan Wilkins <ryan@deadfrog.net> >> F: package/biosdevname/ >> +N: Saeed Kazemi <kazemi.ms@gmail.com> >> +F: package/mxt-app/ >> + >> N: Sam Lancia <sam@gpsm.co.uk> >> F: package/lrzip/ >> diff --git a/package/Config.in b/package/Config.in >> index e8dbadadf3..e8d39b74b8 100644 >> --- a/package/Config.in >> +++ b/package/Config.in >> @@ -556,6 +556,7 @@ endmenu >> source "package/mhz/Config.in" >> source "package/minicom/Config.in" >> source "package/msr-tools/Config.in" >> + source "package/mxt-app/Config.in" >> source "package/nanocom/Config.in" >> source "package/neard/Config.in" >> source "package/nvidia-driver/Config.in" >> diff --git a/package/mxt-app/Config.in b/package/mxt-app/Config.in >> new file mode 100644 >> index 0000000000..2b153901de >> --- /dev/null >> +++ b/package/mxt-app/Config.in >> @@ -0,0 +1,20 @@ >> +config BR2_PACKAGE_MXT_APP >> + bool "mxt-app" >> + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb >> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb >> + select BR2_PACKAGE_LIBUSB >> + help >> + mxt-app is a utility for managing Atmel maXTouch touch >> + controllers and other devices that support Atmel Object Based >> + Protocol. >> + >> + https://github.com/atmel-maxtouch/mxt-app/ >> + >> +config BR2_PACKAGE_MXT_APP_DEBUG >> + bool "mxt-app debugging" >> + help >> + Compile mxt-app with debug enabled >> + >> +comment "mxt-app needs a toolchain w/ threads, gcc >= 4.9" >> + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ >> + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 >> diff --git a/package/mxt-app/mxt-app.hash b/package/mxt-app/mxt-app.hash >> new file mode 100644 >> index 0000000000..b7851cea37 >> --- /dev/null >> +++ b/package/mxt-app/mxt-app.hash >> @@ -0,0 +1,3 @@ >> +# Locally calculated >> +sha256 3639720ae1ea033bd982d68c5cab84432ce046fe14a66d9b2de07f115b642722 >> mxt-app-1.36.tar.gz >> +sha256 3682b125a40a4da00b6ab69bdbd38c25ed4beae69b3fe32458d2e32638477c4c LICENSE >> diff --git a/package/mxt-app/mxt-app.mk b/package/mxt-app/mxt-app.mk >> new file mode 100644 >> index 0000000000..da0aa65328 >> --- /dev/null >> +++ b/package/mxt-app/mxt-app.mk >> @@ -0,0 +1,19 @@ >> +################################################################################ >> >> +# >> +# mxt-app >> +# >> +################################################################################ >> >> + >> +MXT_APP_VERSION = 1.36 >> +MXT_APP_SITE = $(call github,atmel-maxtouch,mxt-app,v$(MXT_APP_VERSION)) >> +MXT_APP_LICENSE = BSD-2-Clause >> +MXT_APP_LICENSE_FILES = LICENSE >> +MXT_APP_DEPENDENCIES = libusb >> +MXT_APP_INSTALL_STAGING = YES >> +MXT_APP_AUTORECONF = YES >> + >> +ifeq ($(BR2_PACKAGE_MXT_APP_DEBUG),y) >> +MXT_APP_CONF_OPTS += --enable-debug >> +endif >> + >> +$(eval $(autotools-package))
diff --git a/DEVELOPERS b/DEVELOPERS index e8b78a8d46..19d637d847 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2604,6 +2604,9 @@ F: package/agent-proxy/ N: Ryan Wilkins <ryan@deadfrog.net> F: package/biosdevname/ +N: Saeed Kazemi <kazemi.ms@gmail.com> +F: package/mxt-app/ + N: Sam Lancia <sam@gpsm.co.uk> F: package/lrzip/ diff --git a/package/Config.in b/package/Config.in index e8dbadadf3..e8d39b74b8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -556,6 +556,7 @@ endmenu source "package/mhz/Config.in" source "package/minicom/Config.in" source "package/msr-tools/Config.in" + source "package/mxt-app/Config.in" source "package/nanocom/Config.in" source "package/neard/Config.in" source "package/nvidia-driver/Config.in" diff --git a/package/mxt-app/Config.in b/package/mxt-app/Config.in new file mode 100644 index 0000000000..2b153901de --- /dev/null +++ b/package/mxt-app/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_MXT_APP + bool "mxt-app" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + mxt-app is a utility for managing Atmel maXTouch touch + controllers and other devices that support Atmel Object Based + Protocol. + + https://github.com/atmel-maxtouch/mxt-app/ + +config BR2_PACKAGE_MXT_APP_DEBUG + bool "mxt-app debugging" + help + Compile mxt-app with debug enabled + +comment "mxt-app needs a toolchain w/ threads, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/mxt-app/mxt-app.hash b/package/mxt-app/mxt-app.hash new file mode 100644 index 0000000000..b7851cea37 --- /dev/null +++ b/package/mxt-app/mxt-app.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 3639720ae1ea033bd982d68c5cab84432ce046fe14a66d9b2de07f115b642722 mxt-app-1.36.tar.gz +sha256 3682b125a40a4da00b6ab69bdbd38c25ed4beae69b3fe32458d2e32638477c4c LICENSE diff --git a/package/mxt-app/mxt-app.mk b/package/mxt-app/mxt-app.mk new file mode 100644 index 0000000000..da0aa65328 --- /dev/null +++ b/package/mxt-app/mxt-app.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# mxt-app +# +################################################################################ + +MXT_APP_VERSION = 1.36 +MXT_APP_SITE = $(call github,atmel-maxtouch,mxt-app,v$(MXT_APP_VERSION)) +MXT_APP_LICENSE = BSD-2-Clause +MXT_APP_LICENSE_FILES = LICENSE +MXT_APP_DEPENDENCIES = libusb +MXT_APP_INSTALL_STAGING = YES +MXT_APP_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_MXT_APP_DEBUG),y) +MXT_APP_CONF_OPTS += --enable-debug +endif + +$(eval $(autotools-package))