[ar71xx] revert r27341, it introduce wrong behaviour for other models
[openwrt.git] / package / pjsip / Makefile
index f1317ff..c1021f3 100644 (file)
@@ -64,7 +64,7 @@ EXTRA_CFLAGS:=-I$(STAGING_DIR)/usr/include/drv_tapi -I$(STAGING_DIR)/usr/include
 endif
 
 Package/pjsip-oss=$(call Package/pjsip-template,oss,)
 endif
 
 Package/pjsip-oss=$(call Package/pjsip-template,oss,)
-Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,@TARGET_lantiq)
+Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,@TARGET_lantiq +TARGET_lantiq:kmod-ltq-tapi +TARGET_lantiq:kmod-ltq-vmmc)
 
 define Build/Prepare
        $(PKG_UNPACK)
 
 define Build/Prepare
        $(PKG_UNPACK)
@@ -79,7 +79,7 @@ endef
 
 define Build/Compile
        CFLAGS="$(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
 
 define Build/Compile
        CFLAGS="$(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
-       LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
+       LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) $(LIBGCC_S)" \
                $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH)
 endef
 
                $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH)
 endef
 
This page took 0.022061 seconds and 4 git commands to generate.