package/kbd: reorder .mk variables

We usually put the metadata variables at the beginning of the file and
the variables related to how to build it (like _CONF_OPTS) later.  Apply
this principle.

(alternative to commit 35dc65563d)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
Raphaël Mélotte
2026-10-15 14:24:10 +02:00
parent 06485a7867
commit e20d53bb75

View File

@@ -7,13 +7,16 @@
KBD_VERSION = 2.9.0
KBD_SOURCE = kbd-$(KBD_VERSION).tar.xz
KBD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kbd
KBD_CONF_OPTS = \
--disable-vlock \
--disable-tests
KBD_LICENSE = GPL-2.0+
KBD_LICENSE_FILES = COPYING CREDITS
KBD_DEPENDENCIES = \
$(TARGET_NLS_DEPENDENCIES) \
host-pkgconf
KBD_CONF_OPTS = \
--disable-vlock \
--disable-tests
# 0002-libkbdfile-Require-dlopen-and-memfd_create-for-libra.patch
# modifies configure.ac and src/libkbdfile/Makefile.am
KBD_AUTORECONF = YES
@@ -46,9 +49,6 @@ else
KBD_CONF_OPTS += --without-zstd
endif
KBD_LICENSE = GPL-2.0+
KBD_LICENSE_FILES = COPYING CREDITS
KBD_INSTALL_TARGET_OPTS = MKINSTALLDIRS=$(@D)/config/mkinstalldirs DESTDIR=$(TARGET_DIR) install
$(eval $(autotools-package))