Skip to content

Instantly share code, notes, and snippets.

@c-mauderer
Created June 24, 2020 13:46
Show Gist options
  • Save c-mauderer/4d554377ff9b4dc9e5dbc11db327d40a to your computer and use it in GitHub Desktop.
Save c-mauderer/4d554377ff9b4dc9e5dbc11db327d40a to your computer and use it in GitHub Desktop.
diff --git a/bsps/arm/beagle/i2c/bbb-i2c.c b/bsps/arm/beagle/i2c/bbb-i2c.c
index 664684b02f..d86d75f817 100644
--- a/bsps/arm/beagle/i2c/bbb-i2c.c
+++ b/bsps/arm/beagle/i2c/bbb-i2c.c
@@ -199,7 +199,7 @@ static int am335x_i2c_reset( bbb_i2c_bus *bus )
}
if ( timeout <= 0 ) {
- puts( "ERROR: Timeout in soft-reset\n" );
+ //puts( "ERROR: Timeout in soft-reset\n" );
return ETIMEDOUT;
}
diff --git a/cpukit/libfreebsd/freebsd/dev/ofw/openfirm.c b/cpukit/libfreebsd/freebsd/dev/ofw/openfirm.c
index e7a67cfd34..3eb0fd4508 100644
--- a/cpukit/libfreebsd/freebsd/dev/ofw/openfirm.c
+++ b/cpukit/libfreebsd/freebsd/dev/ofw/openfirm.c
@@ -85,7 +85,7 @@ __FBSDID("$FreeBSD$");
#include "ofw_if.h"
#ifdef __rtems__
#include "openfirm.h"
-#include "../../rtems-freebsd-helper.h"
+#include <rtems-freebsd-helper.h>
#endif /* __rtems__ */
#ifndef __rtems__
@@ -901,4 +901,4 @@ OF_exit()
for (;;) /* just in case */
;
}
-#endif /* __rtems__ */
\ No newline at end of file
+#endif /* __rtems__ */
diff --git a/cpukit/libfreebsd/freebsd/dev/ofw/openfirm.h b/cpukit/libfreebsd/freebsd/dev/ofw/openfirm.h
index b4f6bf292a..0a88dfdc85 100644
--- a/cpukit/libfreebsd/freebsd/dev/ofw/openfirm.h
+++ b/cpukit/libfreebsd/freebsd/dev/ofw/openfirm.h
@@ -67,7 +67,7 @@
#include <machine/_bus.h>
#else /* __rtems__ */
#include <rtems.h>
-#include "../../rtems-freebsd-helper.h"
+#include <rtems-freebsd-helper.h>
#endif /* __rtems__ */
/*
@@ -201,4 +201,4 @@ int OF_decode_addr(phandle_t dev, int regno, bus_space_tag_t *ptag,
#endif /* __rtems__ */
#endif /* _KERNEL */
-#endif /* _DEV_OPENFIRM_H_ */
\ No newline at end of file
+#endif /* _DEV_OPENFIRM_H_ */
diff --git a/spec/build/cpukit/grp.yml b/spec/build/cpukit/grp.yml
index 3a285d03fc..bf076e9ce0 100644
--- a/spec/build/cpukit/grp.yml
+++ b/spec/build/cpukit/grp.yml
@@ -37,6 +37,8 @@ links:
uid: libtftpfs
- role: build-dependency
uid: libz
+- role: build-dependency
+ uid: libfreebsd
type: build
use-after: []
use-before: []
diff --git a/spec/build/cpukit/libfreebsd.yml b/spec/build/cpukit/libfreebsd.yml
index 46c727c32b..02fe9b557e 100644
--- a/spec/build/cpukit/libfreebsd.yml
+++ b/spec/build/cpukit/libfreebsd.yml
@@ -7,6 +7,7 @@ cppflags: []
cxxflags: []
enabled-by: true
includes:
+- cpukit/libfreebsd
- cpukit/libfreebsd/freebsd
install: []
links: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment