summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 4218bbf1b..ba027d457 100644
--- a/rules.mk
+++ b/rules.mk
@@ -119,5 +119,5 @@ IPKG_STATE_DIR := $(TARGET_DIR)/usr/lib/ipkg
IPKG_BUILD := PATH="$(TARGET_PATH)" ipkg-build -c -o root -g root
# where to build (and put) .ipk packages
-IPKG_TARGET_DIR := $(BUILD_DIR)
+IPKG_TARGET_DIR := $(PACKAGE_DIR)