Browse Source

ps3-utils: Add Build/InstallDev section to package makefile

Signed-off-by: Geoff Levand <[email protected]>

SVN-Revision: 17302
Geoff Levand 16 năm trước cách đây
mục cha
commit
ffd920720b
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      package/ps3-utils/Makefile

+ 12 - 0
package/ps3-utils/Makefile

@@ -41,6 +41,18 @@ define Build/Configure
 	$(call Build/Configure/Default)
 endef
 
+define Build/InstallDev
+	$(INSTALL_DIR) $(1)/usr/include
+	$(INSTALL_DATA) \
+		$(PKG_INSTALL_DIR)/usr/include/ps3*.h \
+		$(1)/usr/include
+
+	$(INSTALL_DIR) $(1)/usr/lib
+	$(INSTALL_BIN) \
+		$(PKG_INSTALL_DIR)/usr/lib/libps3-utils.{la,a,so*} \
+		$(1)/usr/lib/
+endef
+
 define Package/ps3-utils/install
 	$(INSTALL_DIR) $(1)/usr/sbin
 	$(INSTALL_DIR) $(1)/usr/bin