Makefiles: nuke $(SRC_DIR)

As all builds are done from top source dir, there is no need
to have SRC_DIR.

Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Kir Kolyshkin 2017-02-22 15:15:45 -08:00 committed by Andrei Vagin
parent 0f453c18ab
commit 85b04c8bfd
17 changed files with 46 additions and 52 deletions

View file

@ -1,8 +1,8 @@
obj-y += criu.o
obj-y += $(SRC_DIR)/images/rpc.pb-c.o
obj-y += ./images/rpc.pb-c.o
ccflags-y += -iquote $(SRC_DIR)/criu/$(ARCH_DIR)/include
ccflags-y += -iquote $(SRC_DIR)/criu/include -iquote $(obj)/..
ccflags-y += -iquote $(SRC_DIR)/images
ccflags-y += -iquote criu/$(ARCH_DIR)/include
ccflags-y += -iquote criu/include
ccflags-y += -iquote images
ccflags-y += -fPIC -fno-stack-protector
ldflags-y += -z noexecstack