diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-15 15:53:35 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-15 15:53:35 +0000 |
commit | 2a68a29c5789d8c950d887d123d21de644c6a1c7 (patch) | |
tree | 8c633717ce5368f598f65403cc82ab2373b9110f /libs/iwinfo/Makefile | |
parent | 89ece183ef93a16afcbbdf3dca5398d34c233aa6 (diff) |
libs/iwinfo: conditionally compile wl.o or madwifi support, make it depend on $(CRAP)
Diffstat (limited to 'libs/iwinfo/Makefile')
-rw-r--r-- | libs/iwinfo/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/iwinfo/Makefile b/libs/iwinfo/Makefile index 573dcae5a5..f9ce36abf4 100644 --- a/libs/iwinfo/Makefile +++ b/libs/iwinfo/Makefile @@ -7,10 +7,10 @@ include standalone.mk endif IWINFO_LDFLAGS = -IWINFO_CFLAGS = -fstrict-aliasing +IWINFO_CFLAGS = -fstrict-aliasing $(if $(CRAP),-DUSE_WL,-DUSE_MADWIFI) IWINFO_SO = iwinfo.so IWINFO_LUA = iwinfo.lua -IWINFO_OBJ = src/iwinfo_wl.o src/iwinfo_madwifi.o \ +IWINFO_OBJ = $(if $(CRAP),src/iwinfo_wl.o,src/iwinfo_madwifi.o) \ src/iwinfo_wext.o src/iwinfo_wext_scan.o src/iwinfo_lualib.o %.o: %.c |