Searched hist:db5b339cca2f7b7824372f02932c3d7c24a34ed3 (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/tools/ |
H A D | Makefile | db5b339cca2f7b7824372f02932c3d7c24a34ed3 Sun Mar 02 20:06:19 CST 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> kbuild: add "cross_tools" target to build tools for the target
Programs in tools/ directory are usually built for the host. But some of them (mkimage, dumpimge, gen_eth_addr, etc.) are useful on the target OS too.
Actually, prior to Kbuild, U-Boot could build tools for the target like follows:
$ make <target_board>_config $ export CROSS_COMPILE=<cross_gcc_prefix> $ make HOSTCC=${CROSS_COMPILE}gcc HOSTSTRIP=${CROSS_COMPILE}strip tools
In Kbuild, we can no longer replace HOSTCC at the command line.
In order to get back that feature, this commit adds "cross-tools" target.
Usage:
Build tools for the host $ make CROSS_COMPILE=<cross_gcc_prefix> tools
Build tools for the target $ make CROSS_COMPILE=<cross_gcc_prefix> cross_tools
Besides, "make cross_tools" strip tools programs because we generally expect smaller storages on embedded systems.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reported-by: Heiko Schocher <hs@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Tested-by: Heiko Schocher <hs@denx.de> Acked-by: Heiko Schocher <hs@denx.de>
|
/openbmc/u-boot/ |
H A D | Makefile | db5b339cca2f7b7824372f02932c3d7c24a34ed3 Sun Mar 02 20:06:19 CST 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> kbuild: add "cross_tools" target to build tools for the target
Programs in tools/ directory are usually built for the host. But some of them (mkimage, dumpimge, gen_eth_addr, etc.) are useful on the target OS too.
Actually, prior to Kbuild, U-Boot could build tools for the target like follows:
$ make <target_board>_config $ export CROSS_COMPILE=<cross_gcc_prefix> $ make HOSTCC=${CROSS_COMPILE}gcc HOSTSTRIP=${CROSS_COMPILE}strip tools
In Kbuild, we can no longer replace HOSTCC at the command line.
In order to get back that feature, this commit adds "cross-tools" target.
Usage:
Build tools for the host $ make CROSS_COMPILE=<cross_gcc_prefix> tools
Build tools for the target $ make CROSS_COMPILE=<cross_gcc_prefix> cross_tools
Besides, "make cross_tools" strip tools programs because we generally expect smaller storages on embedded systems.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reported-by: Heiko Schocher <hs@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Tested-by: Heiko Schocher <hs@denx.de> Acked-by: Heiko Schocher <hs@denx.de>
|