From 554876ceeef7d69bf540d77268fe304269a12062 Mon Sep 17 00:00:00 2001 From: Sebastian Sumpf Date: Tue, 22 Jan 2013 19:20:30 +0100 Subject: [PATCH] foc_arndale: Added 'create_buildir' support --- base-foc/config/arndale.user | 65 ++++++++++++++++++++ base-foc/lib/mk/platform_arndale/platform.mk | 6 ++ base-foc/mk/spec-foc_arndale.mk | 4 ++ tool/builddir/etc/build.conf.foc_arndale | 1 + tool/create_builddir | 6 +- 5 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 base-foc/config/arndale.user create mode 100644 base-foc/lib/mk/platform_arndale/platform.mk create mode 100644 base-foc/mk/spec-foc_arndale.mk create mode 100644 tool/builddir/etc/build.conf.foc_arndale diff --git a/base-foc/config/arndale.user b/base-foc/config/arndale.user new file mode 100644 index 000000000..d8e3c2483 --- /dev/null +++ b/base-foc/config/arndale.user @@ -0,0 +1,65 @@ +# +# Automatically generated file; DO NOT EDIT. +# L4Re Configuration +# +# CONFIG_BUILD_ARCH_x86 is not set +# CONFIG_BUILD_ARCH_amd64 is not set +CONFIG_BUILD_ARCH_arm=y +# CONFIG_BUILD_ARCH_ppc32 is not set +# CONFIG_BUILD_ARCH_sparc is not set +CONFIG_BUILD_ARCH="arm" +CONFIG_BUILD_ABI_l4f=y +CONFIG_BUILD_ABI="l4f" +CONFIG_CPU="armv7a" +# CONFIG_CPU_ARM_ARMV4 is not set +# CONFIG_CPU_ARM_ARMV4T is not set +# CONFIG_CPU_ARM_ARMV5 is not set +# CONFIG_CPU_ARM_ARMV5T is not set +# CONFIG_CPU_ARM_ARMV5TE is not set +# CONFIG_CPU_ARM_ARMV6 is not set +# CONFIG_CPU_ARM_ARMV6T2 is not set +# CONFIG_CPU_ARM_ARMV6ZK is not set +CONFIG_CPU_ARM_ARMV7A=y +# CONFIG_CPU_ARM_ARMV7R is not set +CONFIG_CPU_ARMV6KPLUS=y +CONFIG_CPU_ARMV6PLUS=y +CONFIG_PLATFORM_TYPE_arndale=y +# CONFIG_PLATFORM_TYPE_beagleboard is not set +# CONFIG_PLATFORM_TYPE_imx21 is not set +# CONFIG_PLATFORM_TYPE_imx35 is not set +# CONFIG_PLATFORM_TYPE_imx51 is not set +# CONFIG_PLATFORM_TYPE_imx53 is not set +# CONFIG_PLATFORM_TYPE_imx6 is not set +# CONFIG_PLATFORM_TYPE_integrator is not set +# CONFIG_PLATFORM_TYPE_kirkwood is not set +# CONFIG_PLATFORM_TYPE_omap3_am33xx is not set +# CONFIG_PLATFORM_TYPE_omap3evm is not set +# CONFIG_PLATFORM_TYPE_pandaboard is not set +# CONFIG_PLATFORM_TYPE_rv is not set +# CONFIG_PLATFORM_TYPE_rv_pbx is not set +# CONFIG_PLATFORM_TYPE_rv_vexpress is not set +# CONFIG_PLATFORM_TYPE_tegra2 is not set +# CONFIG_PLATFORM_TYPE_custom is not set +CONFIG_PLATFORM_TYPE="arndale" +# CONFIG_USE_DROPS_STDDIR is not set +# CONFIG_USE_DICE is not set +CONFIG_DROPS_STDDIR="/path/to/l4re" +CONFIG_DROPS_INSTDIR="/path/to/l4re" +CONFIG_BID_COLORED_PHASES=y + +# +# Building +# +CONFIG_YACC="yacc" +CONFIG_LEX="flex" +CONFIG_CTAGS="ctags" +CONFIG_ETAGS="etags" +CONFIG_HAVE_LDSO=y +CONFIG_INT_CPP_NAME_SWITCH=y +CONFIG_INT_LD_NAME_SWITCH=y +# CONFIG_BID_STRIP_PROGS is not set +# CONFIG_BID_GCC_OMIT_FP is not set +# CONFIG_BID_GENERATE_MAPFILE is not set +# CONFIG_BID_BUILD_DOC is not set +# CONFIG_RELEASE_MODE is not set +CONFIG_MAKECONFS_ADD="" diff --git a/base-foc/lib/mk/platform_arndale/platform.mk b/base-foc/lib/mk/platform_arndale/platform.mk new file mode 100644 index 000000000..8ca7dd94d --- /dev/null +++ b/base-foc/lib/mk/platform_arndale/platform.mk @@ -0,0 +1,6 @@ +# +# Configuration for L4 build system (for kernel-bindings, sigma0, bootstrap). +# +L4_CONFIG = $(call select_from_repositories,config/arndale.user) + +include $(REP_DIR)/lib/mk/arm/platform.inc diff --git a/base-foc/mk/spec-foc_arndale.mk b/base-foc/mk/spec-foc_arndale.mk new file mode 100644 index 000000000..dd55f2f74 --- /dev/null +++ b/base-foc/mk/spec-foc_arndale.mk @@ -0,0 +1,4 @@ +SPECS += foc_arm platform_arndale + +include $(call select_from_repositories,mk/spec-platform_arndale.mk) +include $(call select_from_repositories,mk/spec-foc_arm.mk) diff --git a/tool/builddir/etc/build.conf.foc_arndale b/tool/builddir/etc/build.conf.foc_arndale new file mode 100644 index 000000000..02565186d --- /dev/null +++ b/tool/builddir/etc/build.conf.foc_arndale @@ -0,0 +1 @@ +REPOSITORIES = $(GENODE_DIR)/base-foc diff --git a/tool/create_builddir b/tool/create_builddir index d5a303a36..585914077 100755 --- a/tool/create_builddir +++ b/tool/create_builddir @@ -38,6 +38,7 @@ usage: @echo " 'foc_imx53'" @echo " 'foc_vea9x4'" @echo " 'foc_panda'" + @echo " 'foc_arndale'" @echo " 'lx_hybrid_x86'" @echo @echo " is the location of the build directory to create" @@ -135,7 +136,7 @@ endif # # Add ARM drivers repositories to ARM build directories # -ifeq ($(filter-out foc_panda hw_panda foc_imx53,$(PLATFORM)),) +ifeq ($(filter-out foc_panda foc_arndale hw_panda foc_imx53,$(PLATFORM)),) $(BUILD_DIR)/etc/build.conf:: @cat $(BUILD_CONF).drivers_arm >> $@ endif @@ -179,6 +180,9 @@ foc_panda:: foc_imx53:: @echo "SPECS = genode foc_imx53" > $(BUILD_DIR)/etc/specs.conf +foc_arndale:: + @echo "SPECS = genode foc_arndale" > $(BUILD_DIR)/etc/specs.conf + codezero_vpb926:: @echo "CODEZERO_DIR = $(GENODE_DIR)/base-codezero/contrib" > $(BUILD_DIR)/etc/codezero.conf