Makefile revision 18728fe0
1 2include $(TOPDIR)/rules.mk 3include $(INCLUDE_DIR)/kernel.mk 4 5PKG_NAME:=oaf 6include $(INCLUDE_DIR)/package.mk 7 8PKG_AUTOLOAD:=oaf 9RSTRIP:=: 10 11define KernelPackage/oaf 12 SECTION:=Derry Apps 13 CATEGORY:=Derry Apps 14 TITLE:=open app filter kernel module 15 FILES:=$(PKG_BUILD_DIR)/oaf.ko 16 DEPENDS:=+kmod-ipt-conntrack 17 KCONFIG:= 18 AUTOLOAD:=$(call AutoLoad,0,$(PKG_AUTOLOAD)) 19endef 20 21define KernelPackage/oaf/description 22 open appfilter kernel module 23endef 24 25 26MAKE_OPTS:= \ 27 $(KERNEL_MAKE_FLAGS) \ 28 M="$(PKG_BUILD_DIR)" \ 29 EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ 30 $(EXTRA_KCONFIG) 31 32define Build/Compile 33 $(MAKE) -C "$(LINUX_DIR)" \ 34 $(MAKE_OPTS) \ 35 modules 36endef 37 38$(eval $(call KernelPackage,oaf)) 39 40