sys-kernel/sim_buffalo: add check for correct configured kernel

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2476 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-10-05 20:01:23 +00:00
parent 11dc6f041c
commit cfb4a35921
3 changed files with 13 additions and 9 deletions

View File

@ -2,6 +2,9 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
05 Oct 2010; Mario Fetka <mario.fetka@gmail.com> sim_buffalo-0.1.ebuild:
add check for correct configured kernel
05 Oct 2010; Mario Fetka <mario.fetka@gmail.com> sim_buffalo-0.1.ebuild: 05 Oct 2010; Mario Fetka <mario.fetka@gmail.com> sim_buffalo-0.1.ebuild:
correct build deep correct build deep

View File

@ -1,4 +1,4 @@
DIST sim_buffalo-0.1.tar.gz 2217 RMD160 f75ef40ecb24ef8432464e9cdfc22d7da0b1d3e2 SHA1 3b51668b7859ed3867d2157614d2a83005a43a5e SHA256 b6b4d38a794be7e0ada95e16fe91a39151a147669def61bf1916bef499860606 DIST sim_buffalo-0.1.tar.gz 2217 RMD160 f75ef40ecb24ef8432464e9cdfc22d7da0b1d3e2 SHA1 3b51668b7859ed3867d2157614d2a83005a43a5e SHA256 b6b4d38a794be7e0ada95e16fe91a39151a147669def61bf1916bef499860606
EBUILD sim_buffalo-0.1.ebuild 799 RMD160 9010be3e28dadaa30d7363865424d79deae8f364 SHA1 abcd8377b0c74141d586f77979fc2f61b8d0adca SHA256 9f5379098f3714e635db5f2180e2350cc25c9e1847e678061c468fa7f3801a31 EBUILD sim_buffalo-0.1.ebuild 936 RMD160 1b7cb96caf877f32461d1f2beada63bf2b954c03 SHA1 9d7cc02005057b4a8e47e88baaa2602f4665c685 SHA256 85cce2724f3f30c4aba8d692c01e19787cff570fcfd51e9b7817d52a61b40c65
MISC ChangeLog 332 RMD160 bdcfcec86b896cf75bfc70494b4610957ff90bd4 SHA1 cec02627361ae9781669e9a33d29317d512053be SHA256 fe8d9f6ccd8d9d1c4ea256384967e1f9145a8a14287ef44146e1d0865f6c8f23 MISC ChangeLog 450 RMD160 7330f2f0a970371b6b77dd6910e7d6d974bb82d7 SHA1 5e4184b08bacd7c46c72143b2fb63033c78af7bb SHA256 d3874bd98351c8b4a97046f8849defc21eb2d90e32688f4eef1b82ec31a849c0
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -19,16 +19,17 @@ DEPEND=""
RDEPEND="virtual/linux-sources" RDEPEND="virtual/linux-sources"
RESTRICT="mirror"
S=${WORKDIR}/sim_buffalo S=${WORKDIR}/sim_buffalo
MODULE_NAMES="sim_buffalo(misc:${S}:${S}/kernel)" pkg_setup() {
BUILD_TARGETS="kernel-mod" MODULE_NAMES="sim_buffalo(misc:${S}:${S}/kernel)"
BUILD_PARAMS="KSRC=${KERNEL_DIR}" BUILD_TARGETS="kernel-mod"
BUILD_PARAMS="KSRC=${KERNEL_DIR}"
src_unpack() { if ! linux_chkconfig_present GPIO_SYSFS; then
unpack ${A} ewarn "You don't have GPIO_SYSFS support enabled in the kernel."
ewarn "The /proc/buffalo simulator wont work."
fi
} }
src_compile() { src_compile() {