X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6f5a624c71b763189516925c0af5319bddfac28c..319b23364588659de57b9c526048319130bcdd6a:/package/madwifi/Makefile diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index 93f695db9..250c6fd68 100644 --- a/package/madwifi/Makefile +++ b/package/madwifi/Makefile @@ -46,7 +46,11 @@ PKG_BUILD_DEPENDS:=wprobe include $(INCLUDE_DIR)/package.mk -COMPRESSION:=1 +ifdef CONFIG_MADWIFI_COMPRESSION + COMPRESSION:=1 +else + COMPRESSION:=0 +endif define Download/hal FILE:=$(HAL_FILE) @@ -224,6 +228,7 @@ define Build/Prepare $(SED) 's, -E[LB],,' \ -e 's, -mips2,,' \ -e 's, -mapcs-32,,' \ + -e 's, -mlong-calls,,' \ $(PKG_BUILD_DIR)/hal/public/*.inc $(SED) 's,march=armv4,march=armv5te,' \ $(PKG_BUILD_DIR)/hal/public/xscale*.inc