[PATCH liburing 3/4] src/Makefile: honor the caller's includedir and libdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The top-level makefile passes in includedir and libdir so we should
not override them.

Signed-off-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx>
---
 src/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index 954e05e..aa93199 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
 prefix ?= /usr
-includedir=$(prefix)/include
-libdir=$(prefix)/lib
+includedir ?= $(prefix)/include
+libdir ?= $(prefix)/lib
 
 CFLAGS ?= -g -fomit-frame-pointer -O2
 override CFLAGS += -Wall -I.
-- 
2.21.0




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux