tweak for building in fedora20
[ipfw-google.git] / kipfw / Makefile
index 431e1f9..9942499 100644 (file)
@@ -42,7 +42,8 @@ TARGET = kipfw
 # lets default for 2.6 for planetlab builds
 VER ?= 2.6
 
-$(warning ########## linux dir is $(LINUX_DIR) ###########)
+# $(warning ########## linux dir is $(LINUX_DIR) ###########)
+# $(warning ########## KERNELPATH is $(KERNELPATH) ###########)
 #--- General values for all types of build ---
 # obj-m is the target module
 obj-m := ipfw_mod.o
@@ -291,7 +292,7 @@ else # --- } {  linux 2.6 and newer
   # $(warning make is $(MAKE) version is $(shell $(MAKE) -version | head -1) )
 
   #--- openwrt ?
-  ifeq ($(_VER),openwrt)
+  ifeq ($(_VER),xx-openwrt)
     $(warning ----------------------- compiling for openwrt -----)
     M=.
     obj-y := $(IPFW_SRCS:%.c=%.o)