fixed floating point issues for SuSE kernels.

merge-requests/1/head
Gerhard Jaeger 2004-06-30 13:43:27 +00:00
rodzic 47c50edf00
commit ae16cd04b6
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -8,6 +8,8 @@
ifeq ($(LINUXVERSION),) ifeq ($(LINUXVERSION),)
LINUXVERSION = $(shell uname -r) LINUXVERSION = $(shell uname -r)
endif endif
LINUXRELEASE = $(shell uname -r | cut -d'.' -f3)
VERSION0 = $(shell cat $(SUBDIRS)/../VERSION0) VERSION0 = $(shell cat $(SUBDIRS)/../VERSION0)
VERSION1 = $(shell cat $(SUBDIRS)/../VERSION1) VERSION1 = $(shell cat $(SUBDIRS)/../VERSION1)
BUILD = $(shell cat $(SUBDIRS)/../BUILD) BUILD = $(shell cat $(SUBDIRS)/../BUILD)
@ -21,6 +23,10 @@ ifeq ($(DEBUG),y)
EXTRA_CFLAGS += -DDEBUG EXTRA_CFLAGS += -DDEBUG
endif endif
ifeq ($(shell test `uname -r | cut -d'.' -f3` -lt 6 && echo 1),1)
EXTRA_CFLAGS += -mhard-float
endif
# #
# the module name # the module name
# #
@ -48,7 +54,7 @@ KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd) PWD := $(shell pwd)
default: default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules $(MAKE) -C $(KDIR) M=$(PWD) modules
endif endif
# #