mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
uboot-tools: fix install commands
Signed-off-by: Henri Bragge <henri.bragge@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
c8041ee7d8
commit
54b2f13106
@ -13,13 +13,13 @@ endef
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE),y)
|
ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE),y)
|
||||||
define UBOOT_TOOLS_INSTALL_MKIMAGE
|
define UBOOT_TOOLS_INSTALL_MKIMAGE
|
||||||
install -m 0755 -D $(@D)/tools/mkimage $(TARGET_DIR)/usr/bin
|
$(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(TARGET_DIR)/usr/bin/mkimage
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y)
|
ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y)
|
||||||
define UBOOT_TOOLS_INSTALL_FWPRINTENV
|
define UBOOT_TOOLS_INSTALL_FWPRINTENV
|
||||||
install -m 0755 -D $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin
|
$(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv
|
||||||
ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
|
ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
@ -48,7 +48,7 @@ define HOST_UBOOT_TOOLS_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_UBOOT_TOOLS_INSTALL_CMDS
|
define HOST_UBOOT_TOOLS_INSTALL_CMDS
|
||||||
install -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/usr/bin
|
$(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/usr/bin/mkimage
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call GENTARGETS))
|
$(eval $(call GENTARGETS))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user