mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
This change drops Qemu menuconfig from the regular 'make menuconfig' in favor of full release tarball support. Meaning "make update-defconfig" will not longer cause unwanted diffs for Qemu defaults checked in when the defconfigs are updated. Details: - For "make run, run-menuconfig" and bootstrapping qemu.cfg we want to use the Buildroot menuconfig system. However, we must set the proper environment variables for it to not overwrite our product's .config, so the calls to conf and mconf are not pretty. - The qemu.sh script can probably be cleaned up further, I've just set a CONFIG_ prefix to all variables and dropped any images/ prefix vs. the original. The CONFIG_ prefix is to make the qemu.cfg compatible with kconfig-mconf from the kconfig-frontends package. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
19 lines
608 B
Makefile
19 lines
608 B
Makefile
IXMSG = printf "\e[37;44m>>> $(call qstrip,$(1))\e[0m\n"
|
|
|
|
include $(sort $(wildcard $(BR2_EXTERNAL_INFIX_PATH)/package/*/*.mk))
|
|
include $(BR2_EXTERNAL_INFIX_PATH)/board/common/common.mk
|
|
-include $(BR2_EXTERNAL_INFIX_PATH)/board/$(patsubst "%",%,$(BR2_ARCH))/board.mk
|
|
|
|
.PHONY: local.mk
|
|
local.mk:
|
|
@$(call IXMSG,"Installing local override for certain packages")
|
|
@(cd $O && ln -s $(BR2_EXTERNAL_INFIX_PATH)/local.mk .)
|
|
|
|
.PHONY: run
|
|
run:
|
|
@(cd $O/images && ./qemu.sh)
|
|
|
|
.PHONY: run-menuconfig
|
|
run-menuconfig:
|
|
@(cd $O/images && CONFIG_="CONFIG_" BR2_CONFIG=".config" ../build/buildroot-config/mconf Config.in)
|