[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 8/9] lib: move bsearch code
Build this code into an archive, which results in not linking it into x86 final binaries. This saves a little bit of dead code. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/common/Makefile | 1 - xen/lib/Makefile | 1 + xen/{common => lib}/bsearch.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename xen/{common => lib}/bsearch.c (100%) diff --git a/xen/common/Makefile b/xen/common/Makefile index 46406dccdfd4..149466b473a8 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -1,6 +1,5 @@ obj-$(CONFIG_ARGO) += argo.o obj-y += bitmap.o -obj-y += bsearch.o obj-$(CONFIG_HYPFS_CONFIG) += config_data.o obj-$(CONFIG_CORE_PARKING) += core_parking.o obj-y += cpu.o diff --git a/xen/lib/Makefile b/xen/lib/Makefile index b469d2dff7b8..122eeb3d327b 100644 --- a/xen/lib/Makefile +++ b/xen/lib/Makefile @@ -1,6 +1,7 @@ obj-y += ctors.o obj-$(CONFIG_X86) += x86/ +lib-y += bsearch.o lib-y += ctype.o lib-y += list-sort.o lib-y += parse-size.o diff --git a/xen/common/bsearch.c b/xen/lib/bsearch.c similarity index 100% rename from xen/common/bsearch.c rename to xen/lib/bsearch.c -- 2.22.0
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |