Matthias Schiffer
64148a9baf
lua-jsonc: add host build support
2021-06-09 21:30:39 +02:00
Matthias Schiffer
c2623391bf
lua-jsonc: do not link against liblua
...
Linking against liblua requires a shared or PIC liblua, which isn't the
case for host Lua.
2021-06-09 19:34:27 +02:00
lemoer
f3b0c5ac20
lua-hash: add license
2021-04-11 20:31:34 +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
Matthias Schiffer
32c9f657d1
lua-simple-uci: luacheck fixes
2019-06-16 14:41:31 +02:00
Matthias Schiffer
cf0619a0f9
lua-simple-uci: do not use module(), do not rely on UCI internals
...
simple-uci was modifying the metatable of UCI cursor objects, thus changing
the behaviour of *all* UCI cursors, and not only UCI cursors that are
created through simple-uci.
2019-06-16 14:16:44 +02:00
Jan-Tarek Butt
67177de99a
libs/lua-math-polygon: add add math lib for gauss jordan Ponit in Polygon algorithm
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-22 18:14:16 +02: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
53a659abf8
lua-geolocate: add package for WLAN-based geolocation based on openwifi.su
...
Based-on-patch-by: Jan-Tarek Butt <tarek@ring0.de>
2018-02-27 18:14:07 +01:00
Matthias Schiffer
d14cedea14
lua-jsonc: new package
...
This package replaces luci-lib-jsonc, and also provides utility functions
for use from other C libraries.
2018-01-18 16:27:40 +01:00
Matthias Schiffer
16bf1f9ff1
libpacketmark: fix call of initialization function (again)
...
The previous fix for ARM broke the constructor call on MIPS. Remove the
-nostartfiles linker flag to fix this.
2017-11-04 20:54:04 +01:00
Matthias Schiffer
5249974a3c
libpacketmark: fix call of initialization function
...
Rather than using the internal symbol _init, simply let the compiler handle
it by marking it as a constructor. This fixes running the initialization on
some architectures like ARM.
2017-10-25 14:17:33 +02:00
Matthias Schiffer
6d2b807fba
lua-simple-uci: fix set()/tset()/section() with empty lists
2017-10-19 02:12:14 +02:00
Matthias Schiffer
8b65619f59
lua-simple-uci: delete option when using Cursor:set() with nil value
...
Setting the section type when using set() with only two arguments is a very
confusing behaviour. section() can be used without a value table for the
same result.
Deleting the option instead will make set() and get() symmetric and will
allow to simplify some code that needed to check for nil to call set() or
delete() before.
2017-08-08 04:31:26 +02:00
Matthias Schiffer
c9fa162ebb
lua-simple-uci: remove support for obsolete alternative boolean strings
2017-08-08 04:30:04 +02: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
Matthias Schiffer
138ddeedf3
lua-simple-uci: new package providing wrapper around uci providing useful functions
...
- set allows boolean values
- delete_all
- section
- tset
- get_bool
- get_list
- get_first
- set_list
2017-01-19 12:34:20 +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
lemoer
b41132b593
lua-hash: introduce a lua hashing library using libubox.
2016-04-16 18:22:03 +02:00
Matthias Schiffer
fea8f67d5d
lua-ethtool-stats: remove
2016-03-03 23:52:42 +01:00
Matthias Schiffer
651b11ac35
lua-deflate: remove
2016-03-03 23:52:34 +01:00
Matthias Schiffer
7e0976edae
lua-platform-info: use libplatforminfo
2015-12-28 01:28:50 +01:00
Matthias Schiffer
358a087ea4
Add new package libplatforminfo
2015-12-28 01:28:50 +01:00
Michael Rüttgers
6ddb1d3c0a
Add support for x86-xen_domu target
...
Keep subtargets near their targets
2015-09-14 09:13:52 +02:00
Matthias Schiffer
881036e1f2
lua-platform-info: add sunxi target
2015-07-16 22:23:49 +02:00
Matthias Schiffer
5f0c86212d
lua-platform-info: brcm2708: add sysupgrade support
2015-07-15 22:03:56 +02:00
Matthias Schiffer
9d5b304e95
lua-platform-info: add support for brcm2708
...
Original patch by @MPW1412
2015-07-10 19:37:32 +02:00
Matthias Schiffer
b06388df9a
lua-platform-info: add support for x86-64 target
2015-07-08 22:04:14 +02:00
Matthias Schiffer
1b7dd58099
Add lua-deflate, a minimal deflate compression library for Lua
2015-04-23 02:35:26 +02:00
Matthias Schiffer
2d0f8b38db
lua-platform-info: remove hypervisor-dependent image name logic
2015-03-16 00:50:52 +01:00
Matthias Schiffer
d9b982d5df
lua-platform-info: x86-generic: add image type detection
2015-03-15 19:39:35 +01:00
Matthias Schiffer
f221d17e1c
lua-platform-info: set image name for x86-kvm_guest target
2015-03-15 18:38:29 +01:00
Matthias Schiffer
661fe4e5b0
lua-platform-info: add support for ar71xx-nand target
2015-03-13 20:05:22 +01:00
Matthias Schiffer
34f0ac0bb2
lua-platform-info: add support for the x86-kvm_guest subtarget
2015-03-07 15:34:44 +01:00
Matthias Schiffer
230eebdf1c
lua-platform-info: allow + in image names
...
Otherwise the UAP Outdoor+ can't be distinguished from the old UAP Outdoor.
2015-02-17 20:37:56 +01:00
Matthias Schiffer
29add3169b
lua-platform-info: x86: return CPU model
2015-01-25 04:16:58 +01:00
Nils Schneider
a1d8c7ea0f
Merge branch 'for-2015.x'
2014-12-31 18:17:45 +01:00
Matthias Schiffer
78927d65a2
lua-platform-info: allow . character in image names
...
Additionally, multiple . will be collapsed to one, and combinations of - and .
with at least one - will be replaced by a single -
2014-11-26 21:32:38 +01:00