William Petit
707a8c6f30
All checks were successful
arcad/emissary-firmware/pipeline/head This commit looks good
23 lines
852 B
Makefile
23 lines
852 B
Makefile
all: x86-generic
|
|
|
|
x86-generic:
|
|
$(MAKE) \
|
|
ADDITIONAL_INSTALL="install-x86-network-config" \
|
|
ADDITIONAL_OPENWRT_PACKAGES="dmidecode" \
|
|
OPENWRT_TARGET="x86/generic" \
|
|
EMISSARY_ARCH="386" \
|
|
OPENWRT_PROFILE="generic" \
|
|
build
|
|
|
|
run-x86-generic: bin/$(OPENWRT_VERSION)/x86/generic/generic/openwrt-$(OPENWRT_VERSION)-emissary-*-ext4-combined.img
|
|
qemu-system-x86_64 \
|
|
-enable-kvm \
|
|
-nographic \
|
|
-drive file=$(shell ls bin/$(OPENWRT_VERSION)/x86/generic/generic/openwrt-$(OPENWRT_VERSION)-emissary-*-ext4-combined.img),id=d0,if=none \
|
|
-device ide-hd,drive=d0,bus=ide.0 \
|
|
-netdev user,id=hn1 \
|
|
-device e1000,netdev=hn1,id=nic1
|
|
|
|
bin/$(OPENWRT_VERSION)/x86/generic/generic/openwrt-$(OPENWRT_VERSION)-emissary-*-ext4-combined.img:
|
|
gunzip bin/$(OPENWRT_VERSION)/x86/generic/generic/openwrt-$(OPENWRT_VERSION)-emissary-*-ext4-combined.img.gz
|