Initial Commit
- initial default booting image
This commit is contained in:
23
package/uuu/Config.in
Normal file
23
package/uuu/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_UUU
|
||||
bool "uuu"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR # libuuu uses wchar_t
|
||||
select BR2_PACKAGE_BZIP2
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_TINYXML2
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_ZSTD
|
||||
help
|
||||
UUU (Universal Update Utility) is Freescale/NXP I.MX Chip
|
||||
image deploy tool. UUU is an evolution of MFGTools
|
||||
(aka MFGTools v3).
|
||||
|
||||
https://github.com/nxp-imx/mfgtools
|
||||
|
||||
comment "uuu needs a toolchain w/ C++14, threads, atomic, wchar"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_ATOMIC \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
||||
18
package/uuu/Config.in.host
Normal file
18
package/uuu/Config.in.host
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_HOST_UUU
|
||||
bool "host uuu"
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb
|
||||
help
|
||||
UUU (Universal Update Utility) is Freescale/NXP I.MX Chip
|
||||
image deploy tool. UUU is an evolution of MFGTools
|
||||
(aka MFGTools v3).
|
||||
|
||||
To be able to run uuu without root privileges, execute the
|
||||
following steps:
|
||||
|
||||
sudo sh -c "uuu -udev >> /etc/udev/rules.d/70-uuu.rules"
|
||||
sudo udevadm control --reload
|
||||
|
||||
https://github.com/nxp-imx/mfgtools
|
||||
|
||||
comment "host uuu needs a toolchain w/ host gcc >= 4.9"
|
||||
depends on !BR2_HOST_GCC_AT_LEAST_4_9
|
||||
13
package/uuu/readme.txt
Normal file
13
package/uuu/readme.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
uuu Howto
|
||||
=========
|
||||
|
||||
Running uuu without root privileges
|
||||
-----------------------------------
|
||||
|
||||
Accessing USB devices on Linux requires root privileges by default.
|
||||
To be able to run uuu without root priviles, execute the following
|
||||
steps:
|
||||
|
||||
sudo sh -c "uuu -udev >> /etc/udev/rules.d/70-uuu.rules"
|
||||
sudo udevadm control --reload
|
||||
|
||||
3
package/uuu/uuu.hash
Normal file
3
package/uuu/uuu.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# locally computed
|
||||
sha256 dee3be0f337c631bf93232f5ea42440f07782ce005c9219a14731d66bbe83658 uuu_source-uuu_1.5.243.tar.gz
|
||||
sha256 cc8d47f7b9260f6669ecd41c24554c552f17581d81ee8fc602c6d23edb8bf495 LICENSE
|
||||
26
package/uuu/uuu.mk
Normal file
26
package/uuu/uuu.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# uuu
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UUU_VERSION = 1.5.243
|
||||
UUU_SOURCE = uuu_source-uuu_$(UUU_VERSION).tar.gz
|
||||
UUU_SITE = https://github.com/nxp-imx/mfgtools/releases/download/uuu_$(UUU_VERSION)
|
||||
UUU_LICENSE = BSD 3-Clause "New" or "Revised" License
|
||||
UUU_LICENSE_FILES = LICENSE
|
||||
UUU_DEPENDENCIES = bzip2 libusb openssl tinyxml2 zlib zstd
|
||||
HOST_UUU_DEPENDENCIES = \
|
||||
host-bzip2 \
|
||||
host-libusb \
|
||||
host-openssl \
|
||||
host-tinyxml2 \
|
||||
host-zlib \
|
||||
host-zstd
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
UUU_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
Reference in New Issue
Block a user