kmod-sched-cake: fix parameter passing kernel/user space
[openwrt/openwrt.git] / package / kernel / rtc-rv5c386a / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=rtc-rv5c386a
12 PKG_RELEASE:=1
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define KernelPackage/rtc-rv5c386a
17 SUBMENU:=Other modules
18 DEPENDS:=@TARGET_brcm47xx @!IN_SDK
19 TITLE:=Driver for RTC RV5C386A (used in WL-700gE and WL-HDD)
20 AUTOLOAD:=$(call AutoLoad,70,rtc)
21 FILES:=$(PKG_BUILD_DIR)/rtc.ko
22 endef
23
24 define Build/Compile
25 $(MAKE) -C "$(LINUX_DIR)" \
26 CROSS_COMPILE="$(TARGET_CROSS)" \
27 ARCH="$(LINUX_KARCH)" \
28 SUBDIRS="$(PKG_BUILD_DIR)" \
29 EXTRA_CFLAGS="$(BUILDFLAGS)" \
30 modules
31 endef
32
33 $(eval $(call KernelPackage,rtc-rv5c386a))