fix parsec, kernel rebuild only if config change

This commit is contained in:
Ciro Santilli
2018-09-13 09:50:03 +01:00
parent 71c2b44c46
commit e4861f2f89
4 changed files with 20 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
################################################################################
GEM5_VERSION = 1.0
GEM5_SITE = $(GEM5_LKMC_SRCDIR)
GEM5_SITE = $(LKMC_GEM5_SRCDIR)
GEM5_SITE_METHOD = local
ifeq ($(ARCH),x86_64)

View File

@@ -4,15 +4,20 @@
#
################################################################################
PARSEC_BENCHMARK_VERSION = master
PARSEC_BENCHMARK_SITE = git@github.com:cirosantilli/parsec-benchmark.git
PARSEC_BENCHMARK_SITE_METHOD = git
# If we ever upstream to Buildroot.
# PARSEC_BENCHMARK_VERSION = 75d55ac446a43c47efb1044844a108c6c330184c
# PARSEC_BENCHMARK_SITE = git@github.com:cirosantilli/parsec-benchmark.git
# PARSEC_BENCHMARK_SITE_METHOD = git
PARSEC_BENCHMARK_VERSION = 1.0
PARSEC_BENCHMARK_SITE = $(LKMC_PARSEC_BENCHMARK_SRCDIR)
PARSEC_BENCHMARK_SITE_METHOD = local
define PARSEC_BENCHMARK_BUILD_CMDS
# TODO make this nicer, only untar when extract step is done.
# EXTRACT_CMDS and EXTRA_DOWNLOADS would be good candidates,
# but they don't run with OVERRIDE_SRCDIR.
'$(PARSEC_BENCHMARK_PKGDIR)/parsec-benchmark/get-inputs' $(if $(filter $(V),1),-v,) '$(DL_DIR)' '$(@D)/'
'$(@D)/get-inputs' $(if $(filter $(V),1),-v,) '$(DL_DIR)' '$(@D)/'
# We run the benchmarks with the wrong arch here to generate the inputs on the host.
# This is because on gem5 this takes too long to do.
export GNU_TARGET_NAME='$(GNU_TARGET_NAME)' && \