diff options
author | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-05 12:58:00 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-05 12:58:00 +0200 |
commit | 6422fe2cd5683b83c7c4c3449fa778efd5de59a7 (patch) | |
tree | 871e51eaa984e88698dd41c2fb0431199073f4de /Makefile | |
parent | b39e410ca701f0d96b38a1347cc1d3aaddbe0164 (diff) | |
download | barebox-6422fe2cd5683b83c7c4c3449fa778efd5de59a7.tar.gz barebox-6422fe2cd5683b83c7c4c3449fa778efd5de59a7.tar.xz |
generate netx images in toplevel Makefile. This does not look very good
but I do not have another idea now.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -592,6 +592,15 @@ define rule_uboot__ $(OBJCOPY) -O binary uboot uboot.bin $(OBJDUMP) -d uboot > uboot.S + $(Q)if [ -n $(CONFIG_ARCH_NETX) ]; then \ + scripts/gen_netx_image -i uboot.bin -o uboot.netx \ + --sdramctrl=$(CONFIG_NETX_SDRAM_CTRL) \ + --sdramtimctrl=$(CONFIG_NETX_SDRAM_TIMING_CTRL) \ + --memctrl=$(CONFIG_NETX_MEM_CTRL) \ + --entrypoint=$(CONFIG_TEXT_BASE) \ + --cookie=$(CONFIG_NETX_COOKIE); \ + fi + $(Q)$(if $($(quiet)cmd_sysmap), \ echo ' $($(quiet)cmd_sysmap) System.map' &&) \ $(cmd_sysmap) $@ System.map; \ |