mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
c/s4664034cdreplaced a glob over include/*.h with an expectation that LIBHEADER was suitably set for libraries which didn't have a single, consistently named, header file. This wasn't true for xentoolcore, which lost xentoolcore_internal.h as a consequence, and failed an API/ABI check vs 4.14 Fixes:4664034cd("tools/libs: move official headers to common directory") Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Juergen Gross <jgross@suse.com> Release-Acked-by: Ian Jackson <iwj@xenproject.org>
22 lines
601 B
Makefile
22 lines
601 B
Makefile
XEN_ROOT = $(CURDIR)/../../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
MAJOR = 1
|
|
MINOR = 0
|
|
AUTOINCS := $(XEN_INCLUDE)/_xentoolcore_list.h
|
|
|
|
LIBHEADER := xentoolcore.h xentoolcore_internal.h
|
|
|
|
SRCS-y += handlereg.c
|
|
|
|
include $(XEN_ROOT)/tools/libs/libs.mk
|
|
|
|
PKG_CONFIG_DESC := Central support for Xen Hypervisor userland libraries
|
|
|
|
$(LIB_OBJS): $(AUTOINCS)
|
|
$(PIC_OBJS): $(AUTOINCS)
|
|
|
|
$(XEN_INCLUDE)/_xentoolcore_list.h: $(XEN_INCLUDE)/xen-external/bsd-sys-queue-h-seddery $(XEN_INCLUDE)/xen-external/bsd-sys-queue.h
|
|
$(PERL) $^ --prefix=xentoolcore >$(notdir $@).new
|
|
$(call move-if-changed,$(notdir $@).new,$@)
|