Skip to contentSkip to conversation

package/opkg-utils: remove build step

Buildroot Peter Korsgaard 1 participant 1 message Mar 20, 2021

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=0aa06096c10221d1fb02b78d2554b63fef70bb85
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

opkg-utils is a package that only provides bash and python scripts. Upon further inspection of the Makefile for the package, invoking make only ever builds the manpage. The previous commit dropped the installation of the manpage. This makes the build step unnecessary so remove it.

Add a comment to explain the situation

[yann.morin.1998 at free.fr: reword commit log]
(cherry picked from commit 05bf014f56c0c99f08c93db7829e8fd53af3c9a8)
---
 package/opkg-utils/opkg-utils.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
package/opkg-utils/opkg-utils.mk +1 -4
index be827e6cac..a7dc22d7c4 100644
@@ -12,10 +12,7 @@ OPKG_UTILS_LICENSE_FILES = COPYING
 
 HOST_OPKG_UTILS_DEPENDENCIES += $(BR2_PYTHON3_HOST_DEPENDENCY)
 
-define HOST_OPKG_UTILS_BUILD_CMDS
-	$(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS)
-endef
-
+# Nothing to build; only scripts to install.
 define HOST_OPKG_UTILS_INSTALL_CMDS
 	$(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install-utils
 endef