Skip to content

Commit

Permalink
[include] package-ipkg.mk: flag packages as "ok" after install
Browse files Browse the repository at this point in the history
By flagging compile-time-installed packages as "ok", they can be differentiated
from runtime-installed packages on the target later on.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32739 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
jow committed Jul 15, 2012
1 parent 1344fb0 commit 91671f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/package-ipkg.mk
Expand Up @@ -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)_*
Expand Down

0 comments on commit 91671f3

Please sign in to comment.