summaryrefslogtreecommitdiff
path: root/target/arm/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-14 18:22:41 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-14 18:23:01 +0200
commitc3a46c606d40ed639e706aef9979d6f4d6d2a0c2 (patch)
treebf88fdceb49f4488d4827f6afe69010284d3edad /target/arm/Makefile
parent7cb985a6d193ec4664a6aa3ceebd2cd6a8a6fd83 (diff)
beaglebone-black: some fixes, no serial output yet
Diffstat (limited to 'target/arm/Makefile')
-rw-r--r--target/arm/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index b7e5e9f98..e298ff2d7 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -128,6 +128,12 @@ ifeq ($(ADK_TARGET_QEMU),y)
@echo 'qemu-system-arm $(QEMU_ARGS) -nographic -kernel $(FW_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(ROOTFSJFFS2)'
endif
endif
+ifeq ($(ADK_TARGET_FS),genimage)
+targethelp:
+ @echo "The disk image is: $(FW_DIR)/disk.img"
+ @echo "Use following command to install it on SD card:"
+ @echo 'sudo dd if=$(FW_DIR)/disk.img of=/dev/sdX bs=2048k'
+endif
kernel-strip:
ifeq ($(ADK_TARGET_KERNEL_VERSION_RPI),y)
@@ -157,6 +163,11 @@ ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB)$(ADK_TARGET_SYSTEM_QEMU_ARM_VERS
env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
dtbs $(MAKE_TRACE)
endif
+ifeq ($(ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK),y)
+ env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
+ am335x-boneblack.dtb
+ cp $(LINUX_DIR)/arch/arm/boot/dts/am335x-boneblack.dtb ${TARGET_DIR}/boot
+endif
ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
dtbs $(MAKE_TRACE)
@@ -192,6 +203,9 @@ endif
ifeq ($(ADK_TARGET_FS),initramfspiggyback)
imageinstall: dtb-install createinitramfs targethelp
endif
+ifeq (${ADK_TARGET_FS},genimage)
+imageinstall: dtb-install $(FW_DIR)/$(GENIMAGE) targethelp
+endif
ifeq ($(ADK_TARGET_FS),nfsroot)
imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
endif