mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 06:13:02 +02:00
When calling `make foo-rebuild` one expects all the registered hooks in the foo package to have been called by Buildroot. The Buildroot manual has this to say about the target-finalize hook: > These hooks are run after all packages are built, but > before the filesystem images are generated. They are > seldom used, and your package probably do not need them. The correct hook to use for target packages is POST_INSTALL_TARGET_HOOK. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
20 lines
482 B
Makefile
20 lines
482 B
Makefile
################################################################################
|
|
#
|
|
# net
|
|
#
|
|
################################################################################
|
|
|
|
NET_VERSION = 1.0
|
|
NET_LICENSE = ISC
|
|
NET_SITE_METHOD = local
|
|
NET_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/net
|
|
NET_DEPENDENCIES = libite
|
|
NET_AUTORECONF = YES
|
|
|
|
define NET_INSTALL_EXTRA
|
|
chmod +x $(TARGET_DIR)/usr/share/net/*.sh
|
|
endef
|
|
NET_POST_INSTALL_TARGET_HOOKS += NET_INSTALL_EXTRA
|
|
|
|
$(eval $(autotools-package))
|