mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
cubie*: remove
package unmaintained for a long time, part of the sun7i family
This commit is contained in:
parent
62b922d267
commit
880bd37fae
9 changed files with 0 additions and 144 deletions
|
@ -1,8 +0,0 @@
|
|||
case "$ACTION" in
|
||||
post)
|
||||
mkdir -p etc/runit/runsvdir/default/
|
||||
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
|
||||
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
|
||||
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/
|
||||
;;
|
||||
esac
|
|
@ -1,21 +0,0 @@
|
|||
# Template file for 'cubieboard2-base'
|
||||
pkgname=cubieboard2-base
|
||||
version=2.5
|
||||
revision=3
|
||||
build_style=meta
|
||||
short_desc="Void Linux Cubieboard2 platform package"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="Public Domain"
|
||||
homepage="http://www.voidlinux.org"
|
||||
|
||||
archs="armv7l*"
|
||||
depends="virtual?ntp-daemon cubieboard2-uboot sun7i-kernel linux-firmware-network"
|
||||
|
||||
do_install() {
|
||||
# Load the sunxi-emac module by default.
|
||||
vmkdir usr/lib/modules-load.d
|
||||
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
|
||||
# Set proper perms to some devices.
|
||||
vmkdir usr/lib/udev/rules.d
|
||||
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cubieboard.rules
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
part uuid ${devtype} ${devnum}:${bootpart} uuid
|
||||
setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait
|
||||
|
||||
if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
|
||||
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
|
||||
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
|
||||
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
|
||||
else
|
||||
bootz ${kernel_addr_r} - ${fdt_addr_r};
|
||||
fi;
|
||||
fi;
|
||||
fi
|
||||
|
||||
if load ${devtype} ${devnum}:${bootpart} 0x48000000 /boot/uImage; then
|
||||
if load ${devtype} ${devnum}:${bootpart} 0x43000000 /boot/script.bin; then
|
||||
setenv bootm_boot_mode sec;
|
||||
bootm 0x48000000;
|
||||
fi;
|
||||
fi
|
|
@ -1,10 +0,0 @@
|
|||
--- a/include/config_distro_defaults.h
|
||||
+++ b/include/config_distro_defaults.h
|
||||
@@ -53,4 +53,7 @@
|
||||
#define CONFIG_SUPPORT_RAW_INITRD
|
||||
#define CONFIG_SYS_HUSH_PARSER
|
||||
|
||||
+#define CONFIG_CMD_PART
|
||||
+#define CONFIG_PARTITION_UUIDS
|
||||
+
|
||||
#endif /* _CONFIG_CMD_DISTRO_DEFAULTS_H */
|
|
@ -1,55 +0,0 @@
|
|||
# Template file for 'cubieboard2-uboot'
|
||||
pkgname=cubieboard2-uboot
|
||||
version=2016.11
|
||||
revision=1
|
||||
hostmakedepends="dtc bc git sunxi-tools uboot-mkimage"
|
||||
short_desc="U-Boot for cubieboard2"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2"
|
||||
homepage="http://www.denx.de/wiki/U-Boot/WebHome"
|
||||
distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
|
||||
checksum=45813e6565dcc0436abe6752624324cdbf5f3ac106570d76d32b46ec529bcdc8
|
||||
|
||||
archs="armv7l*"
|
||||
|
||||
do_configure() {
|
||||
git clone https://github.com/linux-sunxi/sunxi-boards
|
||||
}
|
||||
do_build() {
|
||||
local _boards="Cubieboard2 Cubietruck"
|
||||
|
||||
unset CFLAGS CXXFLAGS LDFLAGS
|
||||
|
||||
for f in ${_boards}; do
|
||||
mkdir bin_${f}
|
||||
make distclean
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
make CROSS_COMPILE=${XBPS_CROSS_TRIPLET}- ${f}_config
|
||||
make CROSS_COMPILE=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
||||
else
|
||||
make ${f}_config
|
||||
make ${makejobs}
|
||||
fi
|
||||
mv u-boot-sunxi-with-spl.bin bin_${f}
|
||||
done
|
||||
|
||||
mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d ${FILESDIR}/boot.txt boot.scr
|
||||
}
|
||||
do_install() {
|
||||
vmkdir boot
|
||||
vinstall bin_Cubieboard2/u-boot-sunxi-with-spl.bin 644 boot
|
||||
fex2bin sunxi-boards/sys_config/a20/cubieboard2.fex ${DESTDIR}/boot/script.bin
|
||||
vinstall ${FILESDIR}/boot.txt 644 boot
|
||||
vinstall boot.scr 644 boot
|
||||
}
|
||||
|
||||
cubietruck-uboot_package() {
|
||||
short_desc="${short_desc/cubieboard2/cubietruck}"
|
||||
pkg_install() {
|
||||
vmkdir boot
|
||||
vinstall bin_Cubietruck/u-boot-sunxi-with-spl.bin 644 boot
|
||||
fex2bin sunxi-boards/sys_config/a20/cubietruck.fex ${DESTDIR}/boot/script.bin
|
||||
vinstall ${FILESDIR}/boot.txt 644 boot
|
||||
vinstall boot.scr 644 boot
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
pkgname=u-boot
|
|
@ -1,8 +0,0 @@
|
|||
case "$ACTION" in
|
||||
post)
|
||||
mkdir -p etc/runit/runsvdir/default/
|
||||
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
|
||||
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
|
||||
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/
|
||||
;;
|
||||
esac
|
|
@ -1,21 +0,0 @@
|
|||
# Template file for 'cubietruck-base'
|
||||
pkgname=cubietruck-base
|
||||
version=2.3
|
||||
revision=2
|
||||
build_style=meta
|
||||
homepage="http://www.voidlinux.org"
|
||||
short_desc="Void Linux Cubietruck (Cubieboard 3) platform package"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="Public Domain"
|
||||
|
||||
archs="armv7l"
|
||||
depends="virtual?ntp-daemon cubietruck-uboot sun7i-kernel linux-firmware-network"
|
||||
|
||||
do_install() {
|
||||
# Load the sunxi-emac module by default.
|
||||
vmkdir usr/lib/modules-load.d
|
||||
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubietruck.conf
|
||||
# Set proper perms to some devices.
|
||||
vmkdir usr/lib/udev/rules.d
|
||||
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cubietruck.rules
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
cubieboard2-uboot
|
Loading…
Add table
Reference in a new issue