[Buildroot] [git commit] u-boot: remove extra CFLAGS / LDFLAGS handling

Peter Korsgaard jacmet at sunsite.dk
Sun Apr 24 21:32:46 UTC 2011


commit: http://git.buildroot.net/buildroot/commit/?id=f3de6d578bc3f522ed066bd829cddafb6e31f22c
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

TARGET_CONFIGURE_FLAGS already contain CFLAGS/LDFLAGS, so no point in
setting them explicitly.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 boot/u-boot/u-boot.mk |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk
index a86819b..2f839c5 100644
--- a/boot/u-boot/u-boot.mk
+++ b/boot/u-boot/u-boot.mk
@@ -129,8 +129,6 @@ endif # BR2_TARGET_UBOOT_NETWORK
 # Build U-Boot itself
 $(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified
 	$(TARGET_CONFIGURE_OPTS) \
-		CFLAGS="$(TARGET_CFLAGS)" \
-		LDFLAGS="$(TARGET_LDFLAGS)" \
 		$(U_BOOT_CONFIGURE_OPTS) \
 		$(MAKE) CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
 		$(U_BOOT_MAKE_OPT) -C $(U_BOOT_DIR)
-- 
1.7.3.4



More information about the buildroot mailing list