Signed-off-by: Tom Rini <tom_rini@mentor.com>
inherit autotools
do_compile_prepend() {
- sed -i 's_/usr/local_/usr_' Makefile
- sed -i 's_CC\t:= gcc_CC\t:= ${CC}_' Makefile
+ sed -i 's#/usr/local#/usr#' Makefile
+ sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
}
SRC_URI[md5sum] = "0f5c7ce5fd3c65113909db0ef3a3a8c8"
do_compile_prepend() {
cp ${WORKDIR}/Module.mk ${S}/eepromer/
- sed -i 's_/usr/local_/usr_' Makefile
- sed -i 's_CC\t:= gcc_CC\t:= ${CC}_' Makefile
+ sed -i 's#/usr/local#/usr#' Makefile
+ sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
echo "include eepromer/Module.mk" >> Makefile
}