|
@@ -170,39 +170,31 @@ endif
|
|
|
|
|
|
dtb-install:
|
|
dtb-install:
|
|
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} dtbs $(MAKE_TRACE)
|
|
- dtbs $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} vexpress-v2p-ca9.dtb $(MAKE_TRACE)
|
|
- vexpress-v2p-ca9.dtb $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} arm-realview-eb-11mp-ctrevb.dtb $(MAKE_TRACE)
|
|
- arm-realview-eb-11mp-ctrevb.dtb $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} versatile-pb.dtb $(MAKE_TRACE)
|
|
- versatile-pb.dtb $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_PHYTEC_WEGA),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_PHYTEC_WEGA),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} am335x-wega-rdk.dtb $(MAKE_TRACE)
|
|
- am335x-wega-rdk.dtb
|
|
|
|
cp $(LINUX_DIR)/arch/arm/boot/dts/am335x-wega-rdk.dtb ${TARGET_DIR}/boot
|
|
cp $(LINUX_DIR)/arch/arm/boot/dts/am335x-wega-rdk.dtb ${TARGET_DIR}/boot
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_PHYTEC_IMX6),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_PHYTEC_IMX6),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} imx6q-phytec-pbab01.dtb $(MAKE_TRACE)
|
|
- imx6q-phytec-pbab01.dtb
|
|
|
|
cp $(LINUX_DIR)/arch/arm/boot/dts/imx6q-phytec-pbab01.dtb ${TARGET_DIR}/boot
|
|
cp $(LINUX_DIR)/arch/arm/boot/dts/imx6q-phytec-pbab01.dtb ${TARGET_DIR}/boot
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} am335x-boneblack.dtb $(MAKE_TRACE)
|
|
- am335x-boneblack.dtb
|
|
|
|
cp $(LINUX_DIR)/arch/arm/boot/dts/am335x-boneblack.dtb ${TARGET_DIR}/boot
|
|
cp $(LINUX_DIR)/arch/arm/boot/dts/am335x-boneblack.dtb ${TARGET_DIR}/boot
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
|
|
ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} dtbs $(MAKE_TRACE)
|
|
- dtbs $(MAKE_TRACE)
|
|
|
|
mkdir -p $(FW_DIR)/overlays
|
|
mkdir -p $(FW_DIR)/overlays
|
|
for x in $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtbo; do \
|
|
for x in $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtbo; do \
|
|
[[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtbo $(FW_DIR)/overlays; \
|
|
[[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtbo $(FW_DIR)/overlays; \
|
|
@@ -210,28 +202,23 @@ ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
|
|
done
|
|
done
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} sun7i-a20-bananapro.dtb $(MAKE_TRACE)
|
|
- sun7i-a20-bananapro.dtb $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_ORANGE_PI0),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_ORANGE_PI0),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} sun8i-h2-plus-orangepi-zero.dtb $(MAKE_TRACE)
|
|
- sun8i-h2-plus-orangepi-zero.dtb $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} imx6q-cubox-i.dtb imx6dl-cubox-i.dtb \
|
|
- imx6q-cubox-i.dtb imx6dl-cubox-i.dtb imx6dl-hummingboard.dtb imx6q-hummingboard.dtb $(MAKE_TRACE)
|
|
+ imx6dl-hummingboard.dtb imx6q-hummingboard.dtb $(MAKE_TRACE)
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} armada-388-clearfog.dtb $(MAKE_TRACE)
|
|
- armada-388-clearfog.dtb $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F429),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F429),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} dtbs $(MAKE_TRACE)
|
|
- dtbs $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F769),y)
|
|
ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F769),y)
|
|
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
|
|
+ ${KERNEL_MAKE} dtbs $(MAKE_TRACE)
|
|
- dtbs $(MAKE_TRACE)
|
|
|
|
endif
|
|
endif
|
|
for x in $(LINUX_DIR)/arch/arm/boot/dts/*.dtb; do \
|
|
for x in $(LINUX_DIR)/arch/arm/boot/dts/*.dtb; do \
|
|
[[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/*.dtb $(FW_DIR); \
|
|
[[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/*.dtb $(FW_DIR); \
|