mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
u-boot: add a few comments
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4a587b12eb
commit
6db01c1b30
@ -108,6 +108,7 @@ endif
|
|||||||
endif # BR2_TARGET_UBOOT_NETWORK
|
endif # BR2_TARGET_UBOOT_NETWORK
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
# Build U-Boot itself
|
||||||
$(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified
|
$(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
@ -116,6 +117,7 @@ $(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified
|
|||||||
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
|
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
|
||||||
-C $(U_BOOT_DIR)
|
-C $(U_BOOT_DIR)
|
||||||
|
|
||||||
|
# Copy the result to the images/ directory
|
||||||
$(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
|
$(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
|
||||||
rm -f $(BINARIES_DIR)/$(U_BOOT_BIN)
|
rm -f $(BINARIES_DIR)/$(U_BOOT_BIN)
|
||||||
cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)/
|
cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)/
|
||||||
@ -129,6 +131,7 @@ $(MKIMAGE): $(U_BOOT_DIR)/.patched
|
|||||||
$(MAKE) -C $(U_BOOT_DIR) tools
|
$(MAKE) -C $(U_BOOT_DIR) tools
|
||||||
cp -dpf $(U_BOOT_DIR)/tools/mkimage $(@D)
|
cp -dpf $(U_BOOT_DIR)/tools/mkimage $(@D)
|
||||||
|
|
||||||
|
# Build manually mkimage for the target
|
||||||
$(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/.configured
|
$(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/.configured
|
||||||
mkdir -p $(@D)
|
mkdir -p $(@D)
|
||||||
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(U_BOOT_DIR)/tools \
|
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(U_BOOT_DIR)/tools \
|
||||||
@ -142,6 +145,7 @@ $(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/.configured
|
|||||||
|
|
||||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||||
|
|
||||||
|
# Build manually fw_printenv for the target
|
||||||
$(TARGET_DIR)/usr/sbin/fw_printenv: $(U_BOOT_DIR)/.configured
|
$(TARGET_DIR)/usr/sbin/fw_printenv: $(U_BOOT_DIR)/.configured
|
||||||
mkdir -p $(@D)
|
mkdir -p $(@D)
|
||||||
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(LINUX_HEADERS_DIR)/include \
|
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(LINUX_HEADERS_DIR)/include \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user