mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
https://github.com/illiliti/libudev-zero/releases/tag/1.0.4 Removed patch which is included in this release. Added buildroot-specific PREFIX to _BUILD_CMDS to override default '/usr/local' in upstream Makefile to be compatible with the install location of usb.ids provided by the hwdata package. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
30 lines
879 B
Makefile
30 lines
879 B
Makefile
################################################################################
|
|
#
|
|
# libudev-zero
|
|
#
|
|
################################################################################
|
|
|
|
LIBUDEV_ZERO_VERSION = 1.0.4
|
|
LIBUDEV_ZERO_SITE = $(call github,illiliti,libudev-zero,$(LIBUDEV_ZERO_VERSION))
|
|
LIBUDEV_ZERO_LICENSE = ISC
|
|
LIBUDEV_ZERO_LICENSE_FILES = LICENSE
|
|
LIBUDEV_ZERO_INSTALL_STAGING = YES
|
|
LIBUDEV_ZERO_PROVIDES = libudev
|
|
|
|
define LIBUDEV_ZERO_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
|
PREFIX=/usr
|
|
endef
|
|
|
|
define LIBUDEV_ZERO_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
|
DESTDIR=$(STAGING_DIR) PREFIX=/usr install
|
|
endef
|
|
|
|
define LIBUDEV_ZERO_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
|
DESTDIR=$(TARGET_DIR) PREFIX=/usr install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|