PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
-SER_MODULES := sl tm rr maxfwd usrloc registrar dbtext textops
+SER_MODULES := sl tm rr maxfwd usrloc registrar dbtext textops nathelper
SER_MODULE_FILES := $(foreach module,$(SER_MODULES),modules/$(module)/$(module).so)
SER_MODULES := $(patsubst %,modules/%,$(SER_MODULES))
extra_defs="-DUSE_PTHREAD_MUTEX " \
CC="$(TARGET_CC)" \
ARCH="$(ARCH)" \
- COPTS="$(TARGET_CFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS)" \
modules all
$(PKG_IPK): $(PKG_BUILD_DIR)/$(PKG_NAME)