Skip to contentSkip to conversation

mini-os: add comments in Config.mk regarding new config options

PATCH In review Juergen Gross 3 participants 3 messages Sep 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mini-os: add comments in Config.mk regarding new config options

Add some comment in Config.mk what to do in case of adding new config options.

---
 Config.mk | 5 +++++
 1 file changed, 5 insertions(+)
Config.mk +5 -0
index 0e405bf..0baedd1 100644
@@ -152,6 +152,11 @@ CFLAGS += -flto
 LDFLAGS-$(clang) += -plugin LLVMgold.so
 endif
 
+# When adding a new CONFIG_ option please make sure the test configurations
+# under arch/*/testbuild/ are updated accordingly. Especially
+# arch/*/testbuild/*-yes and arch/*/testbuild/*-no should set ALL possible
+# CONFIG_ variables.
+
 # Configuration defaults
 ifeq ($(TARGET_ARCH_FAM),x86)
 CONFIG_PARAVIRT ?= y
Signature · 7 lines
2.6.6


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Juergen Gross, on Mon 05 Sep 2016 13:43:30 +0200, wrote:

Add some comment in Config.mk what to do in case of adding new config options.

Quoted 23 lines
---
 Config.mk | 5 +++++
 1 file changed, 5 insertions(+)
Config.mk +5 -0
index 0e405bf..0baedd1 100644
@@ -152,6 +152,11 @@ CFLAGS += -flto
 LDFLAGS-$(clang) += -plugin LLVMgold.so
 endif
 
+# When adding a new CONFIG_ option please make sure the test configurations
+# under arch/*/testbuild/ are updated accordingly. Especially
+# arch/*/testbuild/*-yes and arch/*/testbuild/*-no should set ALL possible
+# CONFIG_ variables.
+
 # Configuration defaults
 ifeq ($(TARGET_ARCH_FAM),x86)
 CONFIG_PARAVIRT ?= y
Signature · 1 line
2.6.6
Signature · 14 lines
Samuel
+#if defined(__alpha__) && defined(CONFIG_PCI)
+       /*
+        * The meaning of life, the universe, and everything. Plus
+        * this makes the year come out right.
+        */
+       year -= 42;
+#endif
(From the patch for 1.3.2: (kernel/time.c), submitted by Marcus Meissner)

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel