diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /package/platform/lantiq/ltq-hcd/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'package/platform/lantiq/ltq-hcd/.svn')
-rw-r--r-- | package/platform/lantiq/ltq-hcd/.svn/entries | 65 | ||||
-rw-r--r-- | package/platform/lantiq/ltq-hcd/.svn/text-base/Makefile.svn-base | 53 |
2 files changed, 118 insertions, 0 deletions
diff --git a/package/platform/lantiq/ltq-hcd/.svn/entries b/package/platform/lantiq/ltq-hcd/.svn/entries new file mode 100644 index 0000000..f09538f --- /dev/null +++ b/package/platform/lantiq/ltq-hcd/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/package/platform/lantiq/ltq-hcd +svn://svn.openwrt.org/openwrt + + + +2013-03-14T18:42:57.683038Z +36019 +blogic + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +src +dir + +Makefile +file + + + + +2013-03-17T12:13:12.000000Z +528792004772d0af1b06ade09e1ab49c +2013-03-14T18:42:57.683038Z +36019 +blogic + + + + + + + + + + + + + + + + + + + + + +1590 + diff --git a/package/platform/lantiq/ltq-hcd/.svn/text-base/Makefile.svn-base b/package/platform/lantiq/ltq-hcd/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..74218c8 --- /dev/null +++ b/package/platform/lantiq/ltq-hcd/.svn/text-base/Makefile.svn-base @@ -0,0 +1,53 @@ +# Copyright (C) 2012 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:=ltq-hcd +PKG_RELEASE:=1 +PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/ltq-hcd-$(BUILD_VARIANT) + +PKG_MAINTAINER:=John Crispin <blogic@openwrt.org> + +include $(INCLUDE_DIR)/package.mk + +define KernelPackage/ltq-hcd-template + SECTION:=sys + CATEGORY:=Kernel modules + SUBMENU:=USB Support + TITLE:=USB driver for $(1) + URL:=http://www.lantiq.com/ + VARIANT:=$(1) + DEPENDS:=@TARGET_lantiq_$(2) +kmod-usb-core + FILES:=$(PKG_BUILD_DIR)/ltq_hcd_$(1).ko + AUTOLOAD:=$(call AutoLoad,50,ltq_hcd_$(1),1) +endef + +KernelPackage/ltq-hcd-ase=$(call KernelPackage/ltq-hcd-template,ase,ase) +KernelPackage/ltq-hcd-danube=$(call KernelPackage/ltq-hcd-template,danube,xway) +KernelPackage/ltq-hcd-ar9=$(call KernelPackage/ltq-hcd-template,ar9,xway) +KernelPackage/ltq-hcd-vr9=$(call KernelPackage/ltq-hcd-template,vr9,xway) +KernelPackage/ltq-hcd-ar10=$(call KernelPackage/ltq-hcd-template,ar10,xway) + +define Build/Prepare + $(INSTALL_DIR) $(PKG_BUILD_DIR) + $(CP) ./src/* $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile + cd $(LINUX_DIR); \ + ARCH=mips CROSS_COMPILE="$(KERNEL_CROSS)" \ + $(MAKE) BUILD_VARIANT=$(BUILD_VARIANT) M=$(PKG_BUILD_DIR) V=1 modules +endef + +$(eval $(call KernelPackage,ltq-hcd-ase)) +$(eval $(call KernelPackage,ltq-hcd-danube)) +$(eval $(call KernelPackage,ltq-hcd-ar9)) +$(eval $(call KernelPackage,ltq-hcd-vr9)) +$(eval $(call KernelPackage,ltq-hcd-ar10)) |