Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 201922 | Differences between
and this patch

Collapse All | Expand All

(-)fsam7400-0.5.1/Makefile (-2 / +2 lines)
Lines 5-11 Link Here
5
CONFIG_FSAM7400?=m
5
CONFIG_FSAM7400?=m
6
obj-$(CONFIG_FSAM7400) += fsam7400.o
6
obj-$(CONFIG_FSAM7400) += fsam7400.o
7
7
8
CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
8
EXTRA_CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -fno-common
9
INCLUDE=-I$(KERNELSRC)/include
9
INCLUDE=-I$(KERNELSRC)/include
10
10
11
ifeq ($(KERNELMAJOR), 2.6)
11
ifeq ($(KERNELMAJOR), 2.6)
Lines 29-35 Link Here
29
	$(MAKE) -C $(KERNELSRC) SUBDIRS=$(PWD) modules
29
	$(MAKE) -C $(KERNELSRC) SUBDIRS=$(PWD) modules
30
30
31
fsam7400.o: $(SOURCE)
31
fsam7400.o: $(SOURCE)
32
	$(CC) $(INCLUDE) $(CFLAGS) -DDEBUG -DMODVERSIONS -DMODULE -D__KERNEL__ -o $(TARGET) $(SOURCE)
32
	$(CC) $(INCLUDE) $(EXTRA_CFLAGS) -DDEBUG -DMODVERSIONS -DMODULE -D__KERNEL__ -o $(TARGET) $(SOURCE)
33
33
34
clean:
34
clean:
35
	@echo -n "sweeping directory... "
35
	@echo -n "sweeping directory... "

Return to bug 201922