[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH 1/2] build: Deduce the in-tree platform



Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 07.10.19 17:00, Sharan Santhanam wrote:
The patch remove the hard-coded platform list and builds the in-tree
platform list

Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>
---
  Makefile | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8341310..c022561 100644
--- a/Makefile
+++ b/Makefile
@@ -151,7 +151,10 @@ KCONFIG_TRISTATE      := $(KCONFIG_DIR)/tristate.config
  KCONFIG_AUTOHEADER    := $(UK_GENERATED_INCLUDES)/uk/_config.h
  KCONFIG_APP_DIR       := $(CONFIG_UK_APP)
  KCONFIG_LIB_IN        := $(KCONFIG_DIR)/libs.uk
-KCONFIG_DEF_PLATS     := $(addprefix $(CONFIG_UK_PLAT),linuxu kvm xen)
+KCONFIG_DEF_PLATS     := $(shell find $(CONFIG_UK_PLAT)/* -maxdepth 0 \
+                          -type d \( -path $(CONFIG_UK_PLAT)/common -o \
+                          -path $(CONFIG_UK_PLAT)/drivers \
+                          \) -prune -o  -type d -print)
  KCONFIG_LIB_DIR       := $(CONFIG_UK_BASE)/lib $(ELIB_DIR)
  KCONFIG_PLAT_DIR      := $(KCONFIG_DEF_PLATS) $(EPLAT_DIR) $(CONFIG_UK_PLAT)
  KCONFIG_PLAT_IN       := $(KCONFIG_DIR)/plat.uk


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.