* [Buildroot] [PATCH 6/6] udisks: new package
From: Marek Belisko @ 2012-12-21 21:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126670-16186-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
---
package/Config.in | 1 +
package/udisks/Config.in | 32 ++++++++++++++++++++++++++++++++
package/udisks/udisks.mk | 26 ++++++++++++++++++++++++++
3 files changed, 59 insertions(+)
create mode 100644 package/udisks/Config.in
create mode 100644 package/udisks/udisks.mk
diff --git a/package/Config.in b/package/Config.in
index 7a0a852..95fad85 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -263,6 +263,7 @@ source "package/sysstat/Config.in"
source "package/ti-utils/Config.in"
source "package/uboot-tools/Config.in"
source "package/udev/Config.in"
+source "package/udisks/Config.in"
source "package/usb_modeswitch/Config.in"
source "package/usb_modeswitch_data/Config.in"
source "package/usbmount/Config.in"
diff --git a/package/udisks/Config.in b/package/udisks/Config.in
new file mode 100644
index 0000000..bdc99b3
--- /dev/null
+++ b/package/udisks/Config.in
@@ -0,0 +1,32 @@
+config BR2_PACKAGE_UDISKS
+ bool "udisks"
+ depends on BR2_PACKAGE_UDEV
+ depends on BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_SG3_UTILS
+ select BR2_PACKAGE_UDEV_ALL_EXTRAS
+ select BR2_PACKAGE_DBUS_GLIB
+ select BR2_PACKAGE_POLKIT
+ select BR2_PACKAGE_PARTED #select BR2_PACKAGE_LVM2
+ select BR2_PACKAGE_LVM2_DMSETUP_ONLY #devmapper library
+ select BR2_PACKAGE_LIBATASMART
+ help
+ The udisks project provides
+
+ o A storage daemon that implements well-defined D-Bus
+ interfaces that can be used to query and manipulate
+ storage devices.
+
+ o a command-line tool, udisks(1), that can be used to query
+ and use the daemon
+
+ http://www.freedesktop.org/wiki/Software/udisks
+
+config BR2_PACKAGE_UDISKS_LVM2
+ bool "lvm2 support"
+ depends on BR2_PACKAGE_UDISKS
+ depends on BR2_PACKAGE_LVM2
+ select BR2_PACKAGE_LVM2_APP_LIBRARY
+ default n
+
+comment "udisks requires udev and dbus to be enabled"
+ depends on !BR2_PACKAGE_UDEV || !BR2_PACKAGE_DBUS
diff --git a/package/udisks/udisks.mk b/package/udisks/udisks.mk
new file mode 100644
index 0000000..f85fc40
--- /dev/null
+++ b/package/udisks/udisks.mk
@@ -0,0 +1,26 @@
+#############################################################
+#
+# udisks
+#
+#############################################################
+UDISKS_VERSION = 1.0.4
+UDISKS_SITE = http://hal.freedesktop.org/releases/
+
+UDISKS_DEPENDENCIES = \
+ sg3_utils \
+ host-pkgconf \
+ udev \
+ dbus \
+ dbus-glib \
+ polkit \
+ parted \
+ lvm2 \
+ libatasmart
+
+UDISKS_CONF_OPT = --disable-remote-access --disable-gtk-doc
+
+ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
+UDISKS_CONF_OPT += --enable-lvm2
+endif
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 5/6] lvm2: Compile and install application library.
From: Marek Belisko @ 2012-12-21 21:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126670-16186-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
package/lvm2/Config.in | 6 ++++++
package/lvm2/lvm2.mk | 8 +++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
index 30af14e..bb41c0a 100644
--- a/package/lvm2/Config.in
+++ b/package/lvm2/Config.in
@@ -21,5 +21,11 @@ config BR2_PACKAGE_LVM2_DMSETUP_ONLY
help
Install dmsetup only and skip the LVM2 suite.
+config BR2_PACKAGE_LVM2_APP_LIBRARY
+ bool "install application library"
+ depends on BR2_PACKAGE_LVM2
+ help
+ Install application library (liblvm2app2).
+
comment "lvm2 requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index f54caa4..213ef65 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -21,7 +21,7 @@ LVM2_BINS = \
# Make sure that binaries and libraries are installed with write
# permissions for the owner.
-LVM2_CONF_OPT += --enable-write_install --enable-pkgconfig
+LVM2_CONF_OPT += --enable-write_install --enable-pkgconfig --enable-applib
# LVM2 uses autoconf, but not automake, and the build system does not
# take into account the CC passed at configure time.
@@ -41,6 +41,12 @@ LVM2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install_device-mapper
LVM2_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install_device-mapper
endif
+ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y)
+LVM2_MAKE_OPT += liblvm
+LVM2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
+LVM2_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+endif
+
define LVM2_UNINSTALL_STAGING_CMDS
rm -f $(addprefix $(STAGING_DIR)/usr/sbin/,$(LVM2_BINS))
rm -f $(addprefix $(STAGING_DIR)/usr/lib/,libdevmapper.so*)
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 4/6] lvm2: Install devmapper.pc to staging/target pkgconfig directory.
From: Marek Belisko @ 2012-12-21 21:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126670-16186-1-git-send-email-marek.belisko@open-nandra.com>
Without this change if some package which have dependency on device mapper and use
pkgconfig to check version always fail to find library because devmapper.pc file wasn't
installed.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
package/lvm2/lvm2.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index 52326ea..f54caa4 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -21,7 +21,7 @@ LVM2_BINS = \
# Make sure that binaries and libraries are installed with write
# permissions for the owner.
-LVM2_CONF_OPT += --enable-write_install
+LVM2_CONF_OPT += --enable-write_install --enable-pkgconfig
# LVM2 uses autoconf, but not automake, and the build system does not
# take into account the CC passed at configure time.
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 3/6] libatasmart: new package.
From: Marek Belisko @ 2012-12-21 21:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126670-16186-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
package/Config.in | 1 +
package/libatasmart/Config.in | 11 +++++++++++
package/libatasmart/libatasmart.mk | 14 ++++++++++++++
3 files changed, 26 insertions(+)
create mode 100644 package/libatasmart/Config.in
create mode 100644 package/libatasmart/libatasmart.mk
diff --git a/package/Config.in b/package/Config.in
index 155a429..7a0a852 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -231,6 +231,7 @@ source "package/iostat/Config.in"
source "package/irda-utils/Config.in"
source "package/kbd/Config.in"
source "package/lcdproc/Config.in"
+source "package/libatasmart/Config.in"
source "package/linux-firmware/Config.in"
source "package/lm-sensors/Config.in"
source "package/lshw/Config.in"
diff --git a/package/libatasmart/Config.in b/package/libatasmart/Config.in
new file mode 100644
index 0000000..863046f
--- /dev/null
+++ b/package/libatasmart/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBATASMART
+ bool "libatasmart"
+ depends on BR2_PACKAGE_UDEV
+ help
+ Reading and Parsing Library.
+ As the name suggests libatasmart only does ATA S.M.A.R.T.
+
+ git://git.0pointer.de/libatasmart.git
+
+comment "libatasmart requires udev to be enabled"
+ depends on !BR2_PACKAGE_UDEV
diff --git a/package/libatasmart/libatasmart.mk b/package/libatasmart/libatasmart.mk
new file mode 100644
index 0000000..47b4720
--- /dev/null
+++ b/package/libatasmart/libatasmart.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# libatasmart
+#
+#############################################################
+LIBATASMART_VERSION = v0.19
+LIBATASMART_SITE = git://git.0pointer.de/libatasmart.git
+
+LIBATASMART_INSTALL_STAGING = YES
+LIBATASMART_AUTORECONF = YES
+
+LIBATASMART_DEPENDENCIES = udev
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 2/6] polkit: new package
From: Marek Belisko @ 2012-12-21 21:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126670-16186-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
---
package/Config.in | 1 +
package/polkit/Config.in | 8 ++++++++
package/polkit/polkit.mk | 18 ++++++++++++++++++
3 files changed, 27 insertions(+)
create mode 100644 package/polkit/Config.in
create mode 100644 package/polkit/polkit.mk
diff --git a/package/Config.in b/package/Config.in
index afecb8e..155a429 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -749,6 +749,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/module-init-tools/Config.in"
endif
source "package/monit/Config.in"
+source "package/polkit/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/procps/Config.in"
source "package/psmisc/Config.in"
diff --git a/package/polkit/Config.in b/package/polkit/Config.in
new file mode 100644
index 0000000..9ca347a
--- /dev/null
+++ b/package/polkit/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_POLKIT
+ bool "polkit"
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_DBUS_EXPAT
+ help
+ PolicyKit is a toolkit for defining and handling
+ authorizations. It is used for allowing unprivileged
+ processes to speak to privileged processes.
diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk
new file mode 100644
index 0000000..8c882f2
--- /dev/null
+++ b/package/polkit/polkit.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# polkit
+#
+#############################################################
+POLKIT_VERSION = 0.103
+POLKIT_SITE = http://www.freedesktop.org/software/polkit/releases/
+
+POLKIT_INSTALL_STAGING = YES
+
+POLKIT_DEPENDENCIES = libglib2 host-intltool expat
+
+# We could also support --with-authfw=pam
+POLKIT_CONF_OPT = \
+ --with-authfw=shadow \
+ --with-os-type=unknown
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 1/6] sg3_utils: new package
From: Marek Belisko @ 2012-12-21 21:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126670-16186-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
---
package/Config.in | 1 +
package/sg3_utils/Config.in | 15 +++++++++++++++
package/sg3_utils/sg3_utils.mk | 33 +++++++++++++++++++++++++++++++++
3 files changed, 49 insertions(+)
create mode 100644 package/sg3_utils/Config.in
create mode 100644 package/sg3_utils/sg3_utils.mk
diff --git a/package/Config.in b/package/Config.in
index 66445ff..afecb8e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -253,6 +253,7 @@ source "package/rng-tools/Config.in"
source "package/sane-backends/Config.in"
source "package/sdparm/Config.in"
source "package/setserial/Config.in"
+source "package/sg3_utils/Config.in"
source "package/smartmontools/Config.in"
source "package/snowball-hdmiservice/Config.in"
source "package/sredird/Config.in"
diff --git a/package/sg3_utils/Config.in b/package/sg3_utils/Config.in
new file mode 100644
index 0000000..d120e55
--- /dev/null
+++ b/package/sg3_utils/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_SG3_UTILS
+ bool "sgutils"
+ depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ Low level utilities for devices that use a SCSI command set.
+
+ http://sg.danny.cz/sg/sg3_utils.html
+
+config BR2_PACKAGE_SG3_UTILS_PROGS
+ bool "install programs"
+ depends on BR2_PACKAGE_SG3_UTILS
+
+comment "sgutils requires a toolchain with LARGEFILE and threads support"
+ depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/sg3_utils/sg3_utils.mk b/package/sg3_utils/sg3_utils.mk
new file mode 100644
index 0000000..1c629e8
--- /dev/null
+++ b/package/sg3_utils/sg3_utils.mk
@@ -0,0 +1,33 @@
+#############################################################
+#
+# sg3_utils
+#
+#############################################################
+SG3_UTILS_VERSION = 1.34
+SG3_UTILS_SITE = http://sg.danny.cz/sg/p/
+
+# install the libsgutils2 library
+SG3_UTILS_INSTALL_STAGING = YES
+
+define SG3_UTILS_REMOVE_PROGS
+ for prog in \
+ dd decode_sense emc_trespass format get_config \
+ get_lba_status ident inq logs luns map26 \
+ map sgm_dd modes opcodes sgp_dd persist prevent \
+ raw rbuf rdac read readcap read_block_limits \
+ read_buffer read_long reassign referrals \
+ requests reset rmsn rtpg safte sanitize \
+ sat_identify sat_phy_event sat_set_features scan \
+ senddiag ses start stpg sync test_rwbuf turs \
+ unmap verify vpd write_buffer write_long \
+ write_same wr_mode ; do \
+ $(RM) $(TARGET_DIR)/usr/bin/sg_$${prog} ; \
+ done
+ $(RM) $(TARGET_DIR)/usr/bin/sginfo
+endef
+
+ifneq ($(BR2_PACKAGE_SG3_UTILS_PROGS),y)
+SG3_UTILS_POST_INSTALL_TARGET_HOOKS += SG3_UTILS_REMOVE_PROGS
+endif
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 0/6] Add support for udisks package.
From: Marek Belisko @ 2012-12-21 21:51 UTC (permalink / raw)
To: buildroot
This patches add support for udisks and dependencies + fixes.
Patches for sg3_utils, polkit and udisks was done by
Thomas Petazzoni and overtaken from
http://free-electrons.com/~thomas/pub/udisks-buildroot/.
They were fixed to work with latest buildroot.
udisks with lvm2 support (default n) have dependency on devmapper
and lvm2 application library. There are two fixes:
- correctly install devmapper.pc to staging/target
- add support for application library
Marek Belisko (6):
sg3_utils: new package
polkit: new package
libatasmart: new package.
lvm2: Install devmapper.pc to staging/target pkgconfig directory.
lvm2: Compile and install application library.
udisks: new package
package/Config.in | 4 ++++
package/libatasmart/Config.in | 11 +++++++++++
package/libatasmart/libatasmart.mk | 14 ++++++++++++++
package/lvm2/Config.in | 6 ++++++
package/lvm2/lvm2.mk | 8 +++++++-
package/polkit/Config.in | 8 ++++++++
package/polkit/polkit.mk | 18 ++++++++++++++++++
package/sg3_utils/Config.in | 15 +++++++++++++++
package/sg3_utils/sg3_utils.mk | 33 +++++++++++++++++++++++++++++++++
package/udisks/Config.in | 32 ++++++++++++++++++++++++++++++++
package/udisks/udisks.mk | 26 ++++++++++++++++++++++++++
11 files changed, 174 insertions(+), 1 deletion(-)
create mode 100644 package/libatasmart/Config.in
create mode 100644 package/libatasmart/libatasmart.mk
create mode 100644 package/polkit/Config.in
create mode 100644 package/polkit/polkit.mk
create mode 100644 package/sg3_utils/Config.in
create mode 100644 package/sg3_utils/sg3_utils.mk
create mode 100644 package/udisks/Config.in
create mode 100644 package/udisks/udisks.mk
--
1.7.10.4
^ permalink raw reply
* [Buildroot] udisks package
From: Belisko Marek @ 2012-12-21 21:50 UTC (permalink / raw)
To: buildroot
Please ignore patchset for : [Buildroot][PATCH 0/6] Add support for
udisks package.
One patch shouldn't be there. Will repost with correct patches.
Sorry for noise and troubles.
Thanks,
marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
^ permalink raw reply
* [Buildroot] [PATCH 6/6] udisks: new package
From: Marek Belisko @ 2012-12-21 21:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126305-16133-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
---
package/Config.in | 1 +
package/udisks/Config.in | 32 ++++++++++++++++++++++++++++++++
package/udisks/udisks.mk | 26 ++++++++++++++++++++++++++
3 files changed, 59 insertions(+)
create mode 100644 package/udisks/Config.in
create mode 100644 package/udisks/udisks.mk
diff --git a/package/Config.in b/package/Config.in
index 7a0a852..95fad85 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -263,6 +263,7 @@ source "package/sysstat/Config.in"
source "package/ti-utils/Config.in"
source "package/uboot-tools/Config.in"
source "package/udev/Config.in"
+source "package/udisks/Config.in"
source "package/usb_modeswitch/Config.in"
source "package/usb_modeswitch_data/Config.in"
source "package/usbmount/Config.in"
diff --git a/package/udisks/Config.in b/package/udisks/Config.in
new file mode 100644
index 0000000..bdc99b3
--- /dev/null
+++ b/package/udisks/Config.in
@@ -0,0 +1,32 @@
+config BR2_PACKAGE_UDISKS
+ bool "udisks"
+ depends on BR2_PACKAGE_UDEV
+ depends on BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_SG3_UTILS
+ select BR2_PACKAGE_UDEV_ALL_EXTRAS
+ select BR2_PACKAGE_DBUS_GLIB
+ select BR2_PACKAGE_POLKIT
+ select BR2_PACKAGE_PARTED #select BR2_PACKAGE_LVM2
+ select BR2_PACKAGE_LVM2_DMSETUP_ONLY #devmapper library
+ select BR2_PACKAGE_LIBATASMART
+ help
+ The udisks project provides
+
+ o A storage daemon that implements well-defined D-Bus
+ interfaces that can be used to query and manipulate
+ storage devices.
+
+ o a command-line tool, udisks(1), that can be used to query
+ and use the daemon
+
+ http://www.freedesktop.org/wiki/Software/udisks
+
+config BR2_PACKAGE_UDISKS_LVM2
+ bool "lvm2 support"
+ depends on BR2_PACKAGE_UDISKS
+ depends on BR2_PACKAGE_LVM2
+ select BR2_PACKAGE_LVM2_APP_LIBRARY
+ default n
+
+comment "udisks requires udev and dbus to be enabled"
+ depends on !BR2_PACKAGE_UDEV || !BR2_PACKAGE_DBUS
diff --git a/package/udisks/udisks.mk b/package/udisks/udisks.mk
new file mode 100644
index 0000000..f85fc40
--- /dev/null
+++ b/package/udisks/udisks.mk
@@ -0,0 +1,26 @@
+#############################################################
+#
+# udisks
+#
+#############################################################
+UDISKS_VERSION = 1.0.4
+UDISKS_SITE = http://hal.freedesktop.org/releases/
+
+UDISKS_DEPENDENCIES = \
+ sg3_utils \
+ host-pkgconf \
+ udev \
+ dbus \
+ dbus-glib \
+ polkit \
+ parted \
+ lvm2 \
+ libatasmart
+
+UDISKS_CONF_OPT = --disable-remote-access --disable-gtk-doc
+
+ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
+UDISKS_CONF_OPT += --enable-lvm2
+endif
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 5/6] lvm2: Compile and install application library.
From: Marek Belisko @ 2012-12-21 21:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126305-16133-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
package/lvm2/Config.in | 6 ++++++
package/lvm2/lvm2.mk | 8 +++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
index 30af14e..bb41c0a 100644
--- a/package/lvm2/Config.in
+++ b/package/lvm2/Config.in
@@ -21,5 +21,11 @@ config BR2_PACKAGE_LVM2_DMSETUP_ONLY
help
Install dmsetup only and skip the LVM2 suite.
+config BR2_PACKAGE_LVM2_APP_LIBRARY
+ bool "install application library"
+ depends on BR2_PACKAGE_LVM2
+ help
+ Install application library (liblvm2app2).
+
comment "lvm2 requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index f54caa4..213ef65 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -21,7 +21,7 @@ LVM2_BINS = \
# Make sure that binaries and libraries are installed with write
# permissions for the owner.
-LVM2_CONF_OPT += --enable-write_install --enable-pkgconfig
+LVM2_CONF_OPT += --enable-write_install --enable-pkgconfig --enable-applib
# LVM2 uses autoconf, but not automake, and the build system does not
# take into account the CC passed at configure time.
@@ -41,6 +41,12 @@ LVM2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install_device-mapper
LVM2_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install_device-mapper
endif
+ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y)
+LVM2_MAKE_OPT += liblvm
+LVM2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
+LVM2_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+endif
+
define LVM2_UNINSTALL_STAGING_CMDS
rm -f $(addprefix $(STAGING_DIR)/usr/sbin/,$(LVM2_BINS))
rm -f $(addprefix $(STAGING_DIR)/usr/lib/,libdevmapper.so*)
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 4/6] lvm2: Install devmapper.pc to staging/target pkgconfig directory.
From: Marek Belisko @ 2012-12-21 21:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126305-16133-1-git-send-email-marek.belisko@open-nandra.com>
Without this change if some package which have dependency on device mapper and use
pkgconfig to check version always fail to find library because devmapper.pc file wasn't
installed.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
package/lvm2/lvm2.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index 52326ea..f54caa4 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -21,7 +21,7 @@ LVM2_BINS = \
# Make sure that binaries and libraries are installed with write
# permissions for the owner.
-LVM2_CONF_OPT += --enable-write_install
+LVM2_CONF_OPT += --enable-write_install --enable-pkgconfig
# LVM2 uses autoconf, but not automake, and the build system does not
# take into account the CC passed at configure time.
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 3/3] udisks: new package
From: Marek Belisko @ 2012-12-21 21:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126305-16133-1-git-send-email-marek.belisko@open-nandra.com>
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
---
package/Config.in | 1 +
package/udisks/Config.in | 25 +++++++++++++++++++++++++
package/udisks/udisks.mk | 16 ++++++++++++++++
3 files changed, 42 insertions(+), 0 deletions(-)
create mode 100644 package/udisks/Config.in
create mode 100644 package/udisks/udisks.mk
diff --git a/package/Config.in b/package/Config.in
index cccfd77..0986f12 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -262,6 +262,7 @@ source "package/sysstat/Config.in"
source "package/ti-utils/Config.in"
source "package/uboot-tools/Config.in"
source "package/udev/Config.in"
+source "package/udisks/Config.in"
source "package/usb_modeswitch/Config.in"
source "package/usb_modeswitch_data/Config.in"
source "package/usbmount/Config.in"
diff --git a/package/udisks/Config.in b/package/udisks/Config.in
new file mode 100644
index 0000000..c46fa7f
--- /dev/null
+++ b/package/udisks/Config.in
@@ -0,0 +1,25 @@
+config BR2_PACKAGE_UDISKS
+ bool "udisks"
+ select BR2_PACKAGE_SGUTILS
+ depends on BR2_PACKAGE_UDEV
+ depends on BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_UDEV_ALL_EXTRAS
+ select BR2_PACKAGE_DBUS_GLIB
+ select BR2_PACKAGE_POLKIT
+ select BR2_PACKAGE_PARTED
+ select BR2_PACKAGE_LVM2_DMSETUP_ONLY
+ help
+ The udisks project provides
+
+ o A storage daemon that implements well-defined D-Bus
+ interfaces that can be used to query and manipulate
+ storage devices.
+
+ o a command-line tool, udisks(1), that can be used to query
+ and use the daemon
+
+ http://www.freedesktop.org/wiki/Software/udisks
+
+
+comment "udisks requires udev and dbus to be enabled"
+ depends on !BR2_PACKAGE_UDEV || !BR2_PACKAGE_DBUS
diff --git a/package/udisks/udisks.mk b/package/udisks/udisks.mk
new file mode 100644
index 0000000..6946928
--- /dev/null
+++ b/package/udisks/udisks.mk
@@ -0,0 +1,16 @@
+UDISKS_VERSION = 1.0.4
+UDISKS_SITE = http://hal.freedesktop.org/releases/
+
+UDISKS_DEPENDENCIES = \
+ sgutils \
+ host-pkgconf \
+ udev \
+ dbus \
+ dbus-glib \
+ polkit \
+ parted \
+ lvm2
+
+UDISKS_CONF_OPT = --disable-lvm2 --disable-remote-access --disable-gtk-doc
+
+$(eval $(autotools-package))
--
1.7.5.4
^ permalink raw reply related
* [Buildroot] [PATCH 3/6] libatasmart: new package.
From: Marek Belisko @ 2012-12-21 21:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126305-16133-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
package/Config.in | 1 +
package/libatasmart/Config.in | 11 +++++++++++
package/libatasmart/libatasmart.mk | 14 ++++++++++++++
3 files changed, 26 insertions(+)
create mode 100644 package/libatasmart/Config.in
create mode 100644 package/libatasmart/libatasmart.mk
diff --git a/package/Config.in b/package/Config.in
index 155a429..7a0a852 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -231,6 +231,7 @@ source "package/iostat/Config.in"
source "package/irda-utils/Config.in"
source "package/kbd/Config.in"
source "package/lcdproc/Config.in"
+source "package/libatasmart/Config.in"
source "package/linux-firmware/Config.in"
source "package/lm-sensors/Config.in"
source "package/lshw/Config.in"
diff --git a/package/libatasmart/Config.in b/package/libatasmart/Config.in
new file mode 100644
index 0000000..863046f
--- /dev/null
+++ b/package/libatasmart/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBATASMART
+ bool "libatasmart"
+ depends on BR2_PACKAGE_UDEV
+ help
+ Reading and Parsing Library.
+ As the name suggests libatasmart only does ATA S.M.A.R.T.
+
+ git://git.0pointer.de/libatasmart.git
+
+comment "libatasmart requires udev to be enabled"
+ depends on !BR2_PACKAGE_UDEV
diff --git a/package/libatasmart/libatasmart.mk b/package/libatasmart/libatasmart.mk
new file mode 100644
index 0000000..47b4720
--- /dev/null
+++ b/package/libatasmart/libatasmart.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# libatasmart
+#
+#############################################################
+LIBATASMART_VERSION = v0.19
+LIBATASMART_SITE = git://git.0pointer.de/libatasmart.git
+
+LIBATASMART_INSTALL_STAGING = YES
+LIBATASMART_AUTORECONF = YES
+
+LIBATASMART_DEPENDENCIES = udev
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 2/6] polkit: new package
From: Marek Belisko @ 2012-12-21 21:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126305-16133-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
---
package/Config.in | 1 +
package/polkit/Config.in | 8 ++++++++
package/polkit/polkit.mk | 18 ++++++++++++++++++
3 files changed, 27 insertions(+)
create mode 100644 package/polkit/Config.in
create mode 100644 package/polkit/polkit.mk
diff --git a/package/Config.in b/package/Config.in
index afecb8e..155a429 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -749,6 +749,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/module-init-tools/Config.in"
endif
source "package/monit/Config.in"
+source "package/polkit/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/procps/Config.in"
source "package/psmisc/Config.in"
diff --git a/package/polkit/Config.in b/package/polkit/Config.in
new file mode 100644
index 0000000..9ca347a
--- /dev/null
+++ b/package/polkit/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_POLKIT
+ bool "polkit"
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_DBUS_EXPAT
+ help
+ PolicyKit is a toolkit for defining and handling
+ authorizations. It is used for allowing unprivileged
+ processes to speak to privileged processes.
diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk
new file mode 100644
index 0000000..8c882f2
--- /dev/null
+++ b/package/polkit/polkit.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# polkit
+#
+#############################################################
+POLKIT_VERSION = 0.103
+POLKIT_SITE = http://www.freedesktop.org/software/polkit/releases/
+
+POLKIT_INSTALL_STAGING = YES
+
+POLKIT_DEPENDENCIES = libglib2 host-intltool expat
+
+# We could also support --with-authfw=pam
+POLKIT_CONF_OPT = \
+ --with-authfw=shadow \
+ --with-os-type=unknown
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 1/6] sg3_utils: new package
From: Marek Belisko @ 2012-12-21 21:44 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356126305-16133-1-git-send-email-marek.belisko@open-nandra.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
---
package/Config.in | 1 +
package/sg3_utils/Config.in | 15 +++++++++++++++
package/sg3_utils/sg3_utils.mk | 33 +++++++++++++++++++++++++++++++++
3 files changed, 49 insertions(+)
create mode 100644 package/sg3_utils/Config.in
create mode 100644 package/sg3_utils/sg3_utils.mk
diff --git a/package/Config.in b/package/Config.in
index 66445ff..afecb8e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -253,6 +253,7 @@ source "package/rng-tools/Config.in"
source "package/sane-backends/Config.in"
source "package/sdparm/Config.in"
source "package/setserial/Config.in"
+source "package/sg3_utils/Config.in"
source "package/smartmontools/Config.in"
source "package/snowball-hdmiservice/Config.in"
source "package/sredird/Config.in"
diff --git a/package/sg3_utils/Config.in b/package/sg3_utils/Config.in
new file mode 100644
index 0000000..d120e55
--- /dev/null
+++ b/package/sg3_utils/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_SG3_UTILS
+ bool "sgutils"
+ depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ Low level utilities for devices that use a SCSI command set.
+
+ http://sg.danny.cz/sg/sg3_utils.html
+
+config BR2_PACKAGE_SG3_UTILS_PROGS
+ bool "install programs"
+ depends on BR2_PACKAGE_SG3_UTILS
+
+comment "sgutils requires a toolchain with LARGEFILE and threads support"
+ depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/sg3_utils/sg3_utils.mk b/package/sg3_utils/sg3_utils.mk
new file mode 100644
index 0000000..1c629e8
--- /dev/null
+++ b/package/sg3_utils/sg3_utils.mk
@@ -0,0 +1,33 @@
+#############################################################
+#
+# sg3_utils
+#
+#############################################################
+SG3_UTILS_VERSION = 1.34
+SG3_UTILS_SITE = http://sg.danny.cz/sg/p/
+
+# install the libsgutils2 library
+SG3_UTILS_INSTALL_STAGING = YES
+
+define SG3_UTILS_REMOVE_PROGS
+ for prog in \
+ dd decode_sense emc_trespass format get_config \
+ get_lba_status ident inq logs luns map26 \
+ map sgm_dd modes opcodes sgp_dd persist prevent \
+ raw rbuf rdac read readcap read_block_limits \
+ read_buffer read_long reassign referrals \
+ requests reset rmsn rtpg safte sanitize \
+ sat_identify sat_phy_event sat_set_features scan \
+ senddiag ses start stpg sync test_rwbuf turs \
+ unmap verify vpd write_buffer write_long \
+ write_same wr_mode ; do \
+ $(RM) $(TARGET_DIR)/usr/bin/sg_$${prog} ; \
+ done
+ $(RM) $(TARGET_DIR)/usr/bin/sginfo
+endef
+
+ifneq ($(BR2_PACKAGE_SG3_UTILS_PROGS),y)
+SG3_UTILS_POST_INSTALL_TARGET_HOOKS += SG3_UTILS_REMOVE_PROGS
+endif
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 0/6] Add support for udisks package.
From: Marek Belisko @ 2012-12-21 21:44 UTC (permalink / raw)
To: buildroot
This patches add support for udisks and dependencies + fixes.
Patches for sg3_utils, polkit and udisks was done by
Thomas Petazzoni and overtaken from
http://free-electrons.com/~thomas/pub/udisks-buildroot/.
They were fixed to work with latest buildroot.
udisks with lvm2 support (default n) have dependency on devmapper
and lvm2 application library. There are two fixes:
- correctly install devmapper.pc to staging/target
- add support for application library
Marek Belisko (6):
sg3_utils: new package
polkit: new package
libatasmart: new package.
lvm2: Install devmapper.pc to staging/target pkgconfig directory.
lvm2: Compile and install application library.
udisks: new package
package/Config.in | 4 ++++
package/libatasmart/Config.in | 11 +++++++++++
package/libatasmart/libatasmart.mk | 14 ++++++++++++++
package/lvm2/Config.in | 6 ++++++
package/lvm2/lvm2.mk | 8 +++++++-
package/polkit/Config.in | 8 ++++++++
package/polkit/polkit.mk | 18 ++++++++++++++++++
package/sg3_utils/Config.in | 15 +++++++++++++++
package/sg3_utils/sg3_utils.mk | 33 +++++++++++++++++++++++++++++++++
package/udisks/Config.in | 32 ++++++++++++++++++++++++++++++++
package/udisks/udisks.mk | 26 ++++++++++++++++++++++++++
11 files changed, 174 insertions(+), 1 deletion(-)
create mode 100644 package/libatasmart/Config.in
create mode 100644 package/libatasmart/libatasmart.mk
create mode 100644 package/polkit/Config.in
create mode 100644 package/polkit/polkit.mk
create mode 100644 package/sg3_utils/Config.in
create mode 100644 package/sg3_utils/sg3_utils.mk
create mode 100644 package/udisks/Config.in
create mode 100644 package/udisks/udisks.mk
--
1.7.10.4
^ permalink raw reply
* [Buildroot] [Bug 5810] Buildroot 2012.11: Additional GCC option "-msoft-float" breaks the build
From: bugzilla at busybox.net @ 2012-12-21 20:43 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-5810-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=5810
--- Comment #5 from Timofei Bolshakov <tbolsh@gmail.com> 2012-12-21 20:44:10 UTC ---
(In reply to comment #4)
> So, you're explicitly passing:
>
> BR2_EXTRA_GCC_CONFIG_OPTIONS="-msoft-float"
No, I am setting "Additional gcc options". That leads to
BR2_EXTRA_GCC_CONFIG_OPTIONS="-msoft-float"
I surely was not understanding that it will lead to CONFIG option.
My fault. But that is curious conversion from "Additional gcc options" to
BR2_EXTRA_GCC_CONFIG_OPTIONS - it is not clear until one goes into
the .config in text form. Meanwhile - using it in "Target optimizations" also
leads to break.
And that was not breaking the build in 2012.8
So, where should I put my -msoft-float then? I want everything to be compiled
with this flag.
>
> in your Buildroot configuration, and then you complain because GCC doesn't
> understand your special flag?
What should I complain about then? Unclear language?
If one will change "Additional gcc options" to "Additional gcc config options"
there will be no confusion. Or to use anything I should go and check the source
code?
> If you pass a special flag, aren't you supposed
> to know what you're doing?
>
> This seems like a curious bug report, isn't it ?
That is clear enough:
-msoft-float
Use (do not use) the hardware floating-point instructions for
floating-point operations. When -msoft-float is specified, functions in
libgcc.a will be used to perform floating-point operations. Unless they are
replaced by routines that emulate the floating-point operations, or compiled in
such a way as to call such emulations routines, these routines will issue
floating-point operations. If you are compiling for an Alpha without
floating-point operations, you must ensure that the library is built so as not
to call them. Note that Alpha implementations without floating-point operations
are required to have floating-point registers.
That is what I want - "functions in libgcc.a will be used to perform
floating-point operations". I was wrong to use config option labelled as
"additional" for that. Where can I put my "-msoft-float"?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [Bug 5810] Buildroot 2012.11: Additional GCC option "-msoft-float" breaks the build
From: bugzilla at busybox.net @ 2012-12-21 18:59 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-5810-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=5810
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-12-21 19:00:13 UTC ---
So, you're explicitly passing:
BR2_EXTRA_GCC_CONFIG_OPTIONS="-msoft-float"
in your Buildroot configuration, and then you complain because GCC doesn't
understand your special flag? If you pass a special flag, aren't you supposed
to know what you're doing?
This seems like a curious bug report, isn't it ?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [Bug 5810] Buildroot 2012.11: Additional GCC option "-msoft-float" breaks the build
From: bugzilla at busybox.net @ 2012-12-21 18:52 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-5810-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=5810
--- Comment #3 from Timofei Bolshakov <tbolsh@gmail.com> 2012-12-21 18:52:40 UTC ---
Created attachment 4706
--> https://bugs.busybox.net/attachment.cgi?id=4706
Zip file contains .config and kernel defconfig used in .config
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [Bug 5810] Buildroot 2012.11: Additional GCC option "-msoft-float" breaks the build
From: bugzilla at busybox.net @ 2012-12-21 18:42 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-5810-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=5810
--- Comment #2 from Timofei Bolshakov <tbolsh@gmail.com> 2012-12-21 18:42:55 UTC ---
(In reply to comment #1)
> Please post your Buildroot .config so we can reproduce the problem.
>
> And for the "meanwhile - why it applies arm related patches to x86?" question,
> this is because we don't do architecture-specific patches. Those patches are
> always applied, regardless of which architecture you are building for, but in
> practice they only touch ARM-specific parts of gcc, so they are totally
> harmless if you build for x86, PowerPC or MIPS. Having a single stack of
> patches that are always applied regardless of the selected architecture is much
> better than having per-architecture patches.
OK.
Especially if it is harmless.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [Bug 5810] Buildroot 2012.11: Additional GCC option "-msoft-float" breaks the build
From: bugzilla at busybox.net @ 2012-12-21 18:22 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-5810-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=5810
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-12-21 18:22:34 UTC ---
Please post your Buildroot .config so we can reproduce the problem.
And for the "meanwhile - why it applies arm related patches to x86?" question,
this is because we don't do architecture-specific patches. Those patches are
always applied, regardless of which architecture you are building for, but in
practice they only touch ARM-specific parts of gcc, so they are totally
harmless if you build for x86, PowerPC or MIPS. Having a single stack of
patches that are always applied regardless of the selected architecture is much
better than having per-architecture patches.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [Bug 5810] New: Buildroot 2012.11: Additional GCC option "-msoft-float" breaks the build
From: bugzilla at busybox.net @ 2012-12-21 17:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5810
Summary: Buildroot 2012.11: Additional GCC option
"-msoft-float" breaks the build
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: tbolsh at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
I need to build an embedded Linux for 486 without coprocessor.
2012.08 works for that reason, 2012.11 breaks.
Here is the error (meanwhile - why it applies arm related patches to x86?):
_____________________________________________________
Applying 810-arm-softfloat-libgcc.patch using patch:
patching file gcc/config/arm/linux-elf.h
patching file libgcc/config/arm/t-linux
Applying 830-arm_unbreak_armv4t.patch using patch:
patching file gcc/config/arm/linux-eabi.h
touch /root/buildroot-2012.11/output/toolchain/gcc-4.7.2/.patched
mkdir -p /root/buildroot-2012.11/output/toolchain/gcc-4.7.2-initial
(cd /root/buildroot-2012.11/output/toolchain/gcc-4.7.2-initial; rm -rf
config.cache; \
PATH=/root/buildroot-2012.11/output/host/bin:/root/buildroot-2012.11/output/host/usr/bin:/usr/lib/git-core:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm"
CC="/root/buildroot-2012.11/output/host/usr/bin/ccache /usr/bin/gcc"
GCC="/root/buildroot-2012.11/output/host/usr/bin/ccache /usr/bin/gcc"
CXX="/root/buildroot-2012.11/output/host/usr/bin/ccache /usr/bin/g++"
CPP="/usr/bin/cpp" CPPFLAGS="-I/root/buildroot-2012.11/output/host/usr/include"
CFLAGS="-O2 -I/root/buildroot-2012.11/output/host/usr/include" CXXFLAGS="-O2
-I/root/buildroot-2012.11/output/host/usr/include"
LDFLAGS="-L/root/buildroot-2012.11/output/host/lib
-L/root/buildroot-2012.11/output/host/usr/lib
-Wl,-rpath,/root/buildroot-2012.11/output/host/usr/lib"
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG="/root/buildroot-2012.11/output/host/usr/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/"
PKG_CONFIG_LIBDIR="/root/buildroot-2012.11/output/host/usr/lib/pkgconfig:/root/buildroot-2012.11/output/host/usr/share/pkgconfig"
PERLLIB="/root/buildroot-2012.11/output/host/usr/lib/perl"
LD_LIBRARY_PATH="/root/buildroot-2012.11/output/host/usr/lib:" \
/root/buildroot-2012.11/output/toolchain/gcc-4.7.2/configure \
--prefix=/root/buildroot-2012.11/output/host/usr \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--target=i486-buildroot-linux-uclibc \
--enable-languages=c \
--with-sysroot=/root/buildroot-2012.11/output/toolchain/uClibc_dev/ \
--disable-__cxa_atexit \
--enable-target-optspace \
\
--enable-libgomp \
--with-gnu-ld \
--disable-shared \
--disable-libssp \
--without-headers \
--with-newlib \
--disable-multilib \
--enable-tls \
--with-gmp=/root/buildroot-2012.11/output/host/usr \
--with-mpfr=/root/buildroot-2012.11/output/host/usr \
--with-mpc=/root/buildroot-2012.11/output/host/usr \
--disable-nls \
--enable-threads \
--disable-decimal-float \
\
--with-arch="i486" --with-tune="i486" \
--with-pkgversion="Buildroot 2012.11"
--with-bugurl="http://bugs.buildroot.net/" -msoft-float \
)
configure: error: unrecognized option: `-msoft-float'
Try `/root/buildroot-2012.11/output/toolchain/gcc-4.7.2/configure --help' for
more information.
make: ***
[/root/buildroot-2012.11/output/toolchain/gcc-4.7.2-initial/.configured] Error
1
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] Can buildroot build kernel documentations?
From: Thomas Petazzoni @ 2012-12-21 17:47 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121221171052.GA12422@zuhnb712>
Dear Woody Wu,
On Sat, 22 Dec 2012 01:10:52 +0800, Woody Wu wrote:
> In addtional to build the kernel image, if I also want to build the
> kernel documentation (make htmldocs), can I do it in buildroot?
cd output/build/linux-* ; make htmldocs
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] Can buildroot build kernel documentations?
From: Woody Wu @ 2012-12-21 17:10 UTC (permalink / raw)
To: buildroot
Hi, List
In addtional to build the kernel image, if I also want to build the
kernel documentation (make htmldocs), can I do it in buildroot?
--
woody
I can't go back to yesterday - because I was a different person then.
^ permalink raw reply
* [Buildroot] inittab for different systems
From: Yegor Yefremov @ 2012-12-21 15:36 UTC (permalink / raw)
To: buildroot
I have two systems that use DT and thus can share one uImage. I'd like
to use one rootfs image for both. How do I configure console in
inittab, so that it can deal with different systems (one has ttyO2 the
other ttyO3 as console)?
Yegor
^ 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