You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.0 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../rt2570/dist.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- rt2570/Module/Makefile.orig 2005-08-19 01:18:00.000000000 +0200
+++ rt2570/Module/Makefile 2005-08-19 06:43:57.000000000 +0200
@@ -111,41 +111,15 @@
@rm -fr .tmp_versions
modules_install:
-ifeq ($(PATCHLEVEL),4)
if ! [ -f $(MODULE_OBJECT) ]; then \
module; \
fi
@echo "install '$(MODULE_OBJECT)' to $(MODULE_ROOT)"
install -m 755 -o 0 -g 0 -d $(MODULE_ROOT)
install -m 644 -o 0 -g 0 $(MODULE_OBJECT) $(MODULE_ROOT)
- /sbin/depmod -a
-else
- echo "2.6 module install"
- make $(KBUILD_PARAMS) modules_install
- /sbin/depmod -a
-endif
-
install: modules_install
- @if ! grep -q 'rausb0' $(MODULE_CONF) ; then \
- echo "append 'alias rausb0 rt2570' to $(MODULE_CONF)"; \
- echo "alias rausb0 rt2570" >> $(MODULE_CONF) ; \
- fi
-install-fedora:
- if ! [ -f $(MODULE_OBJECT) ]; then \
- module; \
- fi
- @echo "install '$(MODULE_OBJECT)' to $(MODULE_ROOT)"
- install -m 755 -o 0 -g 0 -d $(MODULE_ROOT)
- install -m 644 -o 0 -g 0 $(MODULE_OBJECT) $(MODULE_ROOT)
- /sbin/depmod -a
-
- @if ! grep -q 'wlan0' /etc/modprobe.conf ; then \
- echo "append 'alias wlan0 rt2570' to /etc/modprobe.conf"; \
- echo "alias wlan0 rt2570" >> /etc/modprobe.conf ; \
- echo "options rt2570 ifname=wlan%d" >> /etc/modprobe.conf ; \
- fi
ifeq ($(PATCHLEVEL), 4)
include $(KERNEL_SOURCES)/Rules.make
endif