From: Jo-Philipp Wich Date: Sun, 15 Jul 2012 19:29:43 +0000 (+0000) Subject: package-ipkg.mk: flag packages as "ok" after install X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ec770abd0de5a0141f25dc476c25e4fdd5e04a7d;p=openwrt%2Fstaging%2Fsvanheule.git package-ipkg.mk: flag packages as "ok" after install By flagging compile-time-installed packages as "ok", they can be differentiated from runtime-installed packages on the target later on. SVN-Revision: 32739 --- diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 0ce2055061..14520cfd95 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -191,7 +191,7 @@ ifeq ($(DUMP),) $$(INFO_$(1)): $$(IPKG_$(1)) @[ -d $(TARGET_DIR)/tmp ] || mkdir -p $(TARGET_DIR)/tmp $(OPKG) install $$(IPKG_$(1)) - $(if $(filter-out essential,$(PKG_FLAGS)),for flag in $(filter-out essential,$(PKG_FLAGS)); do $(OPKG) flag $$$$flag $(1); done) + $(if $(filter-out essential,$(PKG_FLAGS)),for flag in $(filter-out essential,$(PKG_FLAGS)); do $(OPKG) flag $$$$flag $(1); done,$(OPKG) flag ok $(1)) $(1)-clean: rm -f $(PACKAGE_DIR)/$(1)_*