forked from buildroot/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gleb Mazovetskiy <[email protected]>
Showing
5 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
config BR2_TARGET_UBIBOOT | ||
bool "UBIBoot" | ||
help | ||
UBIBoot is a very small and simple bootloader for | ||
Ingenic JZ47xx based boards, which is able to start | ||
a Linux kernel located on a UBI partition. | ||
|
||
if BR2_TARGET_UBIBOOT | ||
config BR2_TARGET_UBIBOOT_BOARDNAME | ||
string "UBIBoot board name" | ||
help | ||
One of UBIBoot supported boards to be built. | ||
This will be suffixed with _config to meet UbiBoot | ||
standard naming. | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sha256 d095208e4587f2446aea94b05acf9fa1bfc6e7d750c46fccdd8f5b2eae2de84f ubiboot-121d5ae7af.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
################################################################################ | ||
# | ||
# UbiBoot | ||
# | ||
################################################################################ | ||
|
||
UBIBOOT_VERSION = 121d5ae7af | ||
UBIBOOT_SITE = $(call github,pcercuei,UBIBoot,$(UBIBOOT_VERSION)) | ||
UBIBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBIBOOT_BOARDNAME)) | ||
|
||
UBIBOOT_LICENSE = GPLv2+ | ||
UBIBOOT_LICENSE_FILES = README | ||
|
||
UBIBOOT_INSTALL_IMAGES = YES | ||
|
||
define UBIBOOT_BUILD_CMDS | ||
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) CONFIG=$(UBIBOOT_BOARD_NAME) | ||
endef | ||
|
||
define UBIBOOT_INSTALL_IMAGES_CMDS | ||
mkdir -p $(BINARIES_DIR)/ubiboot | ||
$(INSTALL) -D -m 0755 $(@D)/output/$(UBIBOOT_BOARD_NAME)/* $(BINARIES_DIR)/ubiboot | ||
endef | ||
|
||
$(eval $(generic-package)) | ||
|
||
ifeq ($(BR2_TARGET_UBIBOOT),y) | ||
# we NEED a board name unless we're at make source | ||
ifeq ($(filter source,$(MAKECMDGOALS)),) | ||
ifeq ($(UBIBOOT_BOARD_NAME),) | ||
$(error NO UBIBoot board name set. Check your BR2_BOOT_UBIBOOT_BOARDNAME setting) | ||
endif | ||
endif | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include $(sort $(wildcard $(BR2_EXTERNAL_OPENDINGUX_PATH)/boot/*/*.mk)) | ||
include $(sort $(wildcard $(BR2_EXTERNAL_OPENDINGUX_PATH)/package/*/*.mk)) |