diff options
| author | Scott Mercer | 2025-03-17 03:40:13 +0000 |
|---|---|---|
| committer | Daniel Golle | 2025-03-22 13:17:26 +0000 |
| commit | 96cb1c88402aab9421f05679d7a3206d45df5835 (patch) | |
| tree | b93828e0b8559c51d69ee1485147414fb533e374 | |
| parent | 6ef0a35bb1a48f7c7daebaf8eeca877feffb47c7 (diff) | |
| download | openwrt-96cb1c88402aab9421f05679d7a3206d45df5835.tar.gz | |
uboot-tools: add stub package skeleton
Add uboot-tools stub package skeleton which will replace uboot-envtools
and also provide target-builds for other U-Boot tools.
Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
| -rw-r--r-- | package/boot/uboot-tools/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/package/boot/uboot-tools/Makefile b/package/boot/uboot-tools/Makefile new file mode 100644 index 0000000000..03917bd949 --- /dev/null +++ b/package/boot/uboot-tools/Makefile @@ -0,0 +1,49 @@ +include $(TOPDIR)/rules.mk + +PKG_DISTNAME:=u-boot +PKG_VERSION:=2025.01 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:= \ + https://ftp.denx.de/pub/u-boot \ + https://mirror.cyberbits.eu/u-boot \ + ftp://ftp.denx.de/pub/u-boot +PKG_HASH:=cdef7d507c93f1bbd9f015ea9bc21fa074268481405501945abc6f854d5b686f +PKG_SOURCE_SUBDIR:=$(PKG_DISTNAME)-$(PKG_VERSION) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_DISTNAME)-$(PKG_VERSION) + +PKG_BUILD_DEPENDS:=fstools + +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/uboot-tools + SECTION:=utils + CATEGORY:=Utilities + SUBMENU:=Boot Loaders + TITLE:=U-Boot bootloader Tools + URL:=http://www.denx.de/wiki/U-Boot +endef + +define Package/uboot-tools/description + U-Boot tools are a collection of utilities designed + to work with the U-Boot bootloader, +endef + +define Build/Configure + $(MAKE) -C $(PKG_BUILD_DIR) tools-only_defconfig + $(MAKE) -C $(PKG_BUILD_DIR) syncconfig +endef + +MAKE_FLAGS += \ + ARCH="sandbox" \ + TARGET_CFLAGS="$(TARGET_CFLAGS)" \ + TARGET_LDFLAGS="$(TARGET_LDFLAGS)" + +define Build/Compile +endef |