Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From f926559acd1beb74dc5dc9b0e414b087110a251f Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Wed, 9 Aug 2017 09:43:12 +0300
|
||||
Subject: [PATCH] Makefile: allow linker override for cross uuid test
|
||||
|
||||
The test to determine whether libuuid is installed uses the host 'ld' utility.
|
||||
This breaks when cross compiling, since target libraries are often different
|
||||
than host libraries.
|
||||
|
||||
Use $(LD) instead. This allows to easily use the cross compiler linker.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status: https://github.com/linux-nvme/nvme-cli/pull/216
|
||||
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 3f1d9aaa890d..cc74bdd6c3e6 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
CFLAGS ?= -O2 -g -Wall -Werror
|
||||
CFLAGS += -std=gnu99
|
||||
CPPFLAGS += -D_GNU_SOURCE -D__CHECK_ENDIAN__
|
||||
-LIBUUID = $(shell ld -o /dev/null -luuid >/dev/null 2>&1; echo $$?)
|
||||
+LIBUUID = $(shell $(LD) -o /dev/null -luuid >/dev/null 2>&1; echo $$?)
|
||||
NVME = nvme
|
||||
INSTALL ?= install
|
||||
DESTDIR =
|
||||
--
|
||||
2.13.2
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 c631e90dd4d411cdb618b26bc36b06706e6f1f2d3db38874bcfe48f4bc15aac4 nvme-v0.3.tar.gz
|
||||
sha256 52eb45c9ef5a529580a3f6f9e02c067695675ac01b8ab8b8e0398c62e8a8646d nvme-v1.3.tar.gz
|
||||
|
||||
17
bsp/buildroot/package/nvme/nvme.mk
Executable file → Normal file
17
bsp/buildroot/package/nvme/nvme.mk
Executable file → Normal file
@@ -4,24 +4,13 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NVME_VERSION = v0.3
|
||||
NVME_VERSION = v1.3
|
||||
NVME_SITE = $(call github,linux-nvme,nvme-cli,$(NVME_VERSION))
|
||||
NVME_LICENSE = GPLv2+
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user