diff --git a/package/nvme/nvme.mk b/package/nvme/nvme.mk index 27fbde2158..8eab1dacfa 100644 --- a/package/nvme/nvme.mk +++ b/package/nvme/nvme.mk @@ -9,19 +9,8 @@ NVME_SITE = $(call github,linux-nvme,nvme-cli,$(NVME_VERSION)) NVME_LICENSE = GPL-2.0+ NVME_LICENSE_FILES = LICENSE -# Yes LIBUDEV=0 means udev support enabled, LIBUDEV=1 means udev -# support disabled. -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -NVME_DEPENDENCIES += udev -NVME_MAKE_OPTS += LIBUDEV=0 -else -NVME_MAKE_OPTS += LIBUDEV=1 -endif - -# LIBUDEV=1 means that libudev is _disabled_ define NVME_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ - $(NVME_MAKE_OPTS) -C $(@D) + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) endef define NVME_INSTALL_TARGET_CMDS