X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e240cc0ea62aa7404ccf6187cc95cf6370212bef..d7e51c051d9143ed6583f82c9da783470f35950f:/package/nvram/Makefile diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 9cc6b9997..5900f6f05 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -28,9 +28,14 @@ define Package/nvram/install install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin endef -compile-targets: install-dev -install-dev: $(PKG_BUILD_DIR)/.built +define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/lib $(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib - +endef + +define Build/UninstallDev + rm -f $(STAGING_DIR)/usr/lib/libshared*.so \ + $(STAGING_DIR)/usr/lib/libnvram*.so +endef +$(eval $(call BuildPackage,nvram))