liudf0716/apfree-wifidog

Download/default is missing the SUBDIR field.. Stop.

Closed this issue · 1 comments

Makefile:65: *** Download/default is missing the SUBDIR field.. Stop.
make[3]: Leaving directory '/home//Documents/openwrt-sdk-ipq806x/package/kunteng/net/apfree_wifidog'
package/Makefile:191: recipe for target 'package/kunteng/net/apfree_wifidog/compile' failed
make[2]: *** [package/
/net/apfree_wifidog/compile] Error 2
make[2]: Leaving directory '/home/
/Documents/openwrt-sdk-ipq806x'
package/Makefile:188: recipe for target '/home/
/Documents/openwrt-sdk-ipq806x/staging_dir/target-arm_cortex-a7_uClibc-1.0.14_eabi/stamp/.package_compile' failed

add following lines to the apfree_wifidog make file

PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)