Skip to content

Commit

Permalink
Merge pull request #21 from sv99/install_depmod
Browse files Browse the repository at this point in the history
add target install_depmod
  • Loading branch information
mkrentovskiy authored Jun 28, 2016
2 parents b9f9916 + d9d85a5 commit b9badad
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -654,13 +654,6 @@ install_dsp:
$(ECHO) "\033[1mInstalling DSP modules\033[0m"
$(V)DEVDIR=$(DEVDIR) make --directory=dvsdk LINUXKERNEL_INSTALL_DIR=$(DEVDIR)/kernel cmem_install edma_install irq_install dm365mm_install $(OUTPUT)
$(V)cp -rfv $(DEVDIR)/dvsdk/install/dm365/* $(TARGETDIR)

$(V)echo "kernel/drivers/dsp/cmemk.ko:" | tee -a $(TARGETDIR)/lib/modules/$(KERNEL_NAME)/modules.dep
$(V)echo "kernel/drivers/dsp/dm365mmap.ko:" | tee -a $(TARGETDIR)/lib/modules/$(KERNEL_NAME)/modules.dep
$(V)echo "kernel/drivers/dsp/irqk.ko:" | tee -a $(TARGETDIR)/lib/modules/$(KERNEL_NAME)/modules.dep
$(V)echo "kernel/drivers/dsp/irqk_hdmi.ko:" | tee -a $(TARGETDIR)/lib/modules/$(KERNEL_NAME)/modules.dep
$(V)echo "kernel/drivers/dsp/edmak.ko:" | tee -a $(TARGETDIR)/lib/modules/$(KERNEL_NAME)/modules.dep

$(ECHO) "\033[32m done\033[0m"
$(ECHO) ""

Expand All @@ -684,11 +677,17 @@ install_adminka:
$(ECHO) "\033[32m done\033[0m"
$(ECHO) ""

install_depmod:
$(ECHO) "\033[1mRun depmod\033[0m"
$(V)sudo depmod --basedir $(MOUNTPOINT)/rootfs$ $(KERNEL_NAME) $(OUTPUT)
$(ECHO) "\033[32m done\033[0m"
$(ECHO) ""

#install:: install_intro umount_partitions prepare_partitions install_bootloader mount_partitions install_kernel_fs install_modules install_dsp install_addons install_adminka sync_partitions umount_partitions
#install:: install_intro umount_partitions prepare_partitions install_bootloader mount_partitions install_adminka install_modules install_dsp install_drivers fsbuild install_kernel_fs install_addons sync_partitions umount_partitions
#install:: install_intro umount_partitions prepare_partitions install_bootloader mount_partitions install_adminka install_modules install_dsp install_drivers fsrelease install_kernel_fs install_addons sync_partitions umount_partitions
install_internal:: install_adminka install_modules install_dsp install_drivers fsbuild install_fs install_kernel install_addons
img_install:: img_prepare img_mount install_internal
img_install:: img_prepare img_mount install_internal install_depmod

$(ECHO) " Default user: root"
$(ECHO) " Default password: root"
Expand Down

0 comments on commit b9badad

Please sign in to comment.