mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-22 06:41:17 +00:00
fix a few overfull hboxes, remove some redundant stuff
SVN-Revision: 8341
This commit is contained in:
parent
247e668894
commit
014b05aea0
@ -357,7 +357,7 @@ firmware image and flash is structured. You will find below a commented example
|
|||||||
that covers the case of the device where the bootloader can pass to the kernel its partition plan.
|
that covers the case of the device where the bootloader can pass to the kernel its partition plan.
|
||||||
|
|
||||||
First of all, you need to make your flash map driver be visible in the kernel
|
First of all, you need to make your flash map driver be visible in the kernel
|
||||||
configuration options, this can be done by editing the file
|
configuration options, this can be done by editing the file \
|
||||||
\textbf{linux/drivers/mtd/maps/Kconfig}:
|
\textbf{linux/drivers/mtd/maps/Kconfig}:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
|
@ -202,12 +202,6 @@ simplifies the entire ordeal.
|
|||||||
Here for example, is \texttt{package/bridge/Makefile}:
|
Here for example, is \texttt{package/bridge/Makefile}:
|
||||||
|
|
||||||
\begin{Verbatim}[frame=single,numbers=left]
|
\begin{Verbatim}[frame=single,numbers=left]
|
||||||
#
|
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
|
# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
@ -229,12 +223,14 @@ define Package/bridge
|
|||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Base system
|
CATEGORY:=Base system
|
||||||
TITLE:=Ethernet bridging configuration utility
|
TITLE:=Ethernet bridging configuration utility
|
||||||
DESCRIPTION:=\
|
|
||||||
Manage ethernet bridging: a way to connect networks together to \\\
|
|
||||||
form a larger network.
|
|
||||||
URL:=http://bridge.sourceforge.net/
|
URL:=http://bridge.sourceforge.net/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/bridge/description
|
||||||
|
Manage ethernet bridging:
|
||||||
|
a way to connect networks together to form a larger network.
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
--with-linux-headers="$(LINUX_DIR)" \
|
--with-linux-headers="$(LINUX_DIR)" \
|
||||||
@ -384,12 +380,6 @@ For external kernel modules, you can add them to the build system just like if t
|
|||||||
Here for instance the Makefile for the I2C subsytem kernel modules :
|
Here for instance the Makefile for the I2C subsytem kernel modules :
|
||||||
|
|
||||||
\begin{Verbatim}[frame=single,numbers=left]
|
\begin{Verbatim}[frame=single,numbers=left]
|
||||||
#
|
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
# $Id $
|
# $Id $
|
||||||
|
|
||||||
I2CMENU:=I2C Bus
|
I2CMENU:=I2C Bus
|
||||||
@ -398,8 +388,7 @@ define KernelPackage/i2c-core
|
|||||||
TITLE:=I2C support
|
TITLE:=I2C support
|
||||||
DESCRIPTION:=Kernel modules for i2c support
|
DESCRIPTION:=Kernel modules for i2c support
|
||||||
SUBMENU:=$(I2CMENU)
|
SUBMENU:=$(I2CMENU)
|
||||||
KCONFIG:=$(CONFIG_I2C_CORE) \
|
KCONFIG:=CONFIG_I2C_CORE CONFIG_I2C_DEV
|
||||||
$(CONFIG_I2C_DEV)
|
|
||||||
FILES:=$(MODULES_DIR)/kernel/drivers/i2c/*.$(LINUX_KMOD_SUFFIX)
|
FILES:=$(MODULES_DIR)/kernel/drivers/i2c/*.$(LINUX_KMOD_SUFFIX)
|
||||||
AUTOLOAD:=$(call AutoLoad,50,i2c-core i2c-dev)
|
AUTOLOAD:=$(call AutoLoad,50,i2c-core i2c-dev)
|
||||||
endef
|
endef
|
||||||
|
@ -61,8 +61,11 @@ You can access already processed options with the \texttt{config\_get} command
|
|||||||
Syntax:
|
Syntax:
|
||||||
|
|
||||||
\begin{Verbatim}
|
\begin{Verbatim}
|
||||||
config_get <section> <option> # prints the value of the option
|
# print the value of the option
|
||||||
config_get <variable> <section> <option> # stores the value inside the variable
|
config_get <section> <option>
|
||||||
|
|
||||||
|
# store the value inside the variable
|
||||||
|
config_get <variable> <section> <option>
|
||||||
\end{Verbatim}
|
\end{Verbatim}
|
||||||
|
|
||||||
In busybox ash the three-option \texttt{config\_get} is faster, because it does not
|
In busybox ash the three-option \texttt{config\_get} is faster, because it does not
|
||||||
|
Loading…
Reference in New Issue
Block a user