summaryrefslogtreecommitdiff
path: root/sys-kernel/easy-kernel/easy-kernel-4.4.39_p6.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/easy-kernel/easy-kernel-4.4.39_p6.ebuild')
-rw-r--r--sys-kernel/easy-kernel/easy-kernel-4.4.39_p6.ebuild18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys-kernel/easy-kernel/easy-kernel-4.4.39_p6.ebuild b/sys-kernel/easy-kernel/easy-kernel-4.4.39_p6.ebuild
index d14ddc0ec..93afa5ba4 100644
--- a/sys-kernel/easy-kernel/easy-kernel-4.4.39_p6.ebuild
+++ b/sys-kernel/easy-kernel/easy-kernel-4.4.39_p6.ebuild
@@ -25,16 +25,32 @@ src_prepare() {
src_configure() {
cp "${FILESDIR}"/config_${PV}_${ARCH} "${S}"/.config || \
die "No configuration available for your architecture."
+
+ case ${ARCH} in
+ ppc) export ARCH="powerpc" ;;
+ ppc64) export ARCH="powerpc64" ;;
+ esac
+
emake silentoldconfig
}
src_compile() {
- emake bzImage
+ case ${ARCH} in
+ ppc) export ARCH="powerpc" ;;
+ ppc64) export ARCH="powerpc64" ;;
+ esac
+
+ emake
emake modules
emake firmware
}
src_install() {
+ case ${ARCH} in
+ ppc) export ARCH="powerpc" ;;
+ ppc64) export ARCH="powerpc64" ;;
+ esac
+
dodir /boot
emake install INSTALL_PATH="${D}/boot"
emake modules_install INSTALL_MOD_PATH="${D}"