mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 21:13:00 +02:00
When running `make legal-info` Buildroot will collect source and licenses for all packages, which generates a few warnings for our local packages. Local packages are skipped. > The source code for packages that set <PKG>_REDISTRIBUTE = NO will not > be saved. Patches that were applied are also saved, along with a file > named series that lists the patches in the order they were applied. Hence, setting 'foo_REDISTRIBUTE = NO' disables the warning, which seems like a good idea to reduce the number of unnecessary questions we might otherwise get. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
24 lines
750 B
Makefile
24 lines
750 B
Makefile
################################################################################
|
|
#
|
|
# confd
|
|
#
|
|
################################################################################
|
|
|
|
CONFD_VERSION = 1.0
|
|
CONFD_SITE_METHOD = local
|
|
CONFD_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/confd
|
|
CONFD_LICENSE = BSD-3-Clause
|
|
CONFD_LICENSE_FILES = LICENSE
|
|
CONFD_REDISTRIBUTE = NO
|
|
CONFD_DEPENDENCIES = augeas jansson libite sysrepo libsrx
|
|
CONFD_AUTORECONF = YES
|
|
|
|
define CONFD_INSTALL_EXTRA
|
|
cp $(CONFD_PKGDIR)/sysrepo.conf $(FINIT_D)/available/
|
|
ln -sf ../available/sysrepo.conf $(FINIT_D)/enabled/sysrepo.conf
|
|
cp $(CONFD_PKGDIR)/tmpfiles.conf $(TARGET_DIR)/etc/tmpfiles.d/confd.conf
|
|
endef
|
|
CONFD_POST_INSTALL_TARGET_HOOKS += CONFD_INSTALL_EXTRA
|
|
|
|
$(eval $(autotools-package))
|