Commit graph

10 commits

Author SHA1 Message Date
Andre Heider
50380db79b enable useful compiler warnings via -Wall
There's no reason not to.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-12-15 20:07:27 +01:00
Felix Fietkau
b3e08c8b5a ops: make support for wireless extensions optional
It is usually not needed anymore and only wastes space

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-22 13:20:17 +02:00
Jo-Philipp Wich
23d2722b12 build: add ability to specify shared object version
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-01-06 23:47:37 +00:00
Jo-Philipp Wich
65b8333f5b Revert "build: compile with -ffunction-sections, -fdata-sections and LTO"
This reverts commit a51413988c.

It causes assertion failures in ld and requires changes to linked libraries,
so drop this for now.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-31 20:36:35 +02:00
Jo-Philipp Wich
a51413988c build: compile with -ffunction-sections, -fdata-sections and LTO
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-26 09:13:21 +02:00
Jo-Philipp Wich
d991fe5481 utils: add simple ubus query support
Some wireless runtime parameters are not available via nl80211, e.g.
the effective Mesh ID so we need to fetch those from ubus state info.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-24 17:36:17 +02:00
Felix Fietkau
717ff71750 Makefile: drop link against libblobmsg_json and libjson-c
They are not necessary

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-29 16:28:32 +02:00
Florian Fainelli
8e68ab0bb4 Makefile: explictly link with all shared libraries
linking with libuci means we need to link with libblobmsg_json, libjson-c and
libubox. Sinc e we do not use pkg-config or something equivalent, we need to
specify all dependencies.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-07-23 12:31:12 +02:00
nbd
fe7133f7e5 iwinfo: fix handling of accessing nl80211 interfaces via radio*
look up device path via uci instead of assuming a direct phy index

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/trunk@42759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 13:48:19 +01:00
Jo-Philipp Wich
8ae758db52 Initial commit
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-05 19:56:27 +02:00