diff options
author | John Crispin <blogic@openwrt.org> | 2007-08-27 20:10:35 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2007-08-27 20:10:35 +0000 |
commit | a2c409cda27b6aaae7dc34759ba2c8285ddd01d3 (patch) | |
tree | e77ccd710367d8139ccc8be6145e15c42600060e /package/fonera-mp3-drv/Makefile | |
parent | 37266a51f1289f940d571c0871d17dfbe76f7aed (diff) | |
download | master-187ad058-a2c409cda27b6aaae7dc34759ba2c8285ddd01d3.tar.gz master-187ad058-a2c409cda27b6aaae7dc34759ba2c8285ddd01d3.tar.bz2 master-187ad058-a2c409cda27b6aaae7dc34759ba2c8285ddd01d3.zip |
added libjson-c. added driver, webinterface and userspace daemon for the
fonera mp3-hack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8509 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/fonera-mp3-drv/Makefile')
-rw-r--r-- | package/fonera-mp3-drv/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/package/fonera-mp3-drv/Makefile b/package/fonera-mp3-drv/Makefile new file mode 100644 index 0000000000..81fbaddb9a --- /dev/null +++ b/package/fonera-mp3-drv/Makefile @@ -0,0 +1,44 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 6501 2007-03-04 04:41:46Z pavlov $ + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=fonera-mp3-driver +PKG_RELEASE:=1 + +PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define KernelPackage/fonera-mp3-driver + SUBMENU:=Other modules + VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(LINUX_RELEASE) + DEPENDS:=@LINUX_2_6_ATHEROS + TITLE:=Fonera-MP3 driver (VS1011X) + DESCRIPTION:=driver for a vs1011X attached to a fonera + FILES:=$(PKG_BUILD_DIR)/mp3_drv.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,25,mp3-drv) +endef + +define Build/Prepare + $(call Build/Prepare/Default) + $(CP) -r src/* $(PKG_BUILD_DIR)/ +endef + +define Build/Compile + $(MAKE) -C "$(LINUX_DIR)" \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + ARCH="$(LINUX_KARCH)" V="$(V)" \ + SUBDIRS="$(PKG_BUILD_DIR)" \ + KERNELVERSION="$(KERNEL)" \ + KERNEL_SOURCES="$(LINUX_DIR)" \ + KDIR="$(LINUX_DIR)" +endef + +$(eval $(call KernelPackage,fonera-mp3-driver)) |