gluon-mesh-babel: fix respondd provider build/install
Rename to respondd.c / respondd.so, gluon.mk expects these names. This way we can remove the install code. The installed filename is changed to gluon-mesh-babel.so, bringing it in line with out common naming scheme.
This commit is contained in:
parent
7620d41c29
commit
af9c1f7e9f
@ -17,9 +17,6 @@ endef
|
||||
define Package/gluon-mesh-babel/install
|
||||
$(Gluon/Build/Install)
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_DIR) $(1)/usr/lib/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/babel-respondd.so $(1)/usr/lib/respondd/mesh-babel.so
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/status-page/providers
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/neighbours-babel $(1)/lib/gluon/status-page/providers/
|
||||
endef
|
||||
|
@ -1,4 +1,4 @@
|
||||
all: babel-respondd.so neighbours-babel
|
||||
all: respondd.so neighbours-babel
|
||||
|
||||
CFLAGS += -Wall -g -fPIC -D_GNU_SOURCE
|
||||
|
||||
@ -24,7 +24,7 @@ CFLAGS_JSONC = $(shell pkg-config --cflags json-c)
|
||||
LDFLAGS_JSONC = $(shell pkg-config --libs json-c)
|
||||
|
||||
|
||||
babel-respondd.so: babel-respondd.c handle_neighbour.c
|
||||
respondd.so: respondd.c handle_neighbour.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LDLIBS) -shared $(LDFLAGS_JSONC) -o $@ $^ -lgluonutil -lblobmsg_json -lubox -lubus -liwinfo -luci
|
||||
|
||||
neighbours-babel: neighbours-babel.c handle_neighbour.c
|
||||
|
Loading…
Reference in New Issue
Block a user