Re: Compilation issue with spin_lock_bh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fawad Lateef wrote:

It will be helpfull to get to the problem if you send your makefile !
By the way I think your CFLAGS = l.  assignment will be overriding the
default flags added (might be some which were added by the kernel
makefile) and changing it to CFLAGS += l. adding another flag and also
keeping the previous flags (CMIIW)

--
Fawad Lateef

Fawad,
I have shown my Makefile contents below. I printed the CFLAGS value before setting it, but it does not show any data in it. Do let me know if you see any anomality in my makefile.

---
CFLAGS += -I.
CFLAGS += -Wall

obj-m += test.o

all:
   make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
   rm -f *o *ko *mod.c
---

Sanjay Acharya



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux