• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libhid/0003-uclinux.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
 
1
Good old 'uclinux is also linux'
2
​
3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
​
5
diff -Nura libhid-0.2.16.orig/configure.ac libhid-0.2.16/configure.ac
6
--- libhid-0.2.16.orig/configure.ac 2014-06-22 09:35:50.277261742 -0300
7
+++ libhid-0.2.16/configure.ac  2014-06-22 09:36:10.688951947 -0300
8
@@ -80,6 +80,7 @@
9
 
10
 MD_CONF_DEBUGGING
11
 MD_CONF_COMPILER
12
+AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "uclinux")
13
 AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux")
14
 AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd")
15
 AM_CONDITIONAL(OS_SOLARIS, test "$MD_OS" = "solaris")
16
diff -Nura libhid-0.2.16.orig/m4/md_check_os.m4 libhid-0.2.16/m4/md_check_os.m4
17
--- libhid-0.2.16.orig/m4/md_check_os.m4    2014-06-22 09:35:50.275261675 -0300
18
+++ libhid-0.2.16/m4/md_check_os.m4 2014-06-22 09:46:17.651475891 -0300
19
@@ -3,7 +3,7 @@
20
     AC_CANONICAL_HOST
21
     AC_MSG_CHECKING(for target OS)
22
     case $host in
23
-      *-linux*)
24
+      *-linux*|*-uclinux*)
25
         AC_DEFINE(OS_LINUX, [], [define to 1 if building for Linux])
26
         AC_SUBST(OS_LINUX)
27
         MD_OS=linux
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.