summaryrefslogtreecommitdiffstats
path: root/meta/packages/meta/cross-linkage_1.0.bb
blob: a2da649acca198d6dfa43bca18a9421405eeb50e (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
29
DESCRIPTION = "cross-linkage sets up symlinks between cross and staging so the compiler can find things"
SECTION = "devel"
PACKAGES = ""

INHIBIT_DEFAULT_DEPS = "1"
PR = "r0"
EXCLUDE_FROM_WORLD = "1"

SRC_URI = ""

do_configure() {
	:
}

do_compile () {
	:
}

do_install() {
	:
}

do_stage () {
	install -d ${CROSS_DIR}/${TARGET_SYS}/
	rm -rf ${CROSS_DIR}/${TARGET_SYS}/include
	ln -s  ${STAGING_INCDIR}/ ${CROSS_DIR}/${TARGET_SYS}/include
	rm -rf ${CROSS_DIR}/${TARGET_SYS}/lib
	ln -s  ${STAGING_LIBDIR} ${CROSS_DIR}/${TARGET_SYS}/lib 
}