From 6073aa6f2e3d8233b2c1d07faebadb7d4a6dc245 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 20 Aug 2009 14:04:40 +0000
Subject: fix multiple ipkg builds of the same arch but with different targets
 in the same checkout

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17325 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 include/package-ipkg.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 5d5c826842..245e29fa5d 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -33,7 +33,7 @@ filter_deps=$(foreach dep,$(call strip_deps,$(1)),$(if $(findstring :,$(dep)),$(
 ifeq ($(DUMP),)
   define BuildTarget/ipkg
     IPKG_$(1):=$(PACKAGE_DIR)/$(1)_$(VERSION)_$(PKGARCH).ipk
-    IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(1)
+    IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg-$(PKGARCH)/$(1)
     INFO_$(1):=$(IPKG_STATE_DIR)/info/$(1).list
 
     ifdef Package/$(1)/install
-- 
cgit v1.2.3