aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ppc40x/base-files/lib
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-03-25 15:16:59 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-05-03 21:27:12 +0200
commit406a3826dcbb48b5ea42f2d9e96ff92721a6440a (patch)
treeb011553d768a38899ae8522ad2c7348320b3f551 /target/linux/ppc40x/base-files/lib
parent65cdfbabde3dbbc924233f2b8f01a356e0c74e7e (diff)
downloadupstream-406a3826dcbb48b5ea42f2d9e96ff92721a6440a.tar.gz
upstream-406a3826dcbb48b5ea42f2d9e96ff92721a6440a.tar.bz2
upstream-406a3826dcbb48b5ea42f2d9e96ff92721a6440a.zip
ppc40x: Remove unmaintained target
This target only supports kernel 3.18, which is not supported in OpenWrt any more for multiple releases. It also looks like there is no active maintainer for this target. Remove the code and all the packages which are only used by this target. To add this target to OpenWrt again port it to a recent and supported kernel version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/ppc40x/base-files/lib')
-rw-r--r--target/linux/ppc40x/base-files/lib/preinit/01_sysinfo12
-rw-r--r--target/linux/ppc40x/base-files/lib/upgrade/platform.sh35
2 files changed, 0 insertions, 47 deletions
diff --git a/target/linux/ppc40x/base-files/lib/preinit/01_sysinfo b/target/linux/ppc40x/base-files/lib/preinit/01_sysinfo
deleted file mode 100644
index 9f82c84b2b..0000000000
--- a/target/linux/ppc40x/base-files/lib/preinit/01_sysinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-do_sysinfo_ppc40x() {
- local name="$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /model/ {print $2}' /proc/cpuinfo)"
- [ -z "$name" ] && name="unknown"
-
- [ -e "/tmp/sysinfo/" ] || mkdir -p "/tmp/sysinfo/"
- echo "$name" > /tmp/sysinfo/board_name
- echo "unknown" > /tmp/sysinfo/model
-}
-
-boot_hook_add preinit_main do_sysinfo_ppc40x
diff --git a/target/linux/ppc40x/base-files/lib/upgrade/platform.sh b/target/linux/ppc40x/base-files/lib/upgrade/platform.sh
deleted file mode 100644
index 222a25a5c0..0000000000
--- a/target/linux/ppc40x/base-files/lib/upgrade/platform.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright (C) 2010 OpenWrt.org
-#
-
-PART_NAME=firmware
-
-platform_check_image() {
- local board=$(board_name)
- local magic="$(get_magic_word "$1")"
-
- [ "$#" -gt 1 ] && return 1
-
- case "$board" in
- kilauea | openrb | magicbox)
- [ "$magic" != "2705" ] && {
- echo "Invalid image type."
- return 1
- }
- return 0
- ;;
- esac
-
- echo "Sysupgrade is not yet supported on $board."
- return 1
-}
-
-platform_do_upgrade() {
- local board=$(board_name)
-
- case "$board" in
- *)
- default_do_upgrade "$ARGV"
- ;;
- esac
-}