mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-12 01:28:39 +00:00
tools: util-linux: use standard make install/uninstall
Instead of manually installing the binaries and removing them, we can now simply rely on standard make install/uninstall as we are only building tools we want to use. This will be especially important when we start building libraries in util-linux. Link: https://github.com/openwrt/openwrt/pull/15806 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
54115ec22d
commit
fb99a8d2e6
@ -44,12 +44,8 @@ HOST_CONFIGURE_ARGS += \
|
||||
--without-python \
|
||||
--without-cryptsetup
|
||||
|
||||
define Host/Install
|
||||
$(INSTALL_BIN) $(HOST_BUILD_DIR)/hexdump $(STAGING_DIR_HOST)/bin/
|
||||
endef
|
||||
|
||||
define Host/Uninstall
|
||||
rm -f $(STAGING_DIR_HOST)/bin/hexdump
|
||||
-$(call Host/Compile/Default,uninstall)
|
||||
endef
|
||||
|
||||
$(eval $(call HostBuild))
|
||||
|
Loading…
Reference in New Issue
Block a user