2008-04-17 13:12:57 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=wrt55agv2-spidevs
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define KernelPackage/wrt55agv2-spidevs
|
|
|
|
SUBMENU:=Other modules
|
|
|
|
TITLE:=WRT55AG v2 SPI devices support
|
2015-03-13 03:02:28 +00:00
|
|
|
DEPENDS:=@TARGET_ath25 +kmod-spi-gpio-old +kmod-spi-ks8995
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(PKG_BUILD_DIR)/wrt55agv2_spidevs.ko
|
2008-04-17 13:12:57 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/wrt55agv2-spidevs/description
|
|
|
|
Kernel module for the SPI devices on the WRT55AG v2 board.
|
|
|
|
endef
|
|
|
|
|
|
|
|
MAKE_OPTS:= \
|
2017-10-13 09:10:03 +00:00
|
|
|
$(KERNEL_MAKE_FLAGS) \
|
2014-07-03 11:56:56 +00:00
|
|
|
SUBDIRS="$(PKG_BUILD_DIR)"
|
2008-04-17 13:12:57 +00:00
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C "$(LINUX_DIR)" \
|
|
|
|
$(MAKE_OPTS) \
|
|
|
|
modules
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,wrt55agv2-spidevs))
|