Where is the system call table in linux kernel v3.9?

Iker Pedrosa ikerpedrosam at gmail.com
Wed Jul 31 06:12:35 EDT 2013


On Wed, 24 Jul 2013 17:19:13 +0530
Srinivas Ganji <srinivasganji.kernel at gmail.com> wrote:

> Hi Iker Pedrosa,
> 
> Please look at how to write the Kconfig files. We need to write a new
> Kconfig file for our own implementation.
> 
> Regards,
> Srinivas G.
> 
>

Hi again,

I've just created the Kconfig and I have pend it from General setup, it's been a little bit difficult, mainly the part to pend it from General setup. Now, I've got some questions, which is the difference between the following statements?
1)
ifdef CONFIG_MY_SYSTEM_CALL
obj-y += my_system_calls.o
endif

2)
obj-(CONFIG_MY_SYSTEM_CALL)	+= my_system_calls.o

Where do I build the object in the object in the second option? Is it done in the same Makefile or in another one?

Regards,
-- 
Iker Pedrosa <ikerpedrosam at gmail.com>



More information about the Kernelnewbies mailing list