← Commit list

f2ba45e33

Glenn L McGrath
Glenn L McGrath
2003-01-19
SOURCE BUG Duration: 2s

Subject

Compile option to avoid using /usr directory, patch by Bastian Blank

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/applets.h+5 -0
@@ -41,6 +41,11 @@
#define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d},
#endif
+#ifdef CONFIG_INSTALL_NO_USR
+#define _BB_DIR_USR_BIN _BB_DIR_BIN
+#define _BB_DIR_USR_SBIN _BB_DIR_SBIN
+#endif
+
#ifdef CONFIG_TEST
sysdeps/linux/Config.in+11 -0
@@ -157,6 +157,17 @@ config EXTRA_CFLAGS_OPTIONS
endmenu
+menu 'Installation Options'
+
+config CONFIG_INSTALL_NO_USR
+ bool "Don't use /usr"
+ default n
+ help
+ Disable use of /usr. Don't activate this option if you don't know,
+ that you really want this behaviour.
+
+endmenu
+
source archival/Config.in
source console-tools/Config.in
source debianutils/Config.in