diff --git a/package/gluon-mesh-babel/Makefile b/package/gluon-mesh-babel/Makefile index 14577c82..20ccd125 100644 --- a/package/gluon-mesh-babel/Makefile +++ b/package/gluon-mesh-babel/Makefile @@ -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 diff --git a/package/gluon-mesh-babel/src/Makefile b/package/gluon-mesh-babel/src/Makefile index e307d6ea..98a22d5e 100644 --- a/package/gluon-mesh-babel/src/Makefile +++ b/package/gluon-mesh-babel/src/Makefile @@ -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 diff --git a/package/gluon-mesh-babel/src/babel-respondd.c b/package/gluon-mesh-babel/src/respondd.c similarity index 100% rename from package/gluon-mesh-babel/src/babel-respondd.c rename to package/gluon-mesh-babel/src/respondd.c