Page 1 of 1

Adding mbutil library in Buildroot

Posted: 2025-07-29 9:36
by Infitechlab1
hello,
i have luckfox pico ultra w with buildroot running on it. i want to add mbutil tools/package externally in buildroot. i have tried following steps to add but still not seeing entry in buildrootconfig:
1)mkdir mbutil in package
2)add Config.in and mbutil.mk file
then it should be make entry in buildroot config menu to enable but it has not.

Code: Select all

Config.in
config BR2_PACKAGE_MBUTIL
    bool "mbutil"
    depends on BR2_PACKAGE_PYTHON3
    help
      Install mbutil (Mapbox MBTiles utility)
    source "package/mbutil/Config.in"

Code: Select all

mbutil.mk
MBUTIL_VERSION = master
MBUTIL_SITE = https://github.com/mapbox/mbutil.git
MBUTIL_SITE_METHOD = git

define MBUTIL_INSTALL_TARGET_CMDS
	$(INSTALL) -D -m 0755 $(@D)/mb-util $(TARGET_DIR)/usr/bin/mb-util
endef

$(eval $(generic-package))
can you please share following:
1)how to add packages externally
2)any limitation to add
3)any reference or steps to add libraries

Thank you !

Re: Adding mbutil library in Buildroot

Posted: 2025-08-26 2:28
by Crocodile
Hello, the functions you need to complete fall under the development scope of Buildroot. If you have any related questions, it is recommended to consult the Buildroot community. You can also refer to the Buildroot secondary development guide provided by Rockchip (some contents are only applicable to the SDK of RKxx series chips and are not applicable to the SDK of Luckfox Pico RV1103/RV1106).
Downloaded 1067 times