~ubuntu-branches/ubuntu/oneiric/oss4/oneiric-proposed

« back to all changes in this revision

Viewing changes to setup/Linux/arm/Makefile.osscore.arm

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Rivera
  • Date: 2011-06-16 20:37:48 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110616203748-jbrxik6ql33z54co
Tags: 4.2-build2004-1ubuntu1
* Merge from Debian unstable.
  - Supports our current kernel (LP: #746048)
  Remaining changes:
  - debian/oss4-dkms.dkms.in: s/source/build/ in Kernel headers paths.
* ld-as-needed.patch: Re-order CC arguments to enable building with ld
  --as-needed (LP: #770972)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
ifneq ($(KERNELRELEASE),)
 
3
 
 
4
        obj-m := osscore.o
 
5
 
 
6
else
 
7
 
 
8
        PWD := $(shell pwd)
 
9
endif
 
10
 
 
11
default:
 
12
        @echo "static const char __oss_compile_vermagic[];" > ubuntu_version_hack.inc
 
13
        $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
 
14
 
 
15
clean:
 
16
        rm -f *.o *.ko *.mod.c *.mod.o .*.cmd core core.* x y z
 
17
        rm -rf .tmp_versions