Skip to content
Permalink
Browse files

linux: copy Amlogic-ng dtb's to device_trees folder

  • Loading branch information...
adamg88 committed Mar 28, 2019
1 parent 2f5305f commit e1ff1fec10f6751a8b82dd24f32937a48c6d7707
Showing with 2 additions and 1 deletion.
  1. +2 −1 packages/linux/package.mk
@@ -228,9 +228,10 @@ make_target() {

makeinstall_target() {
if [ "$BOOTLOADER" = "u-boot" ]; then
mkdir -p $INSTALL/usr/share/bootloader
mkdir -p $INSTALL/usr/share/bootloader/device_trees
if [ -d arch/$TARGET_KERNEL_ARCH/boot/dts/amlogic ]; then
cp arch/$TARGET_KERNEL_ARCH/boot/*dtb.img $INSTALL/usr/share/bootloader/ 2>/dev/null || :
[ "$PROJECT" = "Amlogic-ng" ] && cp arch/$TARGET_KERNEL_ARCH/boot/dts/amlogic/*.dtb $INSTALL/usr/share/bootloader/device_trees 2>/dev/null || :
fi
elif [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
mkdir -p $INSTALL/usr/share/bootloader/overlays

0 comments on commit e1ff1fe

Please sign in to comment.
You can’t perform that action at this time.