Fix integration.

This commit is contained in:
NADAL Jean-Baptiste
2019-10-30 18:40:47 +01:00
parent f877a98d9b
commit 0f1ca38438
4 changed files with 1403 additions and 7 deletions

View File

@@ -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:

View File

@@ -25,16 +25,20 @@ BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="ssh://git@git.nadal-fr.com:222/rpi/linux.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="tags/4_14_95"
BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL)/patches/linux/rpi"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(PROJECT)/configs/linux_defconfig"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm"
BR2_PACKAGE_GDB=y
BR2_PACKAGE_GDB_DEBUGGER=y
BR2_PACKAGE_RPI_FIRMWARE=y
# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
BR2_PACKAGE_LINUX_SYSCALL_SUPPORT=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_GESFTPSERVER=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="65M"
BR2_TARGET_ROOTFS_EXT2_SIZE="80M"
BR2_TARGET_ROOTFS_TAR_GZIP=y
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y

File diff suppressed because it is too large Load Diff

View File

@@ -9,6 +9,7 @@ BR2_PTHREAD_DEBUG=y
BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_PACKAGE_HOST_GDB_PYTHON=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set