[Buildroot] [git commit] package/Makefile.in: Fix dependency for selecting uclinux as TARGET_OS

Peter Korsgaard peter at korsgaard.com
Sun Oct 12 12:58:54 UTC 2014


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

Current setting only allows blackfin to select uclinux as TARGET_OS.
However, some noMMU ARM platforms that using FLAT binary format also need to
select uclinux as TARGET_OS. Fix the dependency.

Signed-off-by: Axel Lin <axel.lin at ingics.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/Makefile.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/Makefile.in b/package/Makefile.in
index 7d9943c..28a5bfd 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -38,8 +38,8 @@ endif
 # Compute GNU_TARGET_NAME
 GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI)
 
-# Blackfin FLAT needs uclinux
-ifeq ($(BR2_bfin)$(BR2_BINFMT_FLAT),yy)
+# FLAT binary format needs uclinux
+ifeq ($(BR2_BINFMT_FLAT),y)
 TARGET_OS = uclinux
 else
 TARGET_OS = linux


More information about the buildroot mailing list