3cb668d5b5
Both the Barebox and AT91Bootstrap patches for the Calao USB A9G20
board are located in the same directory, board/calao/usb-a9g20-lpw/,
with only a prefix making a difference between whether they apply to
Barebox or AT91Bootstrap.
Unfortunately, since commit 0eba4759fa
("packages: apply custom patches using *.patch instead of
<pkg>-*.patch"), the logic to apply custom patches in Barebox and
AT91Bootstrap has been changed from applying <package>-*.patch to
applying *.patch (in order to be consistent with what we do for all
packages in Buildroot).
However, this had the effect of trying to apply both the AT91Bootstrap
and Barebox patches on both packages, which obviously cannot work.
This commit fixes that by moving patches around, and switching to use
BR2_GLOBAL_PATCH_DIR.
Cc: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
17 lines
560 B
Plaintext
17 lines
560 B
Plaintext
BR2_arm=y
|
|
BR2_arm926t=y
|
|
BR2_GLOBAL_PATCH_DIR="board/calao/usb-a9g20-lpw/patches/"
|
|
BR2_PACKAGE_HOST_SAM_BA=y
|
|
BR2_TARGET_ROOTFS_UBIFS=y
|
|
BR2_TARGET_AT91BOOTSTRAP=y
|
|
BR2_TARGET_AT91BOOTSTRAP_BOARD="usb_a9g20_lpw"
|
|
BR2_TARGET_AT91BOOTSTRAP_NANDFLASH=y
|
|
BR2_TARGET_BAREBOX=y
|
|
BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="usb_a9g20"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.10.10"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/calao/usb-a9g20-lpw/linux-3.4.4.config"
|
|
BR2_LINUX_KERNEL_ZIMAGE=y
|