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