mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
module-init-tools:
- update to module-init-tools-3.11.1 - split in host and target packages - install modprobe and depmod from module-init-tools package to target
This commit is contained in:
parent
3b5674ae66
commit
f39c6bd742
19
packages/other/module-init-tools-host/build
Executable file
19
packages/other/module-init-tools-host/build
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/unpack module-init-tools
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $BUILD/module-init-tools*
|
||||
|
||||
mkdir -p .build-host
|
||||
cd .build-host
|
||||
|
||||
../configure
|
||||
|
||||
make depmod
|
||||
|
||||
cp depmod $ROOT/$TOOLCHAIN/bin
|
@ -4,9 +4,13 @@
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
./configure
|
||||
mkdir -p .build-target
|
||||
cd .build-target
|
||||
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
|
||||
make modprobe
|
||||
make depmod
|
||||
|
167
packages/other/module-init-tools/config/aliases.conf
Normal file
167
packages/other/module-init-tools/config/aliases.conf
Normal file
@ -0,0 +1,167 @@
|
||||
# These are the standard aliases for devices and kernel drivers.
|
||||
# This file does not need to be modified.
|
||||
#
|
||||
# Please file a bug against module-init-tools if a package needs a entry
|
||||
# in this file.
|
||||
|
||||
# network protocols ##########################################################
|
||||
alias net-pf-1 unix
|
||||
alias net-pf-2 ipv4
|
||||
alias net-pf-3 ax25
|
||||
alias net-pf-4 ipx
|
||||
alias net-pf-5 appletalk
|
||||
alias net-pf-6 netrom
|
||||
alias net-pf-7 bridge
|
||||
alias net-pf-8 atm
|
||||
alias net-pf-9 x25
|
||||
alias net-pf-10 ipv6
|
||||
alias net-pf-11 rose
|
||||
alias net-pf-12 decnet
|
||||
# 13 NETBEUI
|
||||
alias net-pf-15 af_key
|
||||
alias net-pf-16 af_netlink
|
||||
alias net-pf-17 af_packet
|
||||
# 18 ASH
|
||||
alias net-pf-19 af_econet
|
||||
alias net-pf-20 atm
|
||||
# 22 SNA
|
||||
alias net-pf-23 irda
|
||||
alias net-pf-24 pppoe
|
||||
alias net-pf-25 wanrouter
|
||||
alias net-pf-26 llc
|
||||
alias net-pf-31 bluetooth
|
||||
|
||||
alias net-pf-16-proto-1 wire
|
||||
alias net-pf-16-proto-3 ip_queue
|
||||
alias net-pf-16-proto-4 tcp_diag
|
||||
alias net-pf-16-proto-8 scsi_transport_iscsi
|
||||
alias net-pf-16-proto-9 audit
|
||||
alias net-pf-16-proto-11 cn
|
||||
alias net-pf-16-proto-13 ip6_queue
|
||||
|
||||
# executables formats ########################################################
|
||||
install binfmt-0000 /bin/true
|
||||
alias binfmt-204 binfmt_aout
|
||||
alias binfmt-263 binfmt_aout
|
||||
alias binfmt-264 binfmt_aout
|
||||
alias binfmt-267 binfmt_aout
|
||||
alias binfmt-387 binfmt_aout
|
||||
|
||||
# block devices ##############################################################
|
||||
alias block-major-3-* ide_generic
|
||||
alias block-major-8-* sd_mod
|
||||
alias block-major-9-* md
|
||||
alias block-major-11-* sr_mod
|
||||
alias block-major-22-* ide_generic
|
||||
alias block-major-33-* ide_generic
|
||||
alias block-major-34-* ide_generic
|
||||
alias block-major-37-* ide_tape
|
||||
alias block-major-44-* ftl
|
||||
alias block-major-46-* pcd
|
||||
alias block-major-47-* pf
|
||||
alias block-major-56-* ide_generic
|
||||
alias block-major-57-* ide_generic
|
||||
alias block-major-58-* lvm_mod
|
||||
alias block-major-88-* ide_generic
|
||||
alias block-major-89-* ide_generic
|
||||
alias block-major-90-* ide_generic
|
||||
alias block-major-91-* ide_generic
|
||||
alias block-major-93-* nftl
|
||||
alias block-major-97-* pg
|
||||
|
||||
# character devices ##########################################################
|
||||
alias char-major-9-* st
|
||||
alias char-major-10-1 psmouse
|
||||
alias char-major-10-139 openprom
|
||||
alias char-major-10-157 applicom
|
||||
alias char-major-10-181 toshiba
|
||||
alias char-major-10-183 hw_random
|
||||
alias char-major-10-187 irnet
|
||||
alias char-major-10-189 ussp
|
||||
alias char-major-10-250 hci_vhci
|
||||
alias char-major-13-0 joydev
|
||||
alias char-major-13-1 joydev
|
||||
alias char-major-13-2 joydev
|
||||
alias char-major-13-3 joydev
|
||||
alias char-major-13-32 mousedev
|
||||
alias char-major-13-33 mousedev
|
||||
alias char-major-13-34 mousedev
|
||||
alias char-major-13-35 mousedev
|
||||
alias char-major-13-63 mousedev
|
||||
alias char-major-13-64 evdev
|
||||
alias char-major-13-65 evdev
|
||||
alias char-major-13-66 evdev
|
||||
alias char-major-13-67 evdev
|
||||
alias char-major-19-* cyclades
|
||||
alias char-major-20-* cyclades
|
||||
alias char-major-22-* pcxx
|
||||
alias char-major-23-* pcxx
|
||||
alias char-major-27-* ftape
|
||||
alias char-major-34-* scc
|
||||
alias char-major-35-* tclmidi
|
||||
alias char-major-48-* riscom8
|
||||
alias char-major-49-* riscom8
|
||||
alias char-major-57-* esp
|
||||
alias char-major-58-* esp
|
||||
alias char-major-63-* kdebug
|
||||
alias char-major-67-* coda
|
||||
alias char-major-75-* specialix
|
||||
alias char-major-76-* specialix
|
||||
alias char-major-81-* videodev
|
||||
alias char-major-83-* vtx
|
||||
alias char-major-89-* i2c_dev
|
||||
alias char-major-90-* mtdchar
|
||||
alias char-major-96-* pt
|
||||
alias char-major-97-* pg
|
||||
alias char-major-107-* 3dfx
|
||||
alias char-major-109-* lvm_mod
|
||||
alias char-major-166-* cdc_acm
|
||||
alias char-major-171-0 raw1394
|
||||
alias char-major-171-1 video1394
|
||||
alias char-major-171-2 dv1394
|
||||
alias char-major-171-3 amdtp
|
||||
alias char-major-180-* usbcore
|
||||
alias char-major-195-* nvidia
|
||||
alias char-major-200-* vxspec
|
||||
alias char-major-202-* msr
|
||||
alias char-major-203-* cpuid
|
||||
alias char-major-206-* osst
|
||||
alias char-major-208-* ussp
|
||||
alias char-major-227-* tub3270
|
||||
#alias char-major-240-* usb-serial
|
||||
#alias char-major-240-* hsfserial
|
||||
#alias char-major-241-* hsfserial
|
||||
|
||||
# misc #######################################################################
|
||||
alias xfrm-type-2-4 xfrm4_tunnel
|
||||
alias xfrm-type-2-50 esp4
|
||||
alias xfrm-type-2-51 ah4
|
||||
alias xfrm-type-2-108 ipcomp
|
||||
alias xfrm-type-10-41 xfrm6_tunnel
|
||||
alias xfrm-type-10-50 esp6
|
||||
alias xfrm-type-10-51 ah6
|
||||
alias xfrm-type-10-108 ipcomp6
|
||||
|
||||
alias bt-proto-0 l2cap
|
||||
alias bt-proto-2 sco
|
||||
alias bt-proto-3 rfcomm
|
||||
alias bt-proto-4 bnep
|
||||
alias bt-proto-5 cmtp
|
||||
alias bt-proto-6 hidp
|
||||
alias bt-proto-7 avdtp
|
||||
|
||||
alias cipcb0 cipcb
|
||||
alias cipcb1 cipcb
|
||||
alias cipcb2 cipcb
|
||||
alias cipcb3 cipcb
|
||||
alias dummy0 dummy
|
||||
alias dummy1 dummy
|
||||
alias plip0 plip
|
||||
alias plip1 plip
|
||||
alias slip0 slip
|
||||
alias slip1 slip
|
||||
alias tunl0 ipip
|
||||
alias gre0 ip_gre
|
||||
|
||||
alias usbdevfs usbcore
|
||||
|
6
packages/other/module-init-tools/config/blacklist.conf
Normal file
6
packages/other/module-init-tools/config/blacklist.conf
Normal file
@ -0,0 +1,6 @@
|
||||
# This file lists those modules which we don't want to be loaded by
|
||||
# alias expansion, usually so some other driver will be loaded for the
|
||||
# device instead.
|
||||
|
||||
blacklist 8250
|
||||
blacklist 8250_pnp
|
1
packages/other/module-init-tools/config/i2c.conf
Normal file
1
packages/other/module-init-tools/config/i2c.conf
Normal file
@ -0,0 +1 @@
|
||||
alias char-major-89 i2c-dev
|
19
packages/other/module-init-tools/config/options.conf
Normal file
19
packages/other/module-init-tools/config/options.conf
Normal file
@ -0,0 +1,19 @@
|
||||
# Ignore HPA by default.
|
||||
options libata ignore_hpa=1
|
||||
|
||||
# ISA Network Adapters
|
||||
|
||||
# options wd mem_end=0xca000 mem=0xc8000 irq=5 io=0x2a0
|
||||
# options smc-ultra io=0x2a0 irq=7
|
||||
|
||||
# Drivers for ISA radio cards
|
||||
|
||||
# options radio-aimslab io=0x20f # or 0x30f
|
||||
# options radio-sf16fmi io=0x284 # or 0x384
|
||||
# options radio-rtrack2 io=0x30c # or 0x20c
|
||||
# options radio-aztech io=0x350 # or 0x358
|
||||
# options radio-gemtek io=0x34c # or 0x20c, 0x30c, 0x24c, io=0x248
|
||||
# options radio-terratec io=0x590 # or 0x591
|
||||
# options radio-trust io=0x350 # or 0x358
|
||||
# options radio-typhoon io=0x316 mutefreq=87000 # or io=0x336
|
||||
# options radio-zoltrix io=0x20c # or 0x30c
|
12
packages/other/module-init-tools/install
Executable file
12
packages/other/module-init-tools/install
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/sbin
|
||||
cp $PKG_BUILD/.build-target/modprobe $INSTALL/sbin
|
||||
cp $PKG_BUILD/.build-target/depmod $INSTALL/sbin
|
||||
|
||||
mkdir -p $INSTALL/etc/modprobe.d
|
||||
cp $PKG_DIR/config/* $INSTALL/etc/modprobe.d
|
@ -0,0 +1,17 @@
|
||||
--- module-init-tools-3.8/configure.org 2009-05-24 11:34:42.000000000 +0200
|
||||
+++ module-init-tools-3.8/configure 2009-05-24 11:34:58.000000000 +0200
|
||||
@@ -3854,14 +3854,6 @@
|
||||
# between a broken cc and a working cc but missing libz.a.
|
||||
LDADD="$LDADD $zlib_flags"
|
||||
|
||||
-
|
||||
-case $target in
|
||||
-*-*-linux*) ;;
|
||||
-*) { { $as_echo "$as_me:$LINENO: error: Linux only, dude!" >&5
|
||||
-$as_echo "$as_me: error: Linux only, dude!" >&2;}
|
||||
- { (exit 1); exit 1; }; };;
|
||||
-esac
|
||||
-
|
||||
# Thanks to Martin Pool
|
||||
if test x"$GCC" = xyes
|
||||
then
|
@ -1 +1 @@
|
||||
http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-3.10.tar.bz2
|
||||
http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-3.11.1.tar.bz2
|
||||
|
Loading…
x
Reference in New Issue
Block a user