mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
dev-embedded/bcm2-utils: Call emake directly
Closes: https://bugs.gentoo.org/show_bug.cgi?id=934597 Closes: https://bugs.gentoo.org/show_bug.cgi?id=934598 Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
This commit is contained in:
parent
c69641ed44
commit
aa92f59ded
@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utilities for Broadcom-based cable modems"
|
||||
HOMEPAGE="https://github.com/jclehner/bcm2-utils"
|
||||
SRC_URI="https://github.com/jclehner/bcm2-utils/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
@ -19,6 +21,11 @@ src_prepare(){
|
||||
sed -i 's@shell git describe --always@shell git describe --always 2>/dev/null@' "Makefile" || die
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} \
|
||||
LDFLAGS=${LDFLAGS}
|
||||
}
|
||||
|
||||
src_install(){
|
||||
mkdir -p "${D}/usr/bin" || die
|
||||
emake PREFIX="${D}/usr" install
|
||||
|
Loading…
x
Reference in New Issue
Block a user