fix multi-essid setting for broadcom-wl
[openwrt.git] / package / fonera-mp3-drv / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 6501 2007-03-04 04:41:46Z pavlov $
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=fonera-mp3-driver
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define KernelPackage/fonera-mp3-driver
20 SUBMENU:=Other modules
21 DEPENDS:=@TARGET_atheros
22 TITLE:=Fonera-MP3 driver (VS1011X)
23 FILES:=$(PKG_BUILD_DIR)/mp3_drv.$(LINUX_KMOD_SUFFIX)
24 AUTOLOAD:=$(call AutoLoad,25,mp3_drv)
25 endef
26
27 define KernelPackage/fonera-mp3-driver/description
28 This package a kernel driver for a vs1011X attached to a fonera.
29 endef
30
31 define Build/Prepare
32 $(call Build/Prepare/Default)
33 $(CP) src/* $(PKG_BUILD_DIR)/
34 endef
35
36 define Build/Compile
37 $(MAKE) -C "$(LINUX_DIR)" \
38 CROSS_COMPILE="$(TARGET_CROSS)" \
39 ARCH="$(LINUX_KARCH)" V="$(V)" \
40 SUBDIRS="$(PKG_BUILD_DIR)" \
41 KERNELVERSION="$(KERNEL)" \
42 KERNEL_SOURCES="$(LINUX_DIR)" \
43 KDIR="$(LINUX_DIR)"
44 endef
45
46 $(eval $(call KernelPackage,fonera-mp3-driver))
This page took 0.03882 seconds and 5 git commands to generate.