Commit Graph

20 Commits

Author SHA1 Message Date
Matthias Schiffer 53ea3b8977 libplatforminfo: update bcm27xx target name
The RPi targets were renamed in OpenWrt 21.02 (Gluon 2022.1). As
libplatforminfo was not adjusted, image names were using autodetected
model names including a revision number again, requiring additional
manifest aliases.
2023-12-19 18:40:02 +01:00
Matthias Schiffer 28a35ea2c9 libplatforminfo: drop obsolete ar71xx-mikrotik target
The obsolete ar71xx-mikrotik.c was symlinked to template/nosysupgrade.c.
As all new mikrotik targets have sysupgrade support, we can just remove
the symlink and use the default handling of libplatforminfo.

nosysupgrade.c becomes unused, but it left in the repository for future
experimental targets without sysupgrade support.
2023-12-19 18:40:02 +01:00
Christian Buschau 2cf0156fd7
libplatforminfo: handle armsr target 2023-10-19 10:20:28 +02:00
Matthias Schiffer 12e41d0ff0
libplatforminfo: brcm2708: use board_name instead of model for image name
The sanitized board name is a reasonable image name, and there are fewer
redundant variations.
2020-02-04 23:15:58 +01:00
Florian Eckert 0835251ca9 libplatforminfo: extend Makefile to define compile with custom target
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-28 09:50:16 +01:00
Florian Eckert 90b26e3388 libplatforminfo: add Config.in for custom target
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-28 09:50:14 +01:00
Florian Eckert 3a9ea0b47f libplatforminfo: add custom definition target
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-28 09:50:11 +01:00
Matthias Schiffer 31e2000604
treewide: remove redundant definitions from package Makefiles 2018-03-07 20:51:48 +01:00
Matthias Schiffer cef5afaac4
libplatforminfo: increment PKG_VERSION 2017-02-12 06:05:19 +01:00
Matthias Schiffer ee064ae430
libplatforminfo: unify target implementations
Don't require a file for each subtarget, fall back to default.c.
2017-02-12 06:01:26 +01:00
Matthias Schiffer 036ad3e51e
libplatforminfo: x86: use /tmp/sysinfo/model for platforminfo_get_model()
x86 has a proper model definition now that is more useful than the CPU
type.
2017-02-12 05:45:53 +01:00
Matthias Schiffer 8e4d1a3095
libplatforminfo: x86: remove outdated subtargets, simplify image name code 2017-02-12 05:44:21 +01:00
Matthias Schiffer f2885547ff
libplatforminfo: make sanitize_image_name() fail gracefully
Some targets may not always have a /tmp/sysinfo/model, don't crash in this
case.
2017-02-12 05:36:08 +01:00
Steffen Förster 03f06248c9 libplatforminfo: add target ramips_mt7628 (#159)
This enables the inclusion of the vocore2 into gluon.
2017-02-09 02:02:59 +01:00
Julian 738d8a2365 libplatforminfo: add target mvebu (#151) 2016-12-05 10:36:39 +01:00
Steffen Förster 078ba81ed2 libplatforminfo: add x86-geode platform (#148) 2016-11-29 18:48:11 +01:00
Matthias Schiffer 9311a0716e
libplatforminfo: mark as nonshared 2016-09-24 02:12:24 +02:00
Matthias Schiffer 390b221b51
libplatforminfo: add ramips-mt7621 support 2016-06-30 18:45:59 +02:00
Matthias Schiffer 0e391753d3
libplatforminfo: add target ar71xx-mikrotik
Based-on-patch-by: Tobias Hachmer <tobias@hachmer.de>
2016-06-22 23:10:54 +02:00
Matthias Schiffer 358a087ea4 Add new package libplatforminfo 2015-12-28 01:28:50 +01:00