foc: exclude .git directories from src archives

This commit is contained in:
Christian Helmuth 2019-07-11 16:04:53 +02:00
parent 4c113182b0
commit 82d50912f6
5 changed files with 3 additions and 17 deletions

View File

@ -1,7 +0,0 @@
This archive contains the Fiasco.OC-specific part of Genode.
It also contains the source code of the Fiasco.OC kernel in the
'src/kernel/foc' directory.
Please note that Fiasco.OC has a license distinct from Genode. Fiasco.OC's
license can be found at 'src/kernel/foc/COPYING-GPL-2'.

View File

@ -1,7 +0,0 @@
RECIPE_DIR := $(REP_DIR)/recipes/src/base-foc-pbxa9
include $(GENODE_DIR)/repos/base-foc/recipes/src/base-foc_content.inc
content: enable_board_spec
enable_board_spec: etc/specs.conf
echo "SPECS += pbxa9" >> etc/specs.conf

View File

@ -1 +0,0 @@
2018-11-14 778d83a4be78dcd6d1e4d45f1ca103def7b298a5

View File

@ -23,7 +23,9 @@ src/kernel:
KERNEL_PORT_DIR := $(call port_dir,$(REP_DIR)/ports/foc)
src/kernel/foc: src/kernel
cp -r $(KERNEL_PORT_DIR)/src/kernel/foc/* $@
tar -C $(KERNEL_PORT_DIR)/src/kernel/foc --exclude=.git -cf - . |\
tar -C $@ -xf -
content:
for spec in x86_32 x86_64 arm arm_64; do \