Fix integration.
This commit is contained in:
@@ -36,14 +36,25 @@ buildroot.shell: buildroot.config
|
||||
|
||||
buildroot.config: $(BR_STAGING)/buildroot/.config
|
||||
|
||||
toolchain.config: $(BR_PROJECT)/configs/toolchain_defconfig
|
||||
@mkdir -p $(BR_STAGING)/buildroot/
|
||||
@cp $(BR_PROJECT)/configs/toolchain_defconfig $(BR_STAGING)/buildroot/.config
|
||||
$(MAKE) $(BR_ENV) -C $(BR_PROJECT)/../../bsp/buildroot/ defconfig
|
||||
ifeq ($(DEBUG),1)
|
||||
extra_options: option_debug
|
||||
else
|
||||
extra_options: option_release
|
||||
endif
|
||||
|
||||
$(BR_STAGING)/buildroot/.config: $(BR_PROJECT)/configs/buildroot_defconfig
|
||||
option_debug:
|
||||
@echo "option debug"
|
||||
echo "BR2_ENABLE_DEBUG=y" >> $(BR_PROJECT)/configs/buildroot_defconfig $(BR_STAGING)/buildroot/.config
|
||||
option_release:
|
||||
@echo "option release"
|
||||
|
||||
install_config:
|
||||
@echo "install_config"
|
||||
@mkdir -p $(BR_STAGING)/buildroot/
|
||||
@cp $(BR_PROJECT)/configs/buildroot_defconfig $(BR_STAGING)/buildroot/.config
|
||||
|
||||
$(BR_STAGING)/buildroot/.config: install_config extra_options $(BR_PROJECT)/configs/buildroot_defconfig
|
||||
@echo ".config rule"
|
||||
$(MAKE) $(BR_ENV) -C $(BR_PROJECT)/../../bsp/buildroot/ defconfig
|
||||
|
||||
buildroot.check-package:
|
||||
|
||||
Reference in New Issue
Block a user