diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/alix-sources/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/alix-sources/alix-sources-2.6.27.59-r11.ebuild | 31 |
2 files changed, 31 insertions, 2 deletions
diff --git a/sys-kernel/alix-sources/Manifest b/sys-kernel/alix-sources/Manifest index b0a1b4f2..d5972db4 100644 --- a/sys-kernel/alix-sources/Manifest +++ b/sys-kernel/alix-sources/Manifest @@ -15,4 +15,4 @@ EBUILD alix-sources-2.6.25-r17.ebuild 1247 RMD160 a2cb356d5e17002a5faec8c140bba0 EBUILD alix-sources-2.6.27-r11.ebuild 1247 RMD160 a2cb356d5e17002a5faec8c140bba01c94716ddd SHA1 54bb91078ee610df25265902aa8b1d9a0259f5e3 SHA256 c2017dd078724075b4f34563e759ac0fd83938cc21e6195aa687be064cf7ca09 EBUILD alix-sources-2.6.27-r6.ebuild 1247 RMD160 a2cb356d5e17002a5faec8c140bba01c94716ddd SHA1 54bb91078ee610df25265902aa8b1d9a0259f5e3 SHA256 c2017dd078724075b4f34563e759ac0fd83938cc21e6195aa687be064cf7ca09 EBUILD alix-sources-2.6.27.34-r11.ebuild 1108 RMD160 6649cb863a8909139d82409ad4dab4e9020fde88 SHA1 61dff5a14400e55d58226de8e8c6702d6c6bfecf SHA256 1cf58abcd0cfc36334dcb43c127d020f117da42fa15094aa55a0ef2d28f78b99 -EBUILD alix-sources-2.6.27.59-r11.ebuild 1293 RMD160 69508f5c74f02f6805e8cc806edfc4538384f364 SHA1 d543ac472e6548acd46f3bf9b41fa142431c2d9b SHA256 ac7210a68263b4d2a3949ccab22d61023a347b66cc733361bc58dbfdbdbbe5d9 +EBUILD alix-sources-2.6.27.59-r11.ebuild 1888 RMD160 56a7986667cc630ffff67fde3cb9788d8bbc458c SHA1 daebf1787f2125dbfd77aa63759f559186b43363 SHA256 8ac079b6a2fffb0be21682744a2b1140ddfe0ba453fd31894e1efbefc81a0d57 diff --git a/sys-kernel/alix-sources/alix-sources-2.6.27.59-r11.ebuild b/sys-kernel/alix-sources/alix-sources-2.6.27.59-r11.ebuild index 0985abb5..134eab97 100644 --- a/sys-kernel/alix-sources/alix-sources-2.6.27.59-r11.ebuild +++ b/sys-kernel/alix-sources/alix-sources-2.6.27.59-r11.ebuild @@ -5,7 +5,7 @@ EAPI="2" ETYPE="sources" -inherit kernel-2 +inherit kernel-2 savedconfig detect_version detect_arch @@ -27,6 +27,23 @@ DESCRIPTION="Full sources including the Willy Tarreau Alix patchset" SRC_URI="${KERNEL_URI} http://linux.1wt.eu/alix/kernel-src/${OKV}-${PR/r/wt}/${WT_PATCHES}" +DEPEND="sys-apps/flx-flx" + +PROVIDE="virtual/linux-sources" + +CONFIG="config-${PV%.*}-r${PV##*.}.${PR/r/}-alix-flx0.1-lx" + +src_prepare () +{ + restore_config ${CONFIG} + [ ! -e ${CONFIG} ] && die "Couldn't restore savedconfig to $CONFIG" + + case "${ARCH}" in + x86) SUBARCH=i386 ; ARCH=i386 ;; + *) die "ARCH ${ARCH} not handled" ;; + esac +} + src_unpack () { cd ${WORKDIR} unpack ${WT_PATCHES} @@ -42,6 +59,18 @@ src_unpack () { kernel-2_src_unpack } +src_compile () +{ + SUBARCH=${SUBARCH} ARCH=${ARCH} \ + HOSTCC=${CBUILD}-gcc \ + CROSS_COMPILE=${CHOST}- \ + CC="$(tc-getCC)" \ + /data/build/formilux/2.6-scripts/build-kernel-26-list ${CONFIG} \ + || die "fail to build kernel" + + emake distclean +} + pkg_postinst() { kernel-2_pkg_postinst einfo "For more info on this patchset, and how to report problems, see:" |