diff options
author | Martin Hicks <mort@bork.org> | 2011-02-01 12:13:01 -0500 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-02-01 20:51:55 +0100 |
commit | e3fb2ce122055fd34df7e1712700e5d72bdb40e4 (patch) | |
tree | b0d7fec229bb54cfb411269795ecda6b0dbd7939 /boot | |
parent | d10e46fb7623673b590faac2a90dccea475a7e3e (diff) | |
download | buildroot-novena-e3fb2ce122055fd34df7e1712700e5d72bdb40e4.tar.gz buildroot-novena-e3fb2ce122055fd34df7e1712700e5d72bdb40e4.zip |
Enable ccache for u-boot compile
Just needed to pass in ccache as a prefix to the CROSS_TARGET variable.
Signed-off-by: Martin Hicks <mort@bork.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/u-boot/u-boot.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk index d520bb80e..2f890fa33 100644 --- a/boot/u-boot/u-boot.mk +++ b/boot/u-boot/u-boot.mk @@ -130,7 +130,7 @@ $(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ $(U_BOOT_CONFIGURE_OPTS) \ - $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \ + $(MAKE) CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \ $(U_BOOT_MAKE_OPT) -C $(U_BOOT_DIR) # Copy the result to the images/ directory |