move kmod to top level directory
This commit is contained in:
parent
7bb46f9927
commit
f4a2bae666
9
kmod/Makefile
Normal file
9
kmod/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
obj-m += smartcapwap.o
|
||||
|
||||
smartcapwap-y := \
|
||||
main.o \
|
||||
netlinkapp.o \
|
||||
capwap.o \
|
||||
capwap_private.o
|
||||
|
||||
CFLAGS_capwap.o = -I$(src)
|
@ -74,7 +74,7 @@ define Build/Compile/wtp
|
||||
endef
|
||||
|
||||
NOSTDINC_FLAGS = \
|
||||
-I$(PKG_BUILD_DIR)/src/kmod \
|
||||
-I$(PKG_BUILD_DIR)/kmod \
|
||||
-I$(STAGING_DIR)/usr/include/mac80211-backport \
|
||||
-I$(STAGING_DIR)/usr/include/mac80211/uapi \
|
||||
-I$(STAGING_DIR)/usr/include/mac80211 \
|
||||
@ -85,7 +85,7 @@ define Build/Compile/kmod
|
||||
+$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
|
||||
ARCH="$(LINUX_KARCH)" \
|
||||
CROSS_COMPILE="$(KERNEL_CROSS)" \
|
||||
SUBDIRS="$(PKG_BUILD_DIR)/src/kmod" \
|
||||
SUBDIRS="$(PKG_BUILD_DIR)/kmod" \
|
||||
NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \
|
||||
modules
|
||||
endef
|
||||
|
@ -31,7 +31,7 @@ endif
|
||||
AM_CFLAGS += \
|
||||
-I$(top_srcdir)/lib \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/kmod \
|
||||
-I$(top_srcdir)/kmod \
|
||||
-I$(top_srcdir)/lib/binding/ieee80211 \
|
||||
-I$(top_srcdir)/src/binding/ieee80211
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user