Commit Graph

11 Commits

Author SHA1 Message Date
Adrian Schmutzler
a421a12f9c orion: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[decapitalized patch subject at submitter's request]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2019-09-29 00:46:13 +02:00
Rafał Miłecki
bf4eef46b4 orion: sysupgrade: change platform_check_image() args validation
sysupgrade passes image to check as argument so use $# instead of $ARGC.
It also fits this function better as it checks $1 and not $ARGV.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2019-07-16 13:58:26 +02:00
Mathias Kresin
e4e984f2a0 treewide: use only board_name function to get name
Do not parse /tmp/sysinfo/board_name, /proc/cpuinfo or the device tree
compatible string directly. Always use the board_name function to get
the board name.

The admswconfig package still reads /proc/cpuinfo directly. The code
looks somehow broken and the whole adm5120 which uses this package
looks unmaintained. Leave it as it is for now.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-07-15 23:13:34 +02:00
Florian Fainelli
3ca46aa257 orion: Make sub-targets augment FEATURES, not re-define it
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:52 +01:00
Jo-Philipp Wich
1c09849f6c treewide: remove bad local shell variable declarations
Local variable declarations outside of functions are illegal since the Busybox
update to v1.25.0, therfore remove them from the appropriate places.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-09-24 14:38:20 +02:00
Jo-Philipp Wich
3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Florian Fainelli
b545c4b4fe generic: use magic_long in sysupgrade
Signed-off-by: Matthias Bücher <mail@maddes.net>

SVN-Revision: 31200
2012-04-04 16:06:29 +00:00
Imre Kaloz
02512b6185 the same DEFAULT_PACKAGES should be selected in the generic Makefile
SVN-Revision: 23885
2010-11-05 07:33:43 +00:00
Imre Kaloz
e9a7ba29c1 only build squashfs images by default
SVN-Revision: 23884
2010-11-05 07:30:55 +00:00
Alexandros C. Couloumbis
4ec905f3c9 target/linux/orion: create subtargets (closes #8154)
SVN-Revision: 23883
2010-11-04 22:10:11 +00:00
Rod Whitby
a99415d17a orion: Create generic and harddisk subtargets, ready for a different kernel config for harddisk.
SVN-Revision: 14960
2009-03-22 00:36:47 +00:00