fix ImageBuilder (closes: #3863)
[openwrt/staging/chunkeey.git] / target / imagebuilder / files / Makefile
index 27a6c94f9db24a380d866ba0d1b5f2937295789f..e8bd28f3184f620b7e4495176963b74f293ef6e8 100644 (file)
@@ -79,7 +79,7 @@ info: FORCE
 $(TOPDIR)/tmp/ipkg.conf: FORCE
        @mkdir -p $(TOPDIR)/tmp
        @echo 'dest root /' > $@
-       @echo 'src packages file:$(TOPDIR)/packages' >> $@
+       @echo 'src packages file:$(PACKAGE_DIR)' >> $@
 
 BUILD_PACKAGES:=$(sort $(DEFAULT_PACKAGES) $(PACKAGES) $($(PROFILE)_PACKAGES) kernel)
 ifeq ($(KERNEL),2.4)