endif
-MAKE_FLAGS += MODULES="$(PKG_SELECTED_MODULES)" LUA_TARGET="$(LUA_TARGET)" CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" LDFLAGS="$(TARGET_LDFLAGS)"
+MAKE_FLAGS += MODULES="$(PKG_SELECTED_MODULES)" LUA_TARGET="$(LUA_TARGET)" \
+CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" LDFLAGS="$(TARGET_LDFLAGS)" \
+CFOPTS="$(TARGET_CONFIGURE_OPTS)"
$(eval $(call BuildPackage,luci-core))
touch $@
$(BOA_DIR)/.configured: $(BOA_DIR)/.patched
- (cd $(BOA_DIR); ./configure --disable-debug --disable-gunzip)
+ (cd $(BOA_DIR); ./configure --disable-debug --disable-gunzip $(CFOPTS))
touch $@
boa-compile: $(BOA_DIR)/.configured