mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 15:50:58 +00:00
bd7cfacfd8
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
28 lines
1.0 KiB
Makefile
28 lines
1.0 KiB
Makefile
CONTAINER_NAME := linuxboot-mainboards
|
|
|
|
all:
|
|
echo pick one of debian-packages or repos
|
|
|
|
debian-packages:
|
|
sudo apt-get install bison flex zlib1g-dev golang build-essential git gcc isc-dhcp-server tftpd-hpa minicom flashrom
|
|
echo The next command may get an error and that is ok if you have qemu-system-x86_64
|
|
sudo apt-get install qemu-system-x86
|
|
|
|
getmecleaner:
|
|
go get -u github.com/u-root/u-root
|
|
go get -u github.com/u-root/cpu/...
|
|
git clone https://github.com/corna/me_cleaner
|
|
@echo Now add $(PWD)/me_cleaner to PATH
|
|
|
|
|
|
docker-build: Dockerfile
|
|
docker build -t $(CONTAINER_NAME) -f $< .
|
|
|
|
docker-run-aeeon-up: docker-build
|
|
docker run --rm -v "$(shell pwd)/aeeon/up":/$(CONTAINER_NAME) $(CONTAINER_NAME) 'make fetch flashkernel'
|
|
docker-run-ampere-jade: docker-build
|
|
docker run --rm -v "$(shell pwd)/ampere/jade":/$(CONTAINER_NAME) $(CONTAINER_NAME) 'make fetch flashkernel'
|
|
|
|
docker-run-qemu-x86-64: docker-build
|
|
docker run --rm -v "$(shell pwd)/qemu/x86_64":/$(CONTAINER_NAME) $(CONTAINER_NAME) 'make fetch flashkernel'
|