summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-04-24 23:26:00 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-04-24 23:26:00 +0200
commitf3de6d578bc3f522ed066bd829cddafb6e31f22c (patch)
treee22d21329fd2298b01c5508ddd35d7ac76076952
parent36d1a7a5a3b78e278a0576d9856e6fb7ed1fe5c6 (diff)
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 <jacmet@sunsite.dk>
-rw-r--r--boot/u-boot/u-boot.mk2
1 files changed, 0 insertions, 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)