fix mistakes in unpack change
[openwrt/svn-archive/archive.git] / include / host-build.mk
index 858eee53182ab9407efa6e1380ace928b7b4e28b..0502d7682a5c9514cd4e10d84fbdccfbef7375f8 100644 (file)
@@ -8,9 +8,9 @@
 include $(INCLUDE_DIR)/host.mk
 include $(INCLUDE_DIR)/unpack.mk
 
-ifneq ($(strip $(UNPACK)),)
+ifneq ($(strip $(PKG_UNPACK)),)
   define Build/Prepare/Default
-       $(UNPACK)
+       $(PKG_UNPACK)
        @if [ -d ./patches ]; then \
                $(PATCH) $(PKG_BUILD_DIR) ./patches; \
        fi