From f3de6d578bc3f522ed066bd829cddafb6e31f22c Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 24 Apr 2011 23:26:00 +0200 Subject: u-boot: remove extra CFLAGS / LDFLAGS handling TARGET_CONFIGURE_FLAGS already contain CFLAGS/LDFLAGS, so no point in setting them explicitly. Signed-off-by: Peter Korsgaard --- boot/u-boot/u-boot.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk index a86819b5d..2f839c53c 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) -- cgit v1.2.3