summaryrefslogtreecommitdiff
path: root/packages/uclibc/uclibc-initial_0.9.26.bb
blob: c29a498a9677786b8297bea0372be51fd8b196ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SECTION = "base"
require uclibc_${PV}.bb

FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"

DEPENDS = "linux-libc-headers"
PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
PACKAGES = ""

do_stage() {
	# Install initial headers into the cross dir
	make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGING_PREFIX}/ \
		RUNTIME_PREFIX=${UCLIBC_STAGING_PREFIX}/ \
		pregen install_dev

	ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include

	# This conflicts with the c++ version of this header
	rm -f ${UCLIBC_STAGING_PREFIX}/include/bits/atomicity.h
}

do_install() {
	:
}

do_compile () {
	:
}