Lucid: Request pull fsam7400

Tim Gardner tim.gardner at canonical.com
Tue Dec 15 03:24:37 UTC 2009


The following changes since commit 28fbaff6e5e930613fc0e1edb3e205f22d2bbcfe:
   Andy Whitcroft (1):
         UBUNTU: Ubuntu-2.6.32-8.12

are available in the git repository at:

   git://kernel.ubuntu.com/rtg/ubuntu-lucid fsam7400

Tim Gardner (1):
       UBUNTU: [Config] Cleanup fsam7400 Makefile

  ubuntu/fsam7400/Makefile |   47 
----------------------------------------------
  1 files changed, 0 insertions(+), 47 deletions(-)

 From 2e6666d5346b318ff4e9e4c7d6f31d83f0441dc1 Mon Sep 17 00:00:00 2001
From: Tim Gardner <tim.gardner at canonical.com>
Date: Mon, 14 Dec 2009 16:17:34 -0700
Subject: [PATCH] UBUNTU: [Config] Cleanup fsam7400 Makefile

Ripped out the cruft from this Makefile so as not
to confuse folks.

Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
  ubuntu/fsam7400/Makefile |   47 
----------------------------------------------
  1 files changed, 0 insertions(+), 47 deletions(-)

diff --git a/ubuntu/fsam7400/Makefile b/ubuntu/fsam7400/Makefile
index b5a3a15..bba206f 100644
--- a/ubuntu/fsam7400/Makefile
+++ b/ubuntu/fsam7400/Makefile
@@ -1,49 +1,2 @@
-KERNELSRC?=/lib/modules/`uname -r`/build
-KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l 
REL $(KERNELSRC)/include/linux/version.h 
$(KERNELSRC)/include/linux/utsrelease.h))
-KERNELMAJOR=$(shell echo $(KERNELVERSION)|head -c3)

-CONFIG_FSAM7400?=m
  obj-$(CONFIG_FSAM7400) += fsam7400.o
-
-EXTRA_CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common
-INCLUDE=-I$(KERNELSRC)/include
-
-ifeq ($(KERNELMAJOR), 2.6)
-KERNEL26 := 1
-TARGET := fsam7400.ko
-else
-TARGET := fsam7400.o
-endif
-
-SOURCE := fsam7400.c
-
-all: $(TARGET)
-
-help:
-	@echo Possible targets:
-	@echo -e all\\t- default target, builds kernel module
-	@echo -e install\\t- copies module binary to 
/lib/modules/$(KERNELVERSION)/extra/
-	@echo -e clean\\t- removes all binaries and temporary files
-
-fsam7400.ko: $(SOURCE)
-	$(MAKE) -C $(KERNELSRC) SUBDIRS=$(PWD) modules
-
-fsam7400.o: $(SOURCE)
-	$(CC) $(INCLUDE) $(EXTRA_CFLAGS) -DDEBUG -DMODVERSIONS -DMODULE 
-D__KERNEL__ -o $(TARGET) $(SOURCE)
-
-clean:
-	@echo -n "sweeping directory... "
-	@rm -f *~ *.o *.ko .fsam7400* *.mod.c *symvers .tmp_versions/*
-	@if [ -d .tmp_versions ]; then rmdir .tmp_versions; fi
-	@echo "done"
-
-load:	$(TARGET)
-	insmod $(TARGET)
-
-unload:
-	rmmod fsam7400
-
-install: $(TARGET)
-	mkdir -p /lib/modules/$(KERNELVERSION)/extra
-	cp -v $(TARGET) /lib/modules/$(KERNELVERSION)/extra/
-	depmod -a
-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list