mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Some libs' Makefile aren't loading the dependencies files *.d2.
We can load them from "libs.mk" as none of the Makefile here are
changing $(DEPS) or $(DEPS_INCLUDE) so it is fine to move the
"include" to "libs.mk".
As a little improvement, don't load the dependencies files (and thus
avoid regenerating the *.d2 files) during `make clean`.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
master commit: e62cc29f9b
master date: 2022-02-08 11:15:53 +0000
20 lines
293 B
Makefile
20 lines
293 B
Makefile
XEN_ROOT = $(CURDIR)/../../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
CFLAGS += $(CFLAGS_libxenctrl)
|
|
|
|
LIBHEADER := libxenvchan.h
|
|
|
|
SRCS-y += init.c
|
|
SRCS-y += io.c
|
|
|
|
NO_HEADERS_CHK := y
|
|
|
|
include $(XEN_ROOT)/tools/libs/libs.mk
|
|
|
|
clean: cleanlocal
|
|
|
|
.PHONY: cleanlocal
|
|
cleanlocal:
|
|
rm -f libxenvchan.map
|