From: Carlo Caione <carlo.caione@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] sunxi-boards: new package
Date: Mon, 13 May 2013 07:52:27 +0200 [thread overview]
Message-ID: <1368424348-9853-2-git-send-email-carlo.caione@gmail.com> (raw)
In-Reply-To: <1368424348-9853-1-git-send-email-carlo.caione@gmail.com>
Signed-off-by: Carlo Caione <carlo.caione@gmail.com>
---
Changelog:
- Improved package description
- Config.in rewritten
- Makefile rewritten
---
package/Config.in | 1 +
package/sunxi-boards/Config.in | 19 +++++++++++++++++++
package/sunxi-boards/sunxi-boards.mk | 17 +++++++++++++++++
3 files changed, 37 insertions(+)
create mode 100644 package/sunxi-boards/Config.in
create mode 100644 package/sunxi-boards/sunxi-boards.mk
diff --git a/package/Config.in b/package/Config.in
index 26440a5..7868c32 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -218,6 +218,7 @@ source "package/b43-firmware/Config.in"
source "package/firmware-imx/Config.in"
source "package/linux-firmware/Config.in"
source "package/rpi-firmware/Config.in"
+source "package/sunxi-boards/Config.in"
source "package/ux500-firmware/Config.in"
source "package/zd1211-firmware/Config.in"
endmenu
diff --git a/package/sunxi-boards/Config.in b/package/sunxi-boards/Config.in
new file mode 100644
index 0000000..27ee8fc
--- /dev/null
+++ b/package/sunxi-boards/Config.in
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_SUNXI_BOARDS
+ bool "sunxi script.bin board file"
+ select BR2_PACKAGE_HOST_SUNXI_TOOLS
+ help
+ Sunxi-boards requires a compiled .fex files for hardware description,
+ used by kernel during boot for hardware initialization. This package
+ is specific for linux-sunxi kernel and it is useless for mainline
+ kernel versions.
+
+ https://github.com/linux-sunxi/sunxi-boards
+
+if BR2_PACKAGE_SUNXI_BOARDS
+config BR2_PACKAGE_SUNXI_BOARDS_BOARD_NAME
+ string "Board name"
+ help
+ This field defines the name of the board for which the .bin
+ files should be generated. See inside sys_config/a10 directory in
+ sunxi-boards source code to see the list of valid board names.
+endif
diff --git a/package/sunxi-boards/sunxi-boards.mk b/package/sunxi-boards/sunxi-boards.mk
new file mode 100644
index 0000000..1f52110
--- /dev/null
+++ b/package/sunxi-boards/sunxi-boards.mk
@@ -0,0 +1,17 @@
+#############################################################
+#
+# sunxi-boards
+#
+#############################################################
+
+SUNXI_BOARDS_VERSION = 88d663db44f65b73ef65c4148a28c6fa3665d2b6
+SUNXI_BOARDS_SITE = https://github.com/linux-sunxi/sunxi-boards/tarball/master
+SUNXI_BOARDS_DEPENDENCIES = host-sunxi-tools
+SUNXI_BOARDS_INSTALL_IMAGES = YES
+SUNXI_BOARDS_INSTALL_TARGET = NO
+
+define SUNXI_BOARDS_INSTALL_IMAGES_CMDS
+ $(FEX2BIN) $(@D)/sys_config/a10/$(BR2_PACKAGE_SUNXI_BOARDS_BOARD_NAME).fex $(BINARIES_DIR)/script.bin
+endef
+
+$(eval $(generic-package))
--
1.8.2.3
next prev parent reply other threads:[~2013-05-13 5:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 5:52 [Buildroot] [PATCH 1/3] sunxi-tools: new host/target package Carlo Caione
2013-05-13 5:52 ` Carlo Caione [this message]
2013-05-13 5:52 ` [Buildroot] [PATCH 3/3] cubieboard: add support Carlo Caione
2013-05-26 18:34 ` [Buildroot] [PATCH 1/3] sunxi-tools: new host/target package Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2013-03-14 19:31 [Buildroot] [PATCH 1/3] sunxi-tools: new host/taget package Carlo Caione
2013-03-14 19:31 ` [Buildroot] [PATCH 2/3] sunxi-boards: new package Carlo Caione
2013-03-24 10:02 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1368424348-9853-2-git-send-email-carlo.caione@gmail.com \
--to=carlo.caione@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox