| From 683f6875313cab9643402bb1710ebabb76e7c018 Mon Sep 17 00:00:00 2001 |
| From: Fabrice Fontaine <fontaine.fabrice@gmail.com> |
| Date: Thu, 14 Jan 2021 08:37:06 +0100 |
| Subject: [PATCH] configure: add uclinux target |
| |
| Fix the following build failure with |
| --target=arm-buildroot-uclinux-uclibcgnueabi: |
| |
| Checking for target OS ... UNKNOWN |
| |
| Error: Unknown target OS, please specify the --target option |
| |
| Fixes: |
| - http://autobuild.buildroot.org/results/598ca65cf0c7ecf9ceaecb75868b656570ae00d2 |
| |
| Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> |
| --- |
| configure | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/configure b/configure |
| index c8e1ea7..aae4dce 100755 |
| --- a/configure |
| +++ b/configure |
| @@ -426,7 +426,7 @@ else |
| component=$1 |
| part=$(echo $BUILD_TARGET | cut -d '-' -f $component) |
| case "$(echo $part | tr '[A-Z]' '[a-z]')" in |
| - linux) TARGET_OS=Linux ;; |
| + linux|uclinux) TARGET_OS=Linux ;; |
| freebsd*) TARGET_OS=FreeBSD ;; |
| gnu/kfreebsd) TARGET_OS=FreeBSD ;; |
| netbsd) TARGET_OS=NetBSD ;; |
| -- |
| 2.29.2 |
| |