add target for library specific installations into the root staging dir, fix ipkg...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 8 Aug 2009 02:24:37 +0000 (02:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 8 Aug 2009 02:24:37 +0000 (02:24 +0000)
SVN-Revision: 17168

include/package-ipkg.mk

index debed2d..4af052c 100644 (file)
@@ -82,12 +82,13 @@ ifeq ($(DUMP),)
                $($(1)_COMMANDS) \
        )
 
-    $(STAGING_DIR_ROOT)/stamp/.$(1)_installed:
+    $(STAGING_DIR_ROOT)/stamp/.$(1)_installed: $(STAMP_BUILT)
        mkdir -p $(STAGING_DIR_ROOT)/stamp
        $(call Package/$(1)/install,$(STAGING_DIR_ROOT))
+       $(call Package/$(1)/install_lib,$(STAGING_DIR_ROOT))
        touch $$@
 
-    $$(IPKG_$(1)): $(STAGING_DIR)/etc/ipkg.conf $(PKG_BUILD_DIR)/.built $$(IDIR_$(1))/CONTROL/control
+    $$(IPKG_$(1)): $(STAGING_DIR)/etc/ipkg.conf $(STAMP_BUILT) $$(IDIR_$(1))/CONTROL/control
        $(call Package/$(1)/install,$$(IDIR_$(1)))
        mkdir -p $(PACKAGE_DIR)
        -find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' | $(XARGS) rm -rf