|
|
@@ -7,11 +7,9 @@
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
-include $(INCLUDE_DIR)/version.mk
|
|
|
-include $(INCLUDE_DIR)/feeds.mk
|
|
|
|
|
|
PKG_NAME:=opkg
|
|
|
-PKG_RELEASE:=1
|
|
|
+PKG_RELEASE:=2
|
|
|
PKG_FLAGS:=essential
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
@@ -25,15 +23,9 @@ PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
|
PKG_MAINTAINER:=Jo-Philipp Wich <[email protected]>
|
|
|
|
|
|
-PKG_FLAGS := nonshared
|
|
|
-
|
|
|
PKG_CONFIG_DEPENDS := \
|
|
|
CONFIG_SIGNED_PACKAGES \
|
|
|
- CONFIG_TARGET_INIT_PATH \
|
|
|
- CONFIG_PER_FEED_REPO \
|
|
|
- CONFIG_PER_FEED_REPO_ADD_DISABLED \
|
|
|
- CONFIG_PER_FEED_REPO_ADD_COMMENTED \
|
|
|
- $(foreach feed,$(FEEDS_INSTALLED),CONFIG_FEED_$(feed))
|
|
|
+ CONFIG_TARGET_INIT_PATH
|
|
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
@@ -93,8 +85,6 @@ define Package/opkg/install
|
|
|
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
|
|
$(INSTALL_DATA) ./files/customfeeds.conf $(1)/etc/opkg/customfeeds.conf
|
|
|
$(INSTALL_DATA) ./files/opkg$(2).conf $(1)/etc/opkg.conf
|
|
|
- $(call FeedSourcesAppend,$(1)/etc/opkg/distfeeds.conf)
|
|
|
- $(VERSION_SED) $(1)/etc/opkg/distfeeds.conf
|
|
|
$(INSTALL_BIN) ./files/20_migrate-feeds $(1)/etc/uci-defaults/
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg
|
|
|
ifneq ($(CONFIG_SIGNED_PACKAGES),)
|