mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
removed alarm/uboot-env
This commit is contained in:
parent
f44dbd294d
commit
a400c8ba26
3 changed files with 0 additions and 67 deletions
|
@ -1,39 +0,0 @@
|
||||||
# Maintainer: Jonny Gerold <jonny@fsk141.com>
|
|
||||||
# Contributor: Julian Langschaedel <meta.rb@gmail.com>
|
|
||||||
|
|
||||||
plugrel=2
|
|
||||||
|
|
||||||
pkgname=uboot-env
|
|
||||||
_tool=env
|
|
||||||
pkgver=2009.11
|
|
||||||
pkgrel=4
|
|
||||||
pkgdesc="fw_printenv/fw_setenv binaries"
|
|
||||||
arch=('arm')
|
|
||||||
license=('GPL' 'LGPL')
|
|
||||||
backup=(etc/fw_env.config)
|
|
||||||
install=uboot-env.install
|
|
||||||
source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2
|
|
||||||
fw_env.config)
|
|
||||||
md5sums=('d94700614225f53c853dfe714eb5fa47'
|
|
||||||
'159f285467e910ba98696b92a311498e')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd $srcdir/u-boot-$pkgver
|
|
||||||
touch include/config.{h,mk} include/autoconf.mk{.dep,}
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's:HOST_CFLAGS:HOSTCFLAGS:g' \
|
|
||||||
Makefile *.mk tools/Makefile
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e '/CFLAGS/s:-O::' \
|
|
||||||
tools/Makefile
|
|
||||||
|
|
||||||
make SUBDIRS=tools ${_tool}
|
|
||||||
|
|
||||||
mkdir -p $pkgdir/{etc,usr/bin}
|
|
||||||
install -Dm755 tools/env/fw_printenv $pkgdir/usr/bin/
|
|
||||||
cp $srcdir/fw_env.config $pkgdir/etc
|
|
||||||
cd $pkgdir/usr/bin
|
|
||||||
ln -s fw_printenv fw_setenv
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
# Configuration file for fw_(printenv/saveenv) utility.
|
|
||||||
# Up to two entries are valid, in this case the redundand
|
|
||||||
# environment sector is assumed present.
|
|
||||||
# MTD device name Device offset Env. size Flash sector size
|
|
||||||
#/dev/mtd2 0x0000 0x20000 0x20000
|
|
||||||
|
|
||||||
# segate dockstar:
|
|
||||||
# /dev/mtd0 0xc0000 0x20000 0x20000
|
|
||||||
|
|
||||||
# iomega iconnect
|
|
||||||
# /dev/mtd0 0xa0000 0x20000 0x20000
|
|
||||||
|
|
||||||
# CuBox
|
|
||||||
# /dev/mtd0 0xc0000 0x10000 0x10000
|
|
|
@ -1,14 +0,0 @@
|
||||||
post_install() {
|
|
||||||
cat <<INSTALL
|
|
||||||
>>> To print u-boot env please use fw_printenv
|
|
||||||
>> Configuration file located at /etc/fw_env.config
|
|
||||||
INSTALL
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
post_install
|
|
||||||
}
|
|
||||||
|
|
||||||
op=$1
|
|
||||||
shift
|
|
||||||
$op $*
|
|
Loading…
Reference in a new issue