diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/platform.h | 2 | ||||
-rw-r--r-- | include/usage.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h index 21224fabf..cdc1151ad 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -248,12 +248,10 @@ typedef unsigned smalluint; | |||
248 | (defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \ | 248 | (defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \ |
249 | __UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__) | 249 | __UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__) |
250 | #define BB_MMU 0 | 250 | #define BB_MMU 0 |
251 | #define BB_NOMMU 1 | ||
252 | #define USE_FOR_NOMMU(...) __VA_ARGS__ | 251 | #define USE_FOR_NOMMU(...) __VA_ARGS__ |
253 | #define USE_FOR_MMU(...) | 252 | #define USE_FOR_MMU(...) |
254 | #else | 253 | #else |
255 | #define BB_MMU 1 | 254 | #define BB_MMU 1 |
256 | /* BB_NOMMU is not defined in this case! */ | ||
257 | #define USE_FOR_NOMMU(...) | 255 | #define USE_FOR_NOMMU(...) |
258 | #define USE_FOR_MMU(...) __VA_ARGS__ | 256 | #define USE_FOR_MMU(...) __VA_ARGS__ |
259 | #endif | 257 | #endif |
diff --git a/include/usage.h b/include/usage.h index 3eb5b4867..4fba0e34e 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -4246,7 +4246,9 @@ | |||
4246 | "\n -O,--request-option=OPT Request DHCP option OPT (cumulative)" \ | 4246 | "\n -O,--request-option=OPT Request DHCP option OPT (cumulative)" \ |
4247 | "\n -o,--no-default-options Do not request any options (unless -O is also given)" \ | 4247 | "\n -o,--no-default-options Do not request any options (unless -O is also given)" \ |
4248 | "\n -f,--foreground Run in foreground" \ | 4248 | "\n -f,--foreground Run in foreground" \ |
4249 | USE_FOR_MMU( \ | ||
4249 | "\n -b,--background Background if lease is not immediately obtained" \ | 4250 | "\n -b,--background Background if lease is not immediately obtained" \ |
4251 | ) \ | ||
4250 | "\n -S,--syslog Log to syslog too" \ | 4252 | "\n -S,--syslog Log to syslog too" \ |
4251 | "\n -n,--now Exit with failure if lease is not immediately obtained" \ | 4253 | "\n -n,--now Exit with failure if lease is not immediately obtained" \ |
4252 | "\n -q,--quit Quit after obtaining lease" \ | 4254 | "\n -q,--quit Quit after obtaining lease" \ |
@@ -4273,7 +4275,9 @@ | |||
4273 | "\n -O OPT Request DHCP option OPT (cumulative)" \ | 4275 | "\n -O OPT Request DHCP option OPT (cumulative)" \ |
4274 | "\n -o Do not request any options (unless -O is also given)" \ | 4276 | "\n -o Do not request any options (unless -O is also given)" \ |
4275 | "\n -f Run in foreground" \ | 4277 | "\n -f Run in foreground" \ |
4278 | USE_FOR_MMU( \ | ||
4276 | "\n -b Background if lease is not immediately obtained" \ | 4279 | "\n -b Background if lease is not immediately obtained" \ |
4280 | ) \ | ||
4277 | "\n -S Log to syslog too" \ | 4281 | "\n -S Log to syslog too" \ |
4278 | "\n -n Exit with failure if lease is not immediately obtained" \ | 4282 | "\n -n Exit with failure if lease is not immediately obtained" \ |
4279 | "\n -q Quit after obtaining lease" \ | 4283 | "\n -q Quit after obtaining lease" \ |