mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
package/tbtools: install bash completion files and scripts
Add hooks to install the bash completion files and scripts provided by the package. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f525186541
commit
1ceb7b9711
@ -10,4 +10,16 @@ TBTOOLS_LICENSE = MIT
|
||||
TBTOOLS_LICENSE_FILES = LICENSE
|
||||
TBTOOLS_DEPENDENCIES = udev
|
||||
|
||||
define TBTOOLS_INSTALL_SCRIPTS
|
||||
$(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr install-scripts
|
||||
endef
|
||||
TBTOOLS_POST_INSTALL_TARGET_HOOKS += TBTOOLS_INSTALL_SCRIPTS
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
||||
define TBTOOLS_INSTALL_COMPLETION
|
||||
$(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr install-completion
|
||||
endef
|
||||
TBTOOLS_POST_INSTALL_TARGET_HOOKS += TBTOOLS_INSTALL_COMPLETION
|
||||
endif
|
||||
|
||||
$(eval $(cargo-package))
|
||||
|
Loading…
Reference in New Issue
Block a user