summaryrefslogtreecommitdiff
path: root/binutils/binutils-uclibc_2.14.90.0.6.oe
blob: 711e4ce145fdfa0a5a8ec52ef7068b00098fa035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
include binutils_${PV}.oe
FILESDIR = ${TOPDIR}/binutils/binutils-${PV}

binutilsbuild_do_patch () {
	oenote IN binutils patch
	perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *`
}

python do_patch () {
	oe.build.exec_func('base_do_patch', d)
	oe.build.exec_func('binutilsbuild_do_patch', d)
}