Build gem5 through buildroot

Oh, btw, also make it work, since the build was completely broken since
the recent -K refactoring :0)
This commit is contained in:
Ciro Santilli
2018-03-12 03:46:53 +00:00
parent 7b08433840
commit b8413532a5
6 changed files with 45 additions and 31 deletions

View File

@@ -15,6 +15,7 @@ ARCH_MAKE = $(ARCH)
endif
define GEM5_BUILD_CMDS
cd '$(@D)' && ./build -a '$(ARCH)' -j '$(BR2_JLEVEL)'
cd '$(@D)/gem5/util/m5' && $(MAKE) -f 'Makefile.$(ARCH_MAKE)' CC='$(TARGET_CC)' LD='$(TARGET_LD)'
endef