Re: Which header file?

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

 



On Wed, 16 Nov 2016 21:01:19 +0000, Amit Kumar said:

> In linux/include/linux/atomic.h, there are two files included asm/atomic.h
> and asm/barrier.h. Both files are present in linux/include/asm-generic and
> linux/arch/arm/include/asm. If I build like,
> CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm make zImage dtbs
> then which file is being used.

Hint 1: Check for symlinks.
Hint 2: Compile with  'make V=1' which will show the complete gcc command line,
so you can see the order of -I parameters.

Attachment: pgp_H4B4591af.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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