summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/amwall/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/openwrt/package/amwall/Makefile b/openwrt/package/amwall/Makefile
index 173a5d467..3fedcab96 100644
--- a/openwrt/package/amwall/Makefile
+++ b/openwrt/package/amwall/Makefile
@@ -18,11 +18,15 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,AMWALL,amwall,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
+ V= \
LDIR=$(PKG_BUILD_DIR) \
AMSEL_INCLUDE="$(STAGING_DIR)/usr/include" \
OPT_LDFLAGS="-L$(STAGING_DIR)/usr/lib" \