mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Johannes Berg](/assets/img/avatar_default.png)
Instead of exporting the set of functions provided by glibc that are needed for hostfs_user.c, just build that into the kernel image whenever hostfs is built, and then export _those_ functions cleanly, to be independent of the libc implementation. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
13 lines
311 B
Makefile
13 lines
311 B
Makefile
#
|
|
# Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
|
|
# Licensed under the GPL
|
|
#
|
|
|
|
hostfs-objs := hostfs_kern.o
|
|
|
|
hostfs-builtin-$(CONFIG_HOSTFS) += hostfs_user.o hostfs_user_exp.o
|
|
|
|
obj-y := $(hostfs-builtin-y) $(hostfs-builtin-m)
|
|
obj-$(CONFIG_HOSTFS) += hostfs.o
|
|
|
|
include $(srctree)/arch/um/scripts/Makefile.rules
|