* [Buildroot] [git commit] linux-fusion: bump to version 8.10.4
From: Peter Korsgaard @ 2012-11-30 15:21 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=1bed3e388a91c7a4ce78eeaa6f958774ab772cb1
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Also fix directfb build avoiding the following error to occur
(since FCEF_FOLLOW has been added in linux-fusion-8.9.0):
libtool: compile: /opt/br/output/host/usr/bin/ccache /opt/br/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -DDATADIR=\"/usr/share/directfb-1.4.17\" -DMODULEDIR=\"/usr/lib/directfb-1.4-6\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -ffast-math -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g2 -g3 -fno-inline -Wno-inline -D_GNU_SOURCE -finstrument-functions -std=gnu99 -Werror-implicit-function-declaration -MT call.lo -MD -MP -MF .deps/call.Tpo -c call.c -fPIC -DPIC -o .libs/call.o
call.c: In function 'fusion_call_execute3':
call.c:311:66: error 'FCEF_FOLLOW' undeclared (first use in this function)
call.c:311:66: note: each undeclared identifier is reported only once for each function it appears in
call.c: In function 'fusion_world_flush_calls':
call.c:444:54: error 'FCEF_FOLLOW' undeclared (first use in this function)
make[5]: *** [call.lo] Error 1
make[5]: Leaving directory `/opt/br/output/build/directfb-1.4.17/lib/fusion'
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Simon Dawson <spdawson@gmail.com>
Tested-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/linux-fusion/linux-fusion.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/linux-fusion/linux-fusion.mk b/package/linux-fusion/linux-fusion.mk
index feb1ab3..631f526 100644
--- a/package/linux-fusion/linux-fusion.mk
+++ b/package/linux-fusion/linux-fusion.mk
@@ -3,7 +3,7 @@
# linux-fusion
#
#############################################################
-LINUX_FUSION_VERSION = 8.8.1
+LINUX_FUSION_VERSION = 8.10.4
LINUX_FUSION_SOURCE = linux-fusion-$(LINUX_FUSION_VERSION).tar.gz
LINUX_FUSION_SITE = http://directfb.org/downloads/Core/linux-fusion
LINUX_FUSION_INSTALL_STAGING = YES
^ permalink raw reply related
* [Buildroot] [PATCH] reorder fs alphabetically
From: Jérémy Rosen @ 2012-11-30 14:44 UTC (permalink / raw)
To: buildroot
In-Reply-To: <c8631e11-d170-46a4-bb81-306bda1b745d@zimbra2.corp.accelance.fr>
Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
---
v2: really put them in alphabetical order
---
fs/Config.in | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/Config.in b/fs/Config.in
index 94154ea..da4c5ff 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -1,15 +1,15 @@
menu "Filesystem images"
-source "fs/cramfs/Config.in"
source "fs/cloop/Config.in"
+source "fs/cpio/Config.in"
+source "fs/cramfs/Config.in"
source "fs/ext2/Config.in"
+source "fs/initramfs/Config.in"
+source "fs/iso9660/Config.in"
source "fs/jffs2/Config.in"
-source "fs/ubifs/Config.in"
+source "fs/romfs/Config.in"
source "fs/squashfs/Config.in"
source "fs/tar/Config.in"
-source "fs/cpio/Config.in"
-source "fs/iso9660/Config.in"
-source "fs/initramfs/Config.in"
-source "fs/romfs/Config.in"
+source "fs/ubifs/Config.in"
endmenu
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH] [PATCH] reorder fs alphabetically
From: Jeremy Rosen @ 2012-11-30 14:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <F0B2C5ED01234FFDB9A31357B89093E0@beraninstruments.com.local>
ok....
let's just say it's friday and I really need a week-end :P
sorry about that, v2 to come soon
Cordialement
J?r?my Rosen
fight key loggers : write some perl using vim
----- Mail original -----
> De: "Will Moore" <will.moore@beraninstruments.com>
> ?: "J?r?my Rosen" <jeremy.rosen@openwide.fr>, buildroot at busybox.net
> Envoy?: Vendredi 30 Novembre 2012 14:44:17
> Objet: RE: [Buildroot] [PATCH] [PATCH] reorder fs alphabetically
>
> Hi Jeremy,
>
> > -----Original Message-----
> > From: buildroot-bounces at busybox.net
> > [mailto:buildroot-bounces at busybox.net] On
> > Behalf Of J?r?my Rosen
> > Sent: 30 November 2012 13:09
> >
> > Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
> > ---
> > when adding the live target I was asked to add it in alphabetical
> > order to
> > the fs list
> >
> > however that list was unsorted. This patch reorders FS properly (it
> > doesn't
> > add the live fs)
> > ---
> > fs/Config.in | 8 ++++----
> > 1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/fs/Config.in b/fs/Config.in
> > index 94154ea..e970075 100644
> > --- a/fs/Config.in
> > +++ b/fs/Config.in
> > @@ -4,12 +4,12 @@ source "fs/cramfs/Config.in"
> > source "fs/cloop/Config.in"
> > source "fs/ext2/Config.in"
> > source "fs/jffs2/Config.in"
> > -source "fs/ubifs/Config.in"
> > -source "fs/squashfs/Config.in"
> > -source "fs/tar/Config.in"
> > source "fs/cpio/Config.in"
> > -source "fs/iso9660/Config.in"
> > source "fs/initramfs/Config.in"
> > +source "fs/iso9660/Config.in"
> > source "fs/romfs/Config.in"
> > +source "fs/squashfs/Config.in"
> > +source "fs/tar/Config.in"
> > +source "fs/ubifs/Config.in"
>
> Perhaps I misunderstand, but I would have thought cloop should be
> before cramfs,
> jffs2 after iso9660 and cpio before ext2?
>
> Will
>
> >
> > endmenu
> > --
> > 1.7.10.4
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
^ permalink raw reply
* [Buildroot] [PATCH] [PATCH] reorder fs alphabetically
From: Will Moore @ 2012-11-30 13:44 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354280931-10379-1-git-send-email-jeremy.rosen@openwide.fr>
Hi Jeremy,
> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] On
> Behalf Of J?r?my Rosen
> Sent: 30 November 2012 13:09
>
> Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
> ---
> when adding the live target I was asked to add it in alphabetical order to
> the fs list
>
> however that list was unsorted. This patch reorders FS properly (it doesn't
> add the live fs)
> ---
> fs/Config.in | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/fs/Config.in b/fs/Config.in
> index 94154ea..e970075 100644
> --- a/fs/Config.in
> +++ b/fs/Config.in
> @@ -4,12 +4,12 @@ source "fs/cramfs/Config.in"
> source "fs/cloop/Config.in"
> source "fs/ext2/Config.in"
> source "fs/jffs2/Config.in"
> -source "fs/ubifs/Config.in"
> -source "fs/squashfs/Config.in"
> -source "fs/tar/Config.in"
> source "fs/cpio/Config.in"
> -source "fs/iso9660/Config.in"
> source "fs/initramfs/Config.in"
> +source "fs/iso9660/Config.in"
> source "fs/romfs/Config.in"
> +source "fs/squashfs/Config.in"
> +source "fs/tar/Config.in"
> +source "fs/ubifs/Config.in"
Perhaps I misunderstand, but I would have thought cloop should be before cramfs,
jffs2 after iso9660 and cpio before ext2?
Will
>
> endmenu
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply
* [Buildroot] [PATCH] [PATCH] reorder fs alphabetically
From: Jérémy Rosen @ 2012-11-30 13:08 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
---
when adding the live target I was asked to add it in alphabetical order to
the fs list
however that list was unsorted. This patch reorders FS properly (it doesn't add the live fs)
---
fs/Config.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/Config.in b/fs/Config.in
index 94154ea..e970075 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -4,12 +4,12 @@ source "fs/cramfs/Config.in"
source "fs/cloop/Config.in"
source "fs/ext2/Config.in"
source "fs/jffs2/Config.in"
-source "fs/ubifs/Config.in"
-source "fs/squashfs/Config.in"
-source "fs/tar/Config.in"
source "fs/cpio/Config.in"
-source "fs/iso9660/Config.in"
source "fs/initramfs/Config.in"
+source "fs/iso9660/Config.in"
source "fs/romfs/Config.in"
+source "fs/squashfs/Config.in"
+source "fs/tar/Config.in"
+source "fs/ubifs/Config.in"
endmenu
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH v5 6/6] Add config file for the snowball board
From: Gregory Hermant @ 2012-11-30 12:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354279156-20649-1-git-send-email-gregory.hermant@calao-systems.com>
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
configs/calao_snowball_defconfig | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 configs/calao_snowball_defconfig
diff --git a/configs/calao_snowball_defconfig b/configs/calao_snowball_defconfig
new file mode 100644
index 0000000..360ed51
--- /dev/null
+++ b/configs/calao_snowball_defconfig
@@ -0,0 +1,24 @@
+BR2_arm=y
+BR2_cortex_a9=y
+BR2_GCC_VERSION_4_7_X=y
+# BR2_SOFT_FLOAT is not set
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+BR2_VFP_FLOAT=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA2"
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
+BR2_PACKAGE_SNOWBALL_HDMISERVICE=y
+BR2_PACKAGE_LIBNL=y
+BR2_PACKAGE_SNOWBALL_INIT=y
+BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_TARGET_ROOTFS_TAR_GZIP=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="snowball"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://igloocommunity.org/git/kernel/igloo-kernel.git"
+BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="stable-linux-ux500-3.4"
+BR2_LINUX_KERNEL_PATCH="board/calao/snowball/"
+BR2_LINUX_KERNEL_DEFCONFIG="u8500"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v5 5/6] bluez-utils: add support for the ST-Ericsson cg2900 combo controller
From: Gregory Hermant @ 2012-11-30 12:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354279156-20649-1-git-send-email-gregory.hermant@calao-systems.com>
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
...tils-4.101-enable_cg2900_on_upstream_4.91.patch | 106 ++++++++++++++++++++
1 file changed, 106 insertions(+)
create mode 100644 package/bluez_utils/bluez_utils-4.101-enable_cg2900_on_upstream_4.91.patch
diff --git a/package/bluez_utils/bluez_utils-4.101-enable_cg2900_on_upstream_4.91.patch b/package/bluez_utils/bluez_utils-4.101-enable_cg2900_on_upstream_4.91.patch
new file mode 100644
index 0000000..e80af5f
--- /dev/null
+++ b/package/bluez_utils/bluez_utils-4.101-enable_cg2900_on_upstream_4.91.patch
@@ -0,0 +1,106 @@
+From ac7992081abba87627c9e91735b3309584b48585 Mon Sep 17 00:00:00 2001
+From: Gregory Hermant <gregory.hermant@calao-systems.com>
+Date: Wed, 14 Nov 2012 14:27:02 +0100
+Subject: [PATCH] add support for the ST-Ericsson CG2900 GPS FM Bluetooth
+ combo controller
+
+
+Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
+---
+ tools/hciattach.c | 22 +++++++++++++++-------
+ tools/hciattach.h | 1 +
+ 2 files changed, 16 insertions(+), 7 deletions(-)
+
+diff --git a/tools/hciattach.c b/tools/hciattach.c
+index e4d5aa1..7f08243 100644
+--- a/tools/hciattach.c
++++ b/tools/hciattach.c
+@@ -1066,6 +1066,11 @@ struct uart_t uart[] = {
+ { "texasalt", 0x0000, 0x0000, HCI_UART_LL, 115200, 115200,
+ FLOW_CTL, DISABLE_PM, NULL, texasalt, NULL },
+
++ /* ST-Ericsson CG2900 GPS FM Bluetooth combo controller */
++ { "cg2900", 0x0000, 0x0000, HCI_UART_STE, 115200, 115200,
++ FLOW_CTL, DISABLE_PM, NULL, NULL },
++
++
+ /* ST Microelectronics minikits based on STLC2410/STLC2415 */
+ { "st", 0x0000, 0x0000, HCI_UART_H4, 57600, 115200,
+ FLOW_CTL, DISABLE_PM, NULL, st },
+@@ -1157,10 +1162,10 @@ static struct uart_t * get_by_type(char *type)
+ }
+
+ /* Initialize UART driver */
+-static int init_uart(char *dev, struct uart_t *u, int send_break, int raw)
++static int init_uart(char *dev, struct uart_t *u, int send_break, int raw, int line_disc)
+ {
+ struct termios ti;
+- int fd, i;
++ int fd;
+ unsigned long flags = 0;
+
+ if (raw)
+@@ -1217,8 +1222,7 @@ static int init_uart(char *dev, struct uart_t *u, int send_break, int raw)
+ }
+
+ /* Set TTY to N_HCI line discipline */
+- i = N_HCI;
+- if (ioctl(fd, TIOCSETD, &i) < 0) {
++ if (ioctl(fd, TIOCSETD, &line_disc) < 0) {
+ perror("Can't set line discipline");
+ return -1;
+ }
+@@ -1243,7 +1247,7 @@ static void usage(void)
+ {
+ printf("hciattach - HCI UART driver initialization utility\n");
+ printf("Usage:\n");
+- printf("\thciattach [-n] [-p] [-b] [-r] [-t timeout] [-s initial_speed] <tty> <type | id> [speed] [flow|noflow] [bdaddr]\n");
++ printf("\thciattach [-n] [-p] [-a line_disc_nr] [-b] [-r] [-t timeout] [-s initial_speed] <tty> <type | id> [speed] [flow|noflow] [bdaddr]\n");
+ printf("\thciattach -l\n");
+ }
+
+@@ -1252,6 +1256,7 @@ int main(int argc, char *argv[])
+ struct uart_t *u = NULL;
+ int detach, printpid, raw, opt, i, n, ld, err;
+ int to = 10;
++ int line_disc = N_HCI;
+ int init_speed = 0;
+ int send_break = 0;
+ pid_t pid;
+@@ -1264,8 +1269,11 @@ int main(int argc, char *argv[])
+ printpid = 0;
+ raw = 0;
+
+- while ((opt=getopt(argc, argv, "bnpt:s:lr")) != EOF) {
++ while ((opt=getopt(argc, argv, "bnpt:s:lra:")) != EOF) {
+ switch(opt) {
++ case 'a':
++ line_disc = atoi(optarg);
++ break;
+ case 'b':
+ send_break = 1;
+ break;
+@@ -1381,7 +1389,7 @@ int main(int argc, char *argv[])
+ alarm(to);
+ bcsp_max_retries = to;
+
+- n = init_uart(dev, u, send_break, raw);
++ n = init_uart(dev, u, send_break, raw, line_disc);
+ if (n < 0) {
+ perror("Can't initialize device");
+ exit(1);
+diff --git a/tools/hciattach.h b/tools/hciattach.h
+index fed0d11..09b534d 100644
+--- a/tools/hciattach.h
++++ b/tools/hciattach.h
+@@ -39,6 +39,7 @@
+ #define HCI_UART_H4DS 3
+ #define HCI_UART_LL 4
+ #define HCI_UART_ATH3K 5
++#define HCI_UART_STE 6
+
+ #define HCI_UART_RAW_DEVICE 0
+
+--
+1.7.9.5
+
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v5 4/6] Add init script files for snowball board
From: Gregory Hermant @ 2012-11-30 12:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354279156-20649-1-git-send-email-gregory.hermant@calao-systems.com>
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
package/Config.in | 1 +
package/snowball-init/Config.in | 14 ++++++++++++++
package/snowball-init/snowball-init.mk | 15 +++++++++++++++
3 files changed, 30 insertions(+)
create mode 100644 package/snowball-init/Config.in
create mode 100644 package/snowball-init/snowball-init.mk
diff --git a/package/Config.in b/package/Config.in
index d1c197a..69f3056 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -551,6 +551,7 @@ source "package/empty/Config.in"
source "package/googlefontdirectory/Config.in"
source "package/mobile-broadband-provider-info/Config.in"
source "package/shared-mime-info/Config.in"
+source "package/snowball-init/Config.in"
source "package/sound-theme-borealis/Config.in"
source "package/sound-theme-freedesktop/Config.in"
endmenu
diff --git a/package/snowball-init/Config.in b/package/snowball-init/Config.in
new file mode 100644
index 0000000..a08cf8b
--- /dev/null
+++ b/package/snowball-init/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_SNOWBALL_INIT
+ bool "snowball-init"
+ # Runtime dependency, needed by snowball startup script
+ select BR2_PACKAGE_BLUEZ_UTILS
+ depends on !BR2_avr32
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
+ depends on BR2_USE_MMU # dbus
+ select BR2_PACKAGE_UX500_FIRMWARE
+ help
+ Snowball init scripts
+
+ http://www.igloocommunity.org
+
diff --git a/package/snowball-init/snowball-init.mk b/package/snowball-init/snowball-init.mk
new file mode 100644
index 0000000..278cacb
--- /dev/null
+++ b/package/snowball-init/snowball-init.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# snowball-init
+#
+#############################################################
+SNOWBALL_INIT_VERSION = b064be21de25729039e5e54037bbdd2e25cfd5b7
+SNOWBALL_INIT_SITE = git://igloocommunity.org/git/bsp/snowball-init.git
+SNOWBALL_INIT_LICENSE = BSD-4c
+SNOWBALL_INIT_LICENSE_FILES = debian/copyright
+
+define SNOWBALL_INIT_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/snowball $(TARGET_DIR)/etc/init.d/S50snowball
+endef
+
+$(eval $(generic-package))
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v5 3/6] Add board files for snowball
From: Gregory Hermant @ 2012-11-30 12:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354279156-20649-1-git-send-email-gregory.hermant@calao-systems.com>
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
board/calao/snowball/linux-3.4.patch | 45 ++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 board/calao/snowball/linux-3.4.patch
diff --git a/board/calao/snowball/linux-3.4.patch b/board/calao/snowball/linux-3.4.patch
new file mode 100644
index 0000000..4e6fb51
--- /dev/null
+++ b/board/calao/snowball/linux-3.4.patch
@@ -0,0 +1,45 @@
+From 3d1a9b44b9dcd2c0f5d54c09596c96c0524d8340 Mon Sep 17 00:00:00 2001
+From: Gregory Hermant <gregory.hermant@calao-systems.com>
+Date: Tue, 13 Nov 2012 11:47:41 +0100
+Subject: [PATCH] trace-debug[stm]: Fix for BT/WLAN instability
+
+Pins under mop500_ske_pins array are used for different
+functionalities in snowball. Ex: GPIO161 pin configured
+for keypad here must stay configured as GPIO alternate
+function for operating PMU_EN pin of BT/WLAN chip in snowball.
+So forbid configuring these pins, for snowball
+
+Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com>
+Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
+---
+ arch/arm/mach-ux500/board-mop500-stm.c | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-ux500/board-mop500-stm.c b/arch/arm/mach-ux500/board-mop500-stm.c
+index 1bef2a0..532fb9e 100644
+--- a/arch/arm/mach-ux500/board-mop500-stm.c
++++ b/arch/arm/mach-ux500/board-mop500-stm.c
+@@ -121,7 +121,9 @@ static int stm_ste_disable_ape_on_mipi60(void)
+ if (retval)
+ STM_ERR("Failed to disable MIPI60\n");
+ else {
+- retval = nmk_config_pins(ARRAY_AND_SIZE(mop500_ske_pins));
++ if (!machine_is_snowball())
++ retval = nmk_config_pins(
++ ARRAY_AND_SIZE(mop500_ske_pins));
+ if (retval)
+ STM_ERR("Failed to enable SKE gpio\n");
+ }
+@@ -314,7 +316,8 @@ static int stm_ste_connection(enum stm_connection_type con_type)
+ /* Enable altC3 on GPIO70-74 (STMMOD) and GPIO75-76 (UARTMOD) */
+ prcmu_enable_stm_mod_uart();
+ /* Enable APE on MIPI60 */
+- retval = nmk_config_pins_sleep(ARRAY_AND_SIZE(mop500_ske_pins));
++ if (!machine_is_snowball())
++ retval = nmk_config_pins_sleep(ARRAY_AND_SIZE(mop500_ske_pins));
+ if (retval)
+ STM_ERR("Failed to disable SKE GPIO\n");
+ else {
+--
+1.7.9.5
+
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v5 2/6] ux500-firmware: new package
From: Gregory Hermant @ 2012-11-30 12:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354279156-20649-1-git-send-email-gregory.hermant@calao-systems.com>
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
package/Config.in | 1 +
package/ux500-firmware/Config.in | 7 +++++++
package/ux500-firmware/ux500-firmware.mk | 22 ++++++++++++++++++++++
3 files changed, 30 insertions(+)
create mode 100644 package/ux500-firmware/Config.in
create mode 100644 package/ux500-firmware/ux500-firmware.mk
diff --git a/package/Config.in b/package/Config.in
index 54cc841..d1c197a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -261,6 +261,7 @@ source "package/usb_modeswitch/Config.in"
source "package/usb_modeswitch_data/Config.in"
source "package/usbmount/Config.in"
source "package/usbutils/Config.in"
+source "package/ux500-firmware/Config.in"
source "package/wipe/Config.in"
endmenu
diff --git a/package/ux500-firmware/Config.in b/package/ux500-firmware/Config.in
new file mode 100644
index 0000000..7e8a94b
--- /dev/null
+++ b/package/ux500-firmware/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_UX500_FIRMWARE
+ bool "ux500-firmware"
+ help
+ This package provides various binary firmware files (closed binary blobs)
+ for the Azurewave AW-NH580 combo module (wifi, bt, gps).
+
+ https://launchpad.net/~igloocommunity-maintainers/+archive/snowball/+files/
diff --git a/package/ux500-firmware/ux500-firmware.mk b/package/ux500-firmware/ux500-firmware.mk
new file mode 100644
index 0000000..d354468
--- /dev/null
+++ b/package/ux500-firmware/ux500-firmware.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# ux500-firmware
+#
+#############################################################
+UX500_FIRMWARE_VERSION = 1.1.3-6
+UX500_FIRMWARE_SOURCE = ux500-firmware_$(UX500_FIRMWARE_VERSION)linaro1.tar.gz
+UX500_FIRMWARE_SITE = https://launchpad.net/~igloocommunity-maintainers/+archive/snowball/+files/
+UX500_FIRMWARE_LICENSE = Snowball click-wrap license
+UX500_FIRMWARE_LICENSE_FILES = license.txt
+UX500_FIRMWARE_REDISTRIBUTE = NO
+
+# The CG2900 linux driver has to load firmware named CG29XX_* but the firmware
+# filenames contained in this package are CG2900_* hence the code below
+define UX500_FIRMWARE_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+ for f in $(TARGET_DIR)/lib/firmware/CG2900* ; do \
+ mv $$f $${f/CG2900/CG29XX}; \
+ done
+endef
+
+$(eval $(generic-package))
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v5 1/6] snowball-hdmiservice: new package
From: Gregory Hermant @ 2012-11-30 12:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354279156-20649-1-git-send-email-gregory.hermant@calao-systems.com>
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
package/Config.in | 1 +
package/snowball-hdmiservice/Config.in | 10 +++++
.../snowball-hdmiservice/snowball-hdmiservice.mk | 41 ++++++++++++++++++++
3 files changed, 52 insertions(+)
create mode 100644 package/snowball-hdmiservice/Config.in
create mode 100644 package/snowball-hdmiservice/snowball-hdmiservice.mk
diff --git a/package/Config.in b/package/Config.in
index 5d9783a..54cc841 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -250,6 +250,7 @@ source "package/sane-backends/Config.in"
source "package/sdparm/Config.in"
source "package/setserial/Config.in"
source "package/smartmontools/Config.in"
+source "package/snowball-hdmiservice/Config.in"
source "package/sredird/Config.in"
source "package/statserial/Config.in"
source "package/sysstat/Config.in"
diff --git a/package/snowball-hdmiservice/Config.in b/package/snowball-hdmiservice/Config.in
new file mode 100644
index 0000000..0ea7c81
--- /dev/null
+++ b/package/snowball-hdmiservice/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_SNOWBALL_HDMISERVICE
+ bool "snowball-hdmiservice"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ HDMI userspace control daemon
+
+ This package contains the HDMI userspace control daemon for the
+ snowball board
+
+ http://www.igloocommunity.org
diff --git a/package/snowball-hdmiservice/snowball-hdmiservice.mk b/package/snowball-hdmiservice/snowball-hdmiservice.mk
new file mode 100644
index 0000000..ebd65df
--- /dev/null
+++ b/package/snowball-hdmiservice/snowball-hdmiservice.mk
@@ -0,0 +1,41 @@
+#############################################################
+#
+# snowball-hdmiservice
+#
+#############################################################
+SNOWBALL_HDMISERVICE_VERSION = f75c99d1c52707240a78b4ba78e41d20d3aa3b08
+SNOWBALL_HDMISERVICE_SITE = git://igloocommunity.org/git/bsp/hdmiservice.git
+SNOWBALL_HDMISERVICE_LICENSE = MIT
+SNOWBALL_HDMISERVICE_LICENSE_FILES = debian/copyright
+SNOWBALL_HDMISERVICE_INSTALL_STAGING = YES
+
+define SNOWBALL_HDMISERVICE_BUILD_CMDS
+ $(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS)"
+endef
+
+define SNOWBALL_HDMISERVICE_INSTALL_STAGING_CMDS
+ $(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS)" DESTDIR=$(STAGING_DIR) install
+endef
+
+define SNOWBALL_HDMISERVICE_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS)" DESTDIR=$(TARGET_DIR) install
+endef
+
+define SNOWBALL_HDMISERVICE_UNINSTALL_STAGING_CMDS
+ rm -f $(STAGING_DIR)/usr/lib/hdmiservice.so
+ rm -f $(STAGING_DIR)/usr/bin/hdmistart
+ rm -f $(STAGING_DIR)/usr/include/hdmi_service_api.h
+ rm -f $(STAGING_DIR)/usr/include/hdmi_service_local.h
+endef
+
+define SNOWBALL_HDMISERVICE_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/lib/hdmiservice.so
+ rm -f $(TARGET_DIR)/usr/bin/hdmistart
+endef
+
+define SNOWBALL_HDMISERVICE_CLEAN_CMDS
+ $(MAKE) -C $(@D) clean
+endef
+
+
+$(eval $(generic-package))
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH v5 0/6] Add support for the snowball board
From: Gregory Hermant @ 2012-11-30 12:39 UTC (permalink / raw)
To: buildroot
Snowball board is a low power, low cost Single Board Computer based
on the ST-Ericsson Nova A9500 processor (Dual Cortex-A9 + MALI 400 GPU).
More info at www.igloocommunity.org
The snowball board boots from eMMC, loads the linux kernel and mounts
its root filesystem either from eMMC or from a microSD card.
The user should prepare a microSD card with two partitions.
On the fist partition he will install the kernel image and on the second
one the root filesystem.
TO DO:
* Add the GPS support.
* Add the possibility to build an eMMC image directly from buildroot.
* Add the riff tool package
Gregory Hermant (6):
snowball-hdmiservice: new package
ux500-firmware: new package
Add board files for snowball
Add init script files for snowball board
bluez-utils: add support for the ST-Ericsson cg2900 combo controller
Add config file for the snowball board
board/calao/snowball/linux-3.4.patch | 45 +++++++++
configs/calao_snowball_defconfig | 24 +++++
package/Config.in | 3 +
...tils-4.101-enable_cg2900_on_upstream_4.91.patch | 106 ++++++++++++++++++++
package/snowball-hdmiservice/Config.in | 10 ++
.../snowball-hdmiservice/snowball-hdmiservice.mk | 41 ++++++++
package/snowball-init/Config.in | 14 +++
package/snowball-init/snowball-init.mk | 15 +++
package/ux500-firmware/Config.in | 7 ++
package/ux500-firmware/ux500-firmware.mk | 22 ++++
10 files changed, 287 insertions(+)
create mode 100644 board/calao/snowball/linux-3.4.patch
create mode 100644 configs/calao_snowball_defconfig
create mode 100644 package/bluez_utils/bluez_utils-4.101-enable_cg2900_on_upstream_4.91.patch
create mode 100644 package/snowball-hdmiservice/Config.in
create mode 100644 package/snowball-hdmiservice/snowball-hdmiservice.mk
create mode 100644 package/snowball-init/Config.in
create mode 100644 package/snowball-init/snowball-init.mk
create mode 100644 package/ux500-firmware/Config.in
create mode 100644 package/ux500-firmware/ux500-firmware.mk
--
1.7.9.5
^ permalink raw reply
* [Buildroot] [PATCHv2] flex: fix build for nommu systems
From: Gustavo Zacarias @ 2012-11-30 10:46 UTC (permalink / raw)
To: buildroot
The flex binary uses fork() so it breaks on !MMU builds.
Since we usually don't require flex in the target and the common
scenario is that we just want libfl in staging reverse the options so
that BR2_PACKAGE_FLEX just builds and install libfl.a and change the
LIBFL option to BR2_PACKAGE_FLEX_BINARY to install the binary in the
target.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/flex/Config.in | 10 +++++-----
package/flex/flex.mk | 20 +++++---------------
2 files changed, 10 insertions(+), 20 deletions(-)
diff --git a/package/flex/Config.in b/package/flex/Config.in
index b10eb00..adef468 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -6,10 +6,10 @@ config BR2_PACKAGE_FLEX
http://www.gnu.org/software/flex/
-config BR2_PACKAGE_FLEX_LIBFL
- bool "Install libfl.a under staging_dir/usr/lib"
- default y
+config BR2_PACKAGE_FLEX_BINARY
+ bool "Install tool in the target"
+ # needs fork()
+ depends on BR2_USE_MMU
depends on BR2_PACKAGE_FLEX
help
- Install libfl.a under staging_dir/usr/lib for further development
- on a host machine.
+ Install the flex binary tool in the target filesystem.
diff --git a/package/flex/flex.mk b/package/flex/flex.mk
index 2599cdc..0c1ed5a 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -16,30 +16,20 @@ FLEX_DEPENDENCIES = \
# we don't have a host-gettext/libintl
HOST_FLEX_DEPENDENCIES =
+ifeq ($(BR2_PACKAGE_FLEX_BINARY),y)
# lex -> flex
define FLEX_INSTALL_LEX
cd $(TARGET_DIR)/usr/bin && ln -snf flex lex
endef
-
-define FLEX_UNINSTALL_LEX
- -rm $(TARGET_DIR)/usr/bin/lex
-endef
-
FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LEX
-FLEX_POST_CLEAN_HOOKS += FLEX_UNINSTALL_LEX
-# libfl installation
-ifeq ($(BR2_PACKAGE_FLEX_LIBFL),y)
-define FLEX_INSTALL_LIBFL
- install -D $(FLEX_DIR)/libfl.a $(STAGING_DIR)/usr/lib/libfl.a
-endef
+else
-define FLEX_UNINSTALL_LIBFL
- -rm $(STAGING_DIR)/lib/libfl.a
+define FLEX_DISABLE_PROGRAM
+ $(SED) 's/^bin_PROGRAMS.*//' $(@D)/Makefile.in
endef
+FLEX_POST_PATCH_HOOKS += FLEX_DISABLE_PROGRAM
-FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LIBFL
-FLEX_POST_CLEAN_HOOKS += FLEX_UNINSTALL_LIBFL
endif
$(eval $(autotools-package))
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH] flex: fix build for nommu systems
From: Gustavo Zacarias @ 2012-11-30 10:36 UTC (permalink / raw)
To: buildroot
In-Reply-To: <50B7ED98.1030501@mind.be>
On 11/29/2012 08:19 PM, Arnout Vandecappelle wrote:
> Two small comments.
>
> [snip]
>> +ifeq ($(BR2_PACKAGE_FLEX_BINARY),)
>
> I would prefer to compare with y and swap the two branches
> (that will also make the diff much more readable...)
Sure, i left it that way because i was using another aproach before this
one (removing the binary option since it's pointless without a target
toolchain), but changed my mind after a little chat with Thomas.
>> +define FLEX_DISABLE_PROGRAM
>> + $(SED) 's/^bin_PROGRAMS.*//' $(@D)/Makefile.in
>> endef
>>
>> -define FLEX_UNINSTALL_LEX
>> - -rm $(TARGET_DIR)/usr/bin/lex
>> -endef
>> +FLEX_POST_EXTRACT_HOOKS += FLEX_DISABLE_PROGRAM
>
> POST_PATCH_HOOKS would be more appropriate.
Really?
It's basically another patch, i can do it before (like now) it's patched
with something else or after.
If the other patches did too much damage so that the sed wouldn't work,
well, it'd probably be against buildroot policy on patches :)
Regards.
^ permalink raw reply
* [Buildroot] [PATCH 8/8] screen: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354270483-32356-1-git-send-email-spdawson@gmail.com>
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/screen/screen.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/screen/screen.mk b/package/screen/screen.mk
index 8786322..50bb1a6 100644
--- a/package/screen/screen.mk
+++ b/package/screen/screen.mk
@@ -6,6 +6,8 @@
SCREEN_VERSION = 4.0.3
SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
+SCREEN_LICENSE = GPLv2
+SCREEN_LICENSE_FILES = COPYING
SCREEN_DEPENDENCIES = ncurses
SCREEN_CONF_ENV = ac_cv_header_elf_h=no ac_cv_header_dwarf_h=no \
CFLAGS="$(TARGET_CFLAGS) -DTERMINFO"
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 7/8] oprofile: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354270483-32356-1-git-send-email-spdawson@gmail.com>
From: Simon Dawson <simond@trainfx.com>
Signed-off-by: Simon Dawson <simond@trainfx.com>
---
package/oprofile/oprofile.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/oprofile/oprofile.mk b/package/oprofile/oprofile.mk
index 54c46dd..17d225a 100644
--- a/package/oprofile/oprofile.mk
+++ b/package/oprofile/oprofile.mk
@@ -6,6 +6,8 @@
OPROFILE_VERSION = 0.9.7
OPROFILE_SITE = http://downloads.sourceforge.net/project/oprofile/oprofile/oprofile-$(OPROFILE_VERSION)
+OPROFILE_LICENSE = GPLv2
+OPROFILE_LICENSE_FILES = COPYING
OPROFILE_CONF_OPT = --localstatedir=/var --with-kernel-support
OPROFILE_BINARIES = utils/ophelp pp/opannotate pp/oparchive pp/opgprof
OPROFILE_BINARIES += pp/opreport opjitconv/opjitconv daemon/oprofiled
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 6/8] mpfr: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354270483-32356-1-git-send-email-spdawson@gmail.com>
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/mpfr/mpfr.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index 9caf3ac..c6f1009 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -7,6 +7,8 @@
MPFR_VERSION = 3.1.1
MPFR_SITE = http://www.mpfr.org/mpfr-$(MPFR_VERSION)
MPFR_SOURCE = mpfr-$(MPFR_VERSION).tar.bz2
+MPFR_LICENSE = LGPLv3+
+MPFR_LICENSE_FILES = COPYING.LESSER
MPFR_INSTALL_STAGING = YES
MPFR_DEPENDENCIES = gmp
MPFR_MAKE_OPT = RANLIB=$(TARGET_RANLIB)
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 5/8] midori: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354270483-32356-1-git-send-email-spdawson@gmail.com>
From: Simon Dawson <simond@trainfx.com>
Signed-off-by: Simon Dawson <simond@trainfx.com>
---
package/midori/midori.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/midori/midori.mk b/package/midori/midori.mk
index 44cce40..8fac3d8 100644
--- a/package/midori/midori.mk
+++ b/package/midori/midori.mk
@@ -7,6 +7,8 @@
MIDORI_VERSION = 0.4.6
MIDORI_SOURCE = midori-$(MIDORI_VERSION).tar.bz2
MIDORI_SITE = http://archive.xfce.org/src/apps/midori/0.4/
+MIDORI_LICENSE = LGPLv2.1+
+MIDORI_LICENSE_FILES = COPYING
MIDORI_DEPENDENCIES = \
host-intltool \
host-pkgconf \
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 4/8] gmp: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354270483-32356-1-git-send-email-spdawson@gmail.com>
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/gmp/gmp.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 5bcc6c1..72673c7 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -8,6 +8,8 @@ GMP_VERSION = 5.0.5
GMP_SITE = $(BR2_GNU_MIRROR)/gmp
GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2
GMP_INSTALL_STAGING = YES
+GMP_LICENSE = LGPLv3+
+GMP_LICENSE_FILES = COPYING.LIB
# Bad ARM assembly breaks on pure thumb
ifeq ($(ARCH),arm)
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 3/8] beecrypt: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354270483-32356-1-git-send-email-spdawson@gmail.com>
From: Simon Dawson <simond@trainfx.com>
Signed-off-by: Simon Dawson <simond@trainfx.com>
---
package/beecrypt/beecrypt.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/beecrypt/beecrypt.mk b/package/beecrypt/beecrypt.mk
index d165aee..a9cf133 100644
--- a/package/beecrypt/beecrypt.mk
+++ b/package/beecrypt/beecrypt.mk
@@ -7,6 +7,8 @@ BEECRYPT_VERSION = 4.2.1
BEECRYPT_SITE = http://downloads.sourceforge.net/project/beecrypt/beecrypt/$(BEECRYPT_VERSION)
BEECRYPT_AUTORECONF = YES
BEECRYPT_INSTALL_STAGING = YES
+BEECRYPT_LICENSE = LGPLv2.1+
+BEECRYPT_LICENSE_FILES = COPYING.LIB
# beecrypt contains C++ code that g++ 4.7 doesn't really
# like. Upstream does not seem to be really active, so workaround this
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 2/8] argus: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354270483-32356-1-git-send-email-spdawson@gmail.com>
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/argus/argus.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/argus/argus.mk b/package/argus/argus.mk
index da7ecac..a4b5330 100644
--- a/package/argus/argus.mk
+++ b/package/argus/argus.mk
@@ -8,6 +8,8 @@ ARGUS_SOURCE:=argus_$(ARGUS_VERSION).orig.tar.gz
ARGUS_PATCH:=argus_$(ARGUS_VERSION)-1.diff.gz
ARGUS_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/a/argus/
ARGUS_DEPENDENCIES=libpcap
+ARGUS_LICENSE = GPLv2+
+ARGUS_LICENSE_FILES = COPYING
define ARGUS_DEBIAN_PATCH_APPLY
if [ -d $(@D)/debian/patches ]; then \
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 1/8] acpid: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354270483-32356-1-git-send-email-spdawson@gmail.com>
From: Simon Dawson <simond@trainfx.com>
Signed-off-by: Simon Dawson <simond@trainfx.com>
---
package/acpid/acpid.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/acpid/acpid.mk b/package/acpid/acpid.mk
index 56f671d..b024e94 100644
--- a/package/acpid/acpid.mk
+++ b/package/acpid/acpid.mk
@@ -6,6 +6,8 @@
ACPID_VERSION = 2.0.11
ACPID_SOURCE = acpid_$(ACPID_VERSION).orig.tar.gz
ACPID_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/a/acpid
+ACPID_LICENSE = GPLv2
+ACPID_LICENSE_FILES = COPYING
define ACPID_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC)" -C $(@D)
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 0/8] various packages: add license information
From: spdawson at gmail.com @ 2012-11-30 10:14 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Add license information for a few packages.
Simon Dawson (8):
acpid: add license information
argus: add license information
beecrypt: add license information
gmp: add license information
midori: add license information
mpfr: add license information
oprofile: add license information
screen: add license information
package/acpid/acpid.mk | 2 ++
package/argus/argus.mk | 2 ++
package/beecrypt/beecrypt.mk | 2 ++
package/gmp/gmp.mk | 2 ++
package/midori/midori.mk | 2 ++
package/mpfr/mpfr.mk | 2 ++
package/oprofile/oprofile.mk | 2 ++
package/screen/screen.mk | 2 ++
8 files changed, 16 insertions(+)
--
1.7.10.4
^ permalink raw reply
* [Buildroot] [PATCH] [PATCH][RFC] new target: live filesystem
From: Arnout Vandecappelle @ 2012-11-30 9:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAJJ6jxv6w=wq7taFt4rxXfSmjY7Vkd+m06_U+A9fz4z1eyFM_w@mail.gmail.com>
On 30/11/12 01:04, Steve Calfee wrote:
> I don't understand why you need this. It is a one line "sudo tar -xf
> ..." to unpack the tarball into your nfs directory. Either type this
> line or add a one line script to your ~/bin directory to do it for
> each of your buildroot trees/environments. Don't add clutter to the
> buildroot makefile.
If that is the reasoning, we can also remove the compression of the
.tar file, or the -dirclean targets, etc. etc.
In addition, this target also cleans up the NFS directory first, so
it's slightly more than just untarring.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCH][RFC] new target: live filesystem
From: Jeremy Rosen @ 2012-11-30 9:00 UTC (permalink / raw)
To: buildroot
In-Reply-To: <50B7F33D.7010309@mind.be>
> > * no dependency on host-sudo, i'm not sure how to add that
>
> That's impossible. The sudo executable must be setuid root, and to
> make
> it setuid root you have to be root, so sudo must already exist...
>
> You could instead add a check in live.mk if sudo actually works.
> But since
> sudo may ask for a password this can get tricky - you should e.g.
> probably check
> if stdin is a terminal as well.
>
hmm, good point... I hadn't thought of that i'll add a check for that
> That said, I don't know if Peter will accept running sudo within
> buildroot.
>
:) yes, that's why I wanted some feedback early...
I think running sudo only for the deployment of the FS is isolated enough to be worth it (it's not like I'm getting rid of fakeroot or anything, it's just to ease the final step of NFS work)
but yes, if that patch is rejected because of philosophical reasons, it would be nice to know early
>
> > * filesystem can only be under output/images at this point
>
> That's not good but easy to solve.
>
yes that was one of the "first draft not ready for commit" aspect :)
you suggest in the commented patch below to use an absolute path...
I like the idea, if I add a line to the help text hinting that $(WHATEVER) can be used to point to output/image it's probably good enough
only answering the remarks which i'd like to discuss below, I agree with all the others
> > + depends on BR2_TARGET_ROOTFS_LIVE
> > + default "live"
>
> Use an empty default, and give an error in live.mk if it's
> empty.
>
I don't like to provide a non-working default (esp since most/all other fs targets work out of the box)
why not provide one (i'm perfectly fine with another name)
if this project is ok with non-working defaults i'll go that way, but it's simple enough to provide a default under output/images so i'm not sur why not do it...
> > +
> > +define ROOTFS_LIVE_CMD
> > + sudo cp -r $(TARGET_DIR)/*
> > $(BINARIES_DIR)/$(BR2_TARGET_ROOTFS_LIVE_DEST)/
>
> That won't work, because device nodes, symlinks etc. are not
> copied correctly. Use cp -a. Or even better, rsync -a
> --delete-during
> (then you don't need to remove it first).
>
> For the target, just use $(BR2_TARGET_ROOTFS_LIVE_DEST).
>
ok, i'll check all those cp/rsync options I don't know...
V2 of the patch is under way and will be posted soon
Regards
J?r?my
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox