i'm not terribly familiar with the kconfig/kbuild system so i'm
looking for some pointers so i can track down the root cause here ...

some people like to cross-compile the Blackfin kernel on OS X hosts
and we noticed that in some cases the vmlinux.lds linker script is not
properly regenerated when changing some options in the kernel config
menu ... it works just fine on all our Linux hosts :)

linux/arch/blackfin/kernel/vmlinux.lds.S has this:
MEMORY
{
    ram : ORIGIN = CONFIG_BOOT_LOAD,
...

and in linux/arch/blackfin/Kconfig, we have:
config BOOT_LOAD
    hex "Kernel load address"
    default "0x1000"

if vmlinux.lds does not exist yet, running `make` generates the proper
file.  but if we do `make menuconfig` and update just BOOT_LOAD to say
0x4000 and then run `make`, vmlinux.lds is not regenerated.

doing `rm -f` on vmlinux.lds and re-running `make` once again produces
the correct file

any pointers on where to dig ? :)
-mike

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to