[Buildroot] [git commit master 1/1] linux: drop LDFLAGS override

Peter Korsgaard jacmet at sunsite.dk
Tue Dec 7 22:01:35 UTC 2010


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

The current linux code overrides LDFLAGS that the kernel itself might be
setting up. Looking at the history, there doesn't seem to be any reason
for this override. It was added in ea8b1fa6a60705 without any logic.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 linux/linux.mk |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index 8dc7dd0..feda418 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -24,7 +24,6 @@ LINUX26_MAKE_FLAGS = \
 	ARCH=$(KERNEL_ARCH) \
 	INSTALL_MOD_PATH=$(TARGET_DIR) \
 	CROSS_COMPILE=$(TARGET_CROSS) \
-	LDFLAGS="$(TARGET_LDFLAGS)" \
 	LZMA="$(LZMA)"
 
 # Get the real Linux version, which tells us where kernel modules are
-- 
1.7.2.2



More information about the buildroot mailing list