mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 00:48:32 +08:00
waf: Add the ability to set FreeBSD options on the configure command line.
Add --freebsd-options to add specific FreeBSD compile time options to the build. This is a developer tool.
This commit is contained in:
@@ -161,6 +161,11 @@ sysinit_add(struct sysinit **set, struct sysinit **set_end)
|
||||
newsysinit_end = newset + count;
|
||||
}
|
||||
#else /* __rtems__ */
|
||||
#ifdef BOOTVERBOSE
|
||||
int bootverbose = 1;
|
||||
SYSCTL_INT(_debug, OID_AUTO, bootverbose, CTLFLAG_RW, &bootverbose, 0,
|
||||
"Control the output of verbose kernel messages");
|
||||
#endif
|
||||
RWSET_DECLARE(sysinit_set, struct sysinit);
|
||||
#endif /* __rtems__ */
|
||||
|
||||
|
@@ -73,7 +73,11 @@ extern int boothowto; /* reboot flags, from console subsystem */
|
||||
#ifndef __rtems__
|
||||
extern int bootverbose; /* nonzero to print verbose messages */
|
||||
#else /* __rtems__ */
|
||||
#define bootverbose 0 /* XXX RTEMS doesn't support verbose */
|
||||
#ifdef BOOTVERBOSE
|
||||
extern int bootverbose; /* nonzero to print verbose messages */
|
||||
#else
|
||||
#define bootverbose 0 /* Remove all verbose code for the standard RTEMS build */
|
||||
#endif /* BOOTVERBOSE */
|
||||
#endif /* __rtems__ */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user