LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File at76_usb.diff of Package at76_usb (Project DISCONTINUED:openSUSE:10.3:Update)

Index: at76_usb-0.14beta1/Makefile
--- at76_usb-0.14beta1.orig/Makefile
+++ at76_usb-0.14beta1/Makefile
@@ -7,28 +7,6 @@
 #	the License, or (at your option) any later version.
-# KERNEL_PATH is the path to the Linux kernel build tree.  It is usually
-# the same as the kernel tree, except when a separate directory was used
-# for the binaries.  By default, we try to compile the modules for the
-# currently running kernel.
-KERNEL_PATH ?= $(shell readlink -f /lib/modules/`uname -r`/build)
-ifeq (,$(KERNEL_PATH))
-$(error Kernel tree not found - please set KERNEL_PATH)
-VERSION_HEADER = $(KERNEL_PATH)/include/linux/utsrelease.h
-ifeq (,$(wildcard $(VERSION_HEADER)))
-VERSION_HEADER = $(KERNEL_PATH)/include/linux/version.h
-ifeq (,$(wildcard $(VERSION_HEADER)))
-$(error Kernel in $(KERNEL_PATH) is not configured)
-# Kernel Makefile doesn't always know the exact kernel version, so we
-# get it from the kernel headers instead and pass it to make.
-KERNELRELEASE = $(shell sed -ne 's/"//g;s/^\#define UTS_RELEASE //p' \
 obj-m = at76_usb.o