libc: export LIBC_REP_DIR in libc-common.inc

This information is useful if 'libc-common.inc' is included from
another repository, i.e., for building stripped-down libc variants
tailored to an individual application.
This commit is contained in:
Norman Feske 2013-08-23 12:42:59 +02:00 committed by Christian Helmuth
parent 4aef209c8b
commit e02d643420

View File

@ -5,6 +5,7 @@
#
LIBC_DIR = $(call select_from_repositories,contrib/libc-8.2.0)
LIBC_REP_DIR = $(realpath $(subst /contrib/libc-8.2.0,,$(LIBC_DIR)))
# local libc includes
INC_DIR += $(LIBC_DIR)/libc/locale