mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-19 02:31:30 +01:00
include build/installDev, remove some old stuff
This commit is contained in:
parent
9c39d1d394
commit
0b430906cb
2 changed files with 17 additions and 31 deletions
|
|
@ -19,22 +19,22 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/dongled
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libuci +libubox +ubus +libpthread +TARGET_iopsys_ramips:swconfig +TARGET_iopsys_ramips:libnl-tiny +libopenssl +libcurl +libmobile
|
||||
TITLE:=package for 4g dongle stuff
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libuci +libubox +ubus +libpthread +TARGET_iopsys_ramips:swconfig +TARGET_iopsys_ramips:libnl-tiny +libopenssl +libcurl +libmobile
|
||||
TITLE:=package for 4g dongle stuff
|
||||
endef
|
||||
|
||||
define Package/dongled/description
|
||||
questd collects system and network information and presents
|
||||
this information via ubus
|
||||
questd collects system and network information and presents
|
||||
this information via ubus
|
||||
endef
|
||||
|
||||
define Package/dongled/install
|
||||
$(CP) ./files/* $(1)/ # copy from files to final image
|
||||
$(INSTALL_DIR) $(1)/sbin # make the dir
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_apn $(1)/sbin/ # copy binaries to new directory
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_pin $(1)/sbin/ # copy binaries to new directory
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_network $(1)/sbin/ # copy binaries to new directory
|
||||
$(CP) ./files/* $(1)/ # copy from files to final image
|
||||
$(INSTALL_DIR) $(1)/sbin # make the dir
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_apn $(1)/sbin/ # copy binaries to new directory
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_pin $(1)/sbin/ # copy binaries to new directory
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_network $(1)/sbin/ # copy binaries to new directory
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,dongled))
|
||||
|
|
|
|||
|
|
@ -18,26 +18,6 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
#define Package/dongle
|
||||
# CATEGORY:=Utilities
|
||||
# DEPENDS:=+libuci +libubox +ubus +libpthread +TARGET_iopsys_ramips:swconfig +TARGET_iopsys_ramips:libnl-tiny +libopenssl +libcurl +libmobile
|
||||
# TITLE:=package for 4g dongle stuff
|
||||
#endef
|
||||
|
||||
#define Package/dongle/description
|
||||
# questd collects system and network information and presents
|
||||
# this information via ubus
|
||||
#endef
|
||||
|
||||
#define Package/dongle/install
|
||||
# $(CP) ./files/* $(1)/ # copy from files to final image
|
||||
# $(INSTALL_DIR) $(1)/sbin # make the dir
|
||||
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_apn $(1)/sbin/ # copy binaries to new directory
|
||||
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_pin $(1)/sbin/ # copy binaries to new directory
|
||||
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_network $(1)/sbin/ # copy binaries to new directory
|
||||
#endef
|
||||
|
||||
define Package/libmobile
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libuci +libubox +ubus +libpthread +TARGET_iopsys_ramips:swconfig +TARGET_iopsys_ramips:libnl-tiny +libopenssl +libcurl
|
||||
|
|
@ -49,10 +29,16 @@ define Package/libmobile/description
|
|||
this information via ubus
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmobile.{a,so*} $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/libmobile/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libmobile.so $(1)/usr/lib/ # copy binaries to new directory
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libmobile))
|
||||
#$(eval $(call BuildPackage,dongle))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue