1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="PALO : PArisc Linux Loader"
8 HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/"
9 SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapshot/${P}.tar.gz"
16 "${FILESDIR}"/${PN}-2.00-toolchain.patch
17 "${FILESDIR}"/${PN}-2.12-gcc10.patch
22 for target in '-C palo' '-C ipl' 'iplboot'; do
23 emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target}
31 insinto /usr/share/palo
35 doins "${FILESDIR}"/palo.conf
37 insinto /etc/kernel/postinst.d
39 doins "${FILESDIR}"/99palo
43 dodoc TODO debian/changelog README.html