nes: kernel build infrastructure
Subsystems (3)
PATCH 14/14 nes: kernel build infrastructure
Makefile kernel build file.
Signed-off-by Glenn Grundstrom <[email protected]>
---
drivers/infiniband/hw/nes/Makefile renamed from NULL +10 -0
@@ -0,0 +1,10 @@ +ifdef CONFIG_INFINIBAND_NES_DEBUG +EXTRA_CFLAGS += -DNES_DEBUG +endif + +EXTRA_CFLAGS += -DNES_MINICM + +obj-$(CONFIG_INFINIBAND_NES) += iw_nes.o + +iw_nes-objs := nes.o nes_hw.o nes_nic.o nes_utils.o nes_verbs.o nes_cm.o +
drivers/infiniband/hw/nes/Makefile line 3
Quoted 3 lines
drivers/infiniband/hw/nes/Makefile renamed from NULL +3
-0+ifdef CONFIG_INFINIBAND_NES_DEBUG +EXTRA_CFLAGS += -DNES_DEBUG +endif
I would just use the CONFIG_INFINIBAND_NES_DEBUG symbol directly in your code.
Quoted 1 line
+EXTRA_CFLAGS += -DNES_MINICM
If you're defining this unconditionally, can you just get rid of all the tests of this symbol?
- R.