Commit 3ab787db authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

make: Use relative pathes where possible

We're building project from toplevel directory so
no need for absolute paths.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ecf73756
...@@ -55,11 +55,11 @@ ifeq ($(ARCH),arm) ...@@ -55,11 +55,11 @@ ifeq ($(ARCH),arm)
endif endif
SRC_DIR ?= $(CURDIR) SRC_DIR ?= $(CURDIR)
ARCH_DIR := $(SRC_DIR)/arch/$(ARCH) ARCH_DIR := arch/$(ARCH)
$(if $(wildcard $(ARCH_DIR)),,$(error "The architecture $(ARCH) isn't supported")) $(if $(wildcard $(ARCH_DIR)),,$(error "The architecture $(ARCH) isn't supported"))
CFLAGS += -I$(SRC_DIR)/include -I$(SRC_DIR)/pie -I$(ARCH_DIR) -I$(SRC_DIR) CFLAGS += -Iinclude -Ipie -I. -I$(ARCH_DIR)
CFLAGS += -iquote $(ARCH_DIR)/include -fno-strict-aliasing CFLAGS += -iquote $(ARCH_DIR)/include -fno-strict-aliasing
LIBS := -lrt -lpthread -lprotobuf-c LIBS := -lrt -lpthread -lprotobuf-c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment