2.4 Makefile doubts

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

 



Hi All,
 
(a) The 2.4 kernel's drivers/net/Makefile has 4 lines in the beginning as follows:
 
obj-y    :=
obj-m   :=
obj-n    :=
obj-      :=
 
Are these lines necessary; they seem to be clearting the variables. What happens if these 4 lines are not present?
 
(b) Also the TULIP objects are included in the final object using the following rules
 
ifeq ($(CONFIG_TULIP_,y)
   obj-y += tulip/tulip.o
endif
 
Any reason why the normal rule as shown below is not used
obj-$(CONFIG_TULIP) += tulip/tulip.o
 
Has it got to do anything with tulip being a subdirectory?
 
Thanks in advance
Ed


Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger

[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