mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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:
parent
0f453c18ab
commit
85b04c8bfd
17 changed files with 46 additions and 52 deletions
|
|
@ -1,6 +1,6 @@
|
|||
include $(__nmk_dir)utils.mk
|
||||
include $(__nmk_dir)msg.mk
|
||||
include $(SRC_DIR)/scripts/feature-tests.mak
|
||||
include scripts/feature-tests.mak
|
||||
|
||||
ifeq ($(call try-cc,$(FEATURE_TEST_LIBBSD_DEV),-lbsd),true)
|
||||
LIBS_FEATURES += -lbsd
|
||||
|
|
@ -14,7 +14,7 @@ endif
|
|||
|
||||
export LIBS += $(LIBS_FEATURES)
|
||||
|
||||
CONFIG_FILE = $(SRC_DIR)/.config
|
||||
CONFIG_FILE = .config
|
||||
|
||||
$(CONFIG_FILE):
|
||||
touch $(CONFIG_FILE)
|
||||
|
|
@ -42,7 +42,7 @@ endif
|
|||
endef
|
||||
|
||||
define config-header-rule
|
||||
$(CONFIG_HEADER): $(SRC_DIR)/scripts/feature-tests.mak $(CONFIG_FILE)
|
||||
$(CONFIG_HEADER): scripts/feature-tests.mak $(CONFIG_FILE)
|
||||
$$(call msg-gen, $$@)
|
||||
$(Q) @echo '#ifndef __CR_CONFIG_H__' > $$@
|
||||
$(Q) @echo '#define __CR_CONFIG_H__' >> $$@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue