Skip to contentSkip to conversation

NVME Makefile update

PATCH Superseded Mamatha Inamdar 2 participants 2 messages Jan 18, 2016 Kbuild

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NVME Makefile update

Makefile cleanup: remove -Werror flag in CFLAGS

---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index d0c0ce4..003928b 100644
@@ -1,4 +1,4 @@
-CFLAGS += -std=gnu99 -O2 -g -Wall -Werror
+CFLAGS += -std=gnu99 -O2 -g -Wall
 CPPFLAGS += -I $(SRC) -D_GNU_SOURCE
 NVME = nvme
 INSTALL ?= install
#1 lore raw

PATCH 1/1 NVME Makefile update

Dear Mamatha Inamdar,

Quoted 12 lines · Mamatha Inamdar

Makefile cleanup: remove -Werror flag in CFLAGS

---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +0 -0
index d0c0ce4..003928b 100644

Makefile line 4

Quoted 5 lines
Makefile +1 -1
@@ -1,4 +1,4 @@
-CFLAGS += -std=gnu99 -O2 -g -Wall -Werror
+CFLAGS += -std=gnu99 -O2 -g -Wall
 CPPFLAGS += -I $(SRC) -D_GNU_SOURCE
 NVME = nvme
 INSTALL ?= install

This needs to be part of your patch adding the nvme package, as a file in package/nvme/.

See the numerous other examples in Buildroot.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com