Compare commits
21 Commits
2012.05_rc
...
2012.05_rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b0d7badb0 | ||
|
|
573a740998 | ||
|
|
3ae7d81407 | ||
|
|
a3c46e4f17 | ||
|
|
4f0bc3b74f | ||
|
|
82609df4dd | ||
|
|
66c7e29451 | ||
|
|
ae446b2ea3 | ||
|
|
c73df193c5 | ||
|
|
602de0675e | ||
|
|
1c52c9e1fb | ||
|
|
e44d5c947d | ||
|
|
fce8d0765a | ||
|
|
7a41ddd3fb | ||
|
|
8b3f94f9b0 | ||
|
|
a89e0e8721 | ||
|
|
b779b6bd94 | ||
|
|
38b1ba3681 | ||
|
|
55547775aa | ||
|
|
920544e02b | ||
|
|
e4fba5865b |
13
CHANGES
13
CHANGES
@@ -1,3 +1,16 @@
|
||||
2012.05-rc3, Released May 25th, 2012:
|
||||
|
||||
Minor fixes around the tree.
|
||||
|
||||
Infra: Fix for DOWNLOAD macro when using primary mirrors with
|
||||
scp targets.
|
||||
|
||||
Toolchain: Kernel headers 3.2.18 / 3.3.7.
|
||||
|
||||
Updated/fixed packages: binutils, bison, busybox, cifs-utils,
|
||||
gnuchess, gpsd, iperf, libmpeg2, mtd, ntfs-3g, oprofile,
|
||||
xserver-xorg
|
||||
|
||||
2012.05-rc2, Released May 18th, 2012:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
2
Makefile
2
Makefile
@@ -24,7 +24,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2012.05-rc2
|
||||
export BR2_VERSION:=2012.05-rc3
|
||||
|
||||
# Check for minimal make version (note: this check will break at make 10.x)
|
||||
MIN_MAKE_VERSION=3.81
|
||||
|
||||
@@ -16,7 +16,7 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-3.3.config"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
@@ -17,6 +17,6 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
@@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazebe-mmu/kernel-3.3.config"
|
||||
BR2_LINUX_KERNEL_DTS_FILE="board/qemu/microblazebe-mmu/system.dts"
|
||||
|
||||
@@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazeel-mmu/kernel-3.3.config"
|
||||
BR2_LINUX_KERNEL_DTS_FILE="board/qemu/microblazeel-mmu/system.dts"
|
||||
|
||||
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips-malta/linux-3.3.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-3.3.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/powerpc-g3beige/linux-3.3.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="mpc85xx"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-multilib-list=m4,m4-nofpu"
|
||||
# Linux kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.17"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.18"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux-3.2.config"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
@@ -12,6 +12,6 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Linux kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="sparc32"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
@@ -15,6 +15,6 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux-3.3.config"
|
||||
|
||||
@@ -16,6 +16,6 @@ BR2_KERNEL_HEADERS_3_3=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux-3.3.config"
|
||||
|
||||
@@ -14,12 +14,12 @@ or
|
||||
<a href="/downloads/buildroot-2012.02.tar.bz2">buildroot-2012.02.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
The latest release candidate is <b>2012.05-rc2</b>, which can be
|
||||
The latest release candidate is <b>2012.05-rc3</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2012.05-rc2.tar.gz">buildroot-2012.05-rc2.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2012.05-rc3.tar.gz">buildroot-2012.05-rc3.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2012.05-rc2.tar.bz2">buildroot-2012.05-rc2.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2012.05-rc3.tar.bz2">buildroot-2012.05-rc3.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
This and earlier releases can always be downloaded from
|
||||
|
||||
@@ -5,6 +5,18 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>25 May 2012 -- 2012.05-rc3 released</b>
|
||||
|
||||
<p>RC3 is out with more bugfixes - See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.05_rc3">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2012.05-rc3.tar.bz2">2012.05-rc3
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>18 May 2012 -- 2012.05-rc2 released</b>
|
||||
|
||||
<p>Another week, another release candidate with more cleanups and
|
||||
|
||||
@@ -22,7 +22,7 @@ choice
|
||||
default BR2_LINUX_KERNEL_3_3
|
||||
|
||||
config BR2_LINUX_KERNEL_3_3
|
||||
bool "3.3.6"
|
||||
bool "3.3.7"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -77,7 +77,7 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "3.3.6" if BR2_LINUX_KERNEL_3_3
|
||||
default "3.3.7" if BR2_LINUX_KERNEL_3_3
|
||||
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||
|
||||
@@ -8,8 +8,13 @@
|
||||
# If not, we do like other packages
|
||||
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
|
||||
ifeq ($(BINUTILS_VERSION),)
|
||||
ifeq ($(BR2_avr32),y)
|
||||
# avr32 uses a special version
|
||||
BINUTILS_VERSION = 2.18-avr32-1.0.1
|
||||
else
|
||||
BINUTILS_VERSION = 2.21
|
||||
endif
|
||||
endif
|
||||
|
||||
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.bz2
|
||||
BINUTILS_SITE = $(BR2_GNU_MIRROR)/binutils
|
||||
|
||||
@@ -2,6 +2,8 @@ config BR2_PACKAGE_BISON
|
||||
bool "bison"
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_M4
|
||||
# m4 uses fork()
|
||||
depends on BR2_USE_MMU
|
||||
help
|
||||
General-purpose parser generator that converts a
|
||||
grammar description for an LALR context-free grammar into a C
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
--- busybox-1.20.0/archival/libarchive/Kbuild.src
|
||||
+++ busybox-1.20.0-buildsys/archival/libarchive/Kbuild.src
|
||||
@@ -45,7 +45,7 @@ lib-$(CONFIG_UNXZ)
|
||||
lib-$(CONFIG_CPIO) += get_header_cpio.o
|
||||
lib-$(CONFIG_DPKG) += $(DPKG_FILES)
|
||||
lib-$(CONFIG_DPKG_DEB) += $(DPKG_FILES)
|
||||
-lib-$(CONFIG_GUNZIP) += decompress_gunzip.o
|
||||
+lib-$(CONFIG_GUNZIP) += open_transformer.o decompress_gunzip.o
|
||||
lib-$(CONFIG_RPM2CPIO) += decompress_gunzip.o get_header_cpio.o
|
||||
lib-$(CONFIG_RPM) += open_transformer.o decompress_gunzip.o get_header_cpio.o
|
||||
lib-$(CONFIG_TAR) += get_header_tar.o
|
||||
@@ -60,7 +60,7 @@ lib-$(CONFIG_FEATURE_SEAMLESS_GZ)
|
||||
lib-$(CONFIG_FEATURE_SEAMLESS_BZ2) += open_transformer.o decompress_bunzip2.o
|
||||
lib-$(CONFIG_FEATURE_SEAMLESS_LZMA) += open_transformer.o decompress_unlzma.o
|
||||
|
||||
73
package/busybox/busybox-1.20.0/busybox-1.20.0-ext4.patch
Normal file
73
package/busybox/busybox-1.20.0/busybox-1.20.0-ext4.patch
Normal file
@@ -0,0 +1,73 @@
|
||||
--- busybox-1.20.0/util-linux/volume_id/ext.c
|
||||
+++ busybox-1.20.0-ext4/util-linux/volume_id/ext.c
|
||||
@@ -39,10 +39,50 @@ struct ext2_super_block {
|
||||
uint8_t volume_name[16];
|
||||
} PACKED;
|
||||
|
||||
-#define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x00000004
|
||||
-#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x00000008
|
||||
#define EXT_SUPERBLOCK_OFFSET 0x400
|
||||
|
||||
+/* for s_flags */
|
||||
+#define EXT2_FLAGS_TEST_FILESYS 0x0004
|
||||
+
|
||||
+/* for s_feature_compat */
|
||||
+#define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004
|
||||
+
|
||||
+/* for s_feature_ro_compat */
|
||||
+#define EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER 0x0001
|
||||
+#define EXT2_FEATURE_RO_COMPAT_LARGE_FILE 0x0002
|
||||
+#define EXT2_FEATURE_RO_COMPAT_BTREE_DIR 0x0004
|
||||
+#define EXT4_FEATURE_RO_COMPAT_HUGE_FILE 0x0008
|
||||
+#define EXT4_FEATURE_RO_COMPAT_GDT_CSUM 0x0010
|
||||
+#define EXT4_FEATURE_RO_COMPAT_DIR_NLINK 0x0020
|
||||
+#define EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE 0x0040
|
||||
+
|
||||
+/* for s_feature_incompat */
|
||||
+#define EXT2_FEATURE_INCOMPAT_FILETYPE 0x0002
|
||||
+#define EXT3_FEATURE_INCOMPAT_RECOVER 0x0004
|
||||
+#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008
|
||||
+#define EXT2_FEATURE_INCOMPAT_META_BG 0x0010
|
||||
+#define EXT4_FEATURE_INCOMPAT_EXTENTS 0x0040 /* extents support */
|
||||
+#define EXT4_FEATURE_INCOMPAT_64BIT 0x0080
|
||||
+#define EXT4_FEATURE_INCOMPAT_MMP 0x0100
|
||||
+#define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200
|
||||
+
|
||||
+#define EXT2_FEATURE_RO_COMPAT_SUPP (EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER| \
|
||||
+ EXT2_FEATURE_RO_COMPAT_LARGE_FILE| \
|
||||
+ EXT2_FEATURE_RO_COMPAT_BTREE_DIR)
|
||||
+#define EXT2_FEATURE_INCOMPAT_SUPP (EXT2_FEATURE_INCOMPAT_FILETYPE| \
|
||||
+ EXT2_FEATURE_INCOMPAT_META_BG)
|
||||
+#define EXT2_FEATURE_INCOMPAT_UNSUPPORTED ~EXT2_FEATURE_INCOMPAT_SUPP
|
||||
+#define EXT2_FEATURE_RO_COMPAT_UNSUPPORTED ~EXT2_FEATURE_RO_COMPAT_SUPP
|
||||
+
|
||||
+#define EXT3_FEATURE_RO_COMPAT_SUPP (EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER| \
|
||||
+ EXT2_FEATURE_RO_COMPAT_LARGE_FILE| \
|
||||
+ EXT2_FEATURE_RO_COMPAT_BTREE_DIR)
|
||||
+#define EXT3_FEATURE_INCOMPAT_SUPP (EXT2_FEATURE_INCOMPAT_FILETYPE| \
|
||||
+ EXT3_FEATURE_INCOMPAT_RECOVER| \
|
||||
+ EXT2_FEATURE_INCOMPAT_META_BG)
|
||||
+#define EXT3_FEATURE_INCOMPAT_UNSUPPORTED ~EXT3_FEATURE_INCOMPAT_SUPP
|
||||
+#define EXT3_FEATURE_RO_COMPAT_UNSUPPORTED ~EXT3_FEATURE_RO_COMPAT_SUPP
|
||||
+
|
||||
int FAST_FUNC volume_id_probe_ext(struct volume_id *id /*,uint64_t off*/)
|
||||
{
|
||||
#define off ((uint64_t)0)
|
||||
@@ -66,11 +106,15 @@ int FAST_FUNC volume_id_probe_ext(struct
|
||||
dbg("ext: label '%s' uuid '%s'", id->label, id->uuid);
|
||||
|
||||
#if ENABLE_FEATURE_BLKID_TYPE
|
||||
- if ((le32_to_cpu(es->feature_compat) & EXT3_FEATURE_COMPAT_HAS_JOURNAL) != 0)
|
||||
+ if ((es->feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_HUGE_FILE | EXT4_FEATURE_RO_COMPAT_DIR_NLINK))
|
||||
+ || (es->feature_incompat & cpu_to_le32(EXT4_FEATURE_INCOMPAT_EXTENTS | EXT4_FEATURE_INCOMPAT_64BIT))
|
||||
+ ) {
|
||||
+ id->type = "ext4";
|
||||
+ }
|
||||
+ else if (es->feature_compat & cpu_to_le32(EXT3_FEATURE_COMPAT_HAS_JOURNAL))
|
||||
id->type = "ext3";
|
||||
else
|
||||
id->type = "ext2";
|
||||
#endif
|
||||
-
|
||||
return 0;
|
||||
}
|
||||
33
package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch
Normal file
33
package/busybox/busybox-1.20.0/busybox-1.20.0-find.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
--- busybox-1.20.0/findutils/find.c
|
||||
+++ busybox-1.20.0-find/findutils/find.c
|
||||
@@ -831,6 +831,11 @@ static action*** parse_params(char **arg
|
||||
PARM_name ,
|
||||
PARM_iname ,
|
||||
IF_FEATURE_FIND_PATH( PARM_path ,)
|
||||
+#if ENABLE_DESKTOP
|
||||
+ /* -wholename is a synonym for -path */
|
||||
+ /* We support it because Linux kernel's "make tags" uses it */
|
||||
+ IF_FEATURE_FIND_PATH( PARM_wholename ,)
|
||||
+#endif
|
||||
IF_FEATURE_FIND_PATH( PARM_ipath ,)
|
||||
IF_FEATURE_FIND_REGEX( PARM_regex ,)
|
||||
IF_FEATURE_FIND_TYPE( PARM_type ,)
|
||||
@@ -869,6 +874,9 @@ static action*** parse_params(char **arg
|
||||
"-name\0"
|
||||
"-iname\0"
|
||||
IF_FEATURE_FIND_PATH( "-path\0" )
|
||||
+#if ENABLE_DESKTOP
|
||||
+ IF_FEATURE_FIND_PATH( "-wholename\0")
|
||||
+#endif
|
||||
IF_FEATURE_FIND_PATH( "-ipath\0" )
|
||||
IF_FEATURE_FIND_REGEX( "-regex\0" )
|
||||
IF_FEATURE_FIND_TYPE( "-type\0" )
|
||||
@@ -1076,7 +1084,7 @@ static action*** parse_params(char **arg
|
||||
ap->iname = (parm == PARM_iname);
|
||||
}
|
||||
#if ENABLE_FEATURE_FIND_PATH
|
||||
- else if (parm == PARM_path || parm == PARM_ipath) {
|
||||
+ else if (parm == PARM_path IF_DESKTOP(|| parm == PARM_wholename) || parm == PARM_ipath) {
|
||||
action_path *ap;
|
||||
dbg("%d", __LINE__);
|
||||
ap = ALLOC_ACTION(path);
|
||||
72
package/busybox/busybox-1.20.0/busybox-1.20.0-mdev.patch
Normal file
72
package/busybox/busybox-1.20.0/busybox-1.20.0-mdev.patch
Normal file
@@ -0,0 +1,72 @@
|
||||
--- busybox-1.20.0/util-linux/mdev.c
|
||||
+++ busybox-1.20.0-mdev/util-linux/mdev.c
|
||||
@@ -661,37 +661,45 @@ static int FAST_FUNC dirAction(const cha
|
||||
static void load_firmware(const char *firmware, const char *sysfs_path)
|
||||
{
|
||||
int cnt;
|
||||
- int firmware_fd, loading_fd, data_fd;
|
||||
+ int firmware_fd, loading_fd;
|
||||
|
||||
/* check for /lib/firmware/$FIRMWARE */
|
||||
xchdir("/lib/firmware");
|
||||
- firmware_fd = xopen(firmware, O_RDONLY);
|
||||
-
|
||||
- /* in case we goto out ... */
|
||||
- data_fd = -1;
|
||||
+ firmware_fd = open(firmware, O_RDONLY); /* can fail */
|
||||
|
||||
/* check for /sys/$DEVPATH/loading ... give 30 seconds to appear */
|
||||
xchdir(sysfs_path);
|
||||
for (cnt = 0; cnt < 30; ++cnt) {
|
||||
loading_fd = open("loading", O_WRONLY);
|
||||
- if (loading_fd != -1)
|
||||
+ if (loading_fd >= 0)
|
||||
goto loading;
|
||||
sleep(1);
|
||||
}
|
||||
goto out;
|
||||
|
||||
loading:
|
||||
- /* tell kernel we're loading by "echo 1 > /sys/$DEVPATH/loading" */
|
||||
- if (full_write(loading_fd, "1", 1) != 1)
|
||||
- goto out;
|
||||
-
|
||||
- /* load firmware into /sys/$DEVPATH/data */
|
||||
- data_fd = open("data", O_WRONLY);
|
||||
- if (data_fd == -1)
|
||||
- goto out;
|
||||
- cnt = bb_copyfd_eof(firmware_fd, data_fd);
|
||||
+ cnt = 0;
|
||||
+ if (firmware_fd >= 0) {
|
||||
+ int data_fd;
|
||||
+
|
||||
+ /* tell kernel we're loading by "echo 1 > /sys/$DEVPATH/loading" */
|
||||
+ if (full_write(loading_fd, "1", 1) != 1)
|
||||
+ goto out;
|
||||
+
|
||||
+ /* load firmware into /sys/$DEVPATH/data */
|
||||
+ data_fd = open("data", O_WRONLY);
|
||||
+ if (data_fd < 0)
|
||||
+ goto out;
|
||||
+ cnt = bb_copyfd_eof(firmware_fd, data_fd);
|
||||
+ if (ENABLE_FEATURE_CLEAN_UP)
|
||||
+ close(data_fd);
|
||||
+ }
|
||||
|
||||
- /* tell kernel result by "echo [0|-1] > /sys/$DEVPATH/loading" */
|
||||
+ /* Tell kernel result by "echo [0|-1] > /sys/$DEVPATH/loading"
|
||||
+ * Note: we emit -1 if firmware file wasn't found.
|
||||
+ * There are cases when otherwise kernel would wait for minutes
|
||||
+ * before timing out.
|
||||
+ */
|
||||
if (cnt > 0)
|
||||
full_write(loading_fd, "0", 1);
|
||||
else
|
||||
@@ -701,7 +709,6 @@ static void load_firmware(const char *fi
|
||||
if (ENABLE_FEATURE_CLEAN_UP) {
|
||||
close(firmware_fd);
|
||||
close(loading_fd);
|
||||
- close(data_fd);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
config BR2_PACKAGE_CIFS_UTILS
|
||||
bool "cifs-utils"
|
||||
# uses fork()
|
||||
depends on BR2_USE_MMU
|
||||
help
|
||||
The in-kernel CIFS filesystem is generally the preferred
|
||||
method for mounting SMB/CIFS shares on Linux. The in-kernel
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
config BR2_PACKAGE_GNUCHESS
|
||||
bool "gnuchess"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
GNU Chess lets most modern computers play a full game of chess.
|
||||
|
||||
http://ftp.gnu.org/pub/gnu/chess
|
||||
|
||||
comment "gnuchess requires a toolchain with thread support"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
config BR2_PACKAGE_IPERF
|
||||
bool "iperf"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
# uses fork()
|
||||
depends on BR2_USE_MMU
|
||||
help
|
||||
Internet Protocol bandwidth measuring tool for measuring
|
||||
TCP/UDP performance.
|
||||
|
||||
@@ -68,12 +68,17 @@ MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol
|
||||
|
||||
MTD_TARGETS_y += $(addprefix ubi-utils/,$(MTD_TARGETS_UBI_y))
|
||||
|
||||
# only call make if atleast a single tool is enabled
|
||||
ifneq ($(MTD_TARGETS_y),)
|
||||
|
||||
define MTD_BUILD_CMDS
|
||||
$(MAKE1) $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \
|
||||
BUILDDIR=$(@D) WITHOUT_XATTR=1 WITHOUT_LARGEFILE=1 -C $(@D) \
|
||||
$(addprefix $(@D)/,$(MTD_TARGETS_y))
|
||||
endef
|
||||
|
||||
endif
|
||||
|
||||
define MTD_INSTALL_TARGET_CMDS
|
||||
for f in $(MTD_TARGETS_y) ; do \
|
||||
install -D -m 0755 $(@D)/$$f $(TARGET_DIR)/usr/sbin/$${f##*/} ; \
|
||||
|
||||
@@ -21,6 +21,7 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NTFS_3G_ENCRYPTED),y)
|
||||
NTFS_3G_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
NTFS_3G_CONF_OPT += --enable-crypto
|
||||
NTFS_3G_DEPENDENCIES += gnutls
|
||||
endif
|
||||
|
||||
@@ -30,7 +30,10 @@ OPROFILE_DEPENDENCIES = popt binutils
|
||||
define OPROFILE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/bin
|
||||
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/share/oprofile
|
||||
cp -dpfr $(@D)/events/$(OPROFILE_ARCH) $(TARGET_DIR)/usr/share/oprofile
|
||||
if [ -d $(@D)/events/$(OPROFILE_ARCH) ]; then \
|
||||
cp -dpfr $(@D)/events/$(OPROFILE_ARCH) \
|
||||
$(TARGET_DIR)/usr/share/oprofile; \
|
||||
fi
|
||||
$(INSTALL) -m 644 $(@D)/libregex/stl.pat $(TARGET_DIR)/usr/share/oprofile
|
||||
$(INSTALL) -m 755 $(@D)/utils/opcontrol $(TARGET_DIR)/usr/bin
|
||||
$(INSTALL) -m 755 $(addprefix $(@D)/, $(OPROFILE_BINARIES)) $(TARGET_DIR)/usr/bin
|
||||
|
||||
@@ -206,7 +206,7 @@ endef
|
||||
define DOWNLOAD_INNER
|
||||
$(Q)if test -n "$(call qstrip,$(BR2_PRIMARY_SITE))" ; then \
|
||||
case "$(call geturischeme,$(BR2_PRIMARY_SITE))" in \
|
||||
scp) $(call $(DL_MODE)_SCP,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
|
||||
scp) $(call $(DL_MODE)_SCP,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \
|
||||
*) $(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \
|
||||
esac ; \
|
||||
fi ; \
|
||||
|
||||
@@ -58,6 +58,7 @@ XSERVER_XORG_SERVER_DEPENDENCIES = \
|
||||
|
||||
XSERVER_XORG_SERVER_CONF_OPT = --disable-config-hal \
|
||||
--disable-xnest --disable-xephyr --disable-xvfb \
|
||||
--disable-dmx \
|
||||
--with-builder-addr=buildroot@uclibc.org \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/pixman-1" \
|
||||
--with-fontdir=/usr/share/fonts/X11/ --localstatedir=/var
|
||||
|
||||
@@ -4,6 +4,29 @@
|
||||
# -Erik
|
||||
#
|
||||
# (c) 2002 Erik Andersen <andersen@codepoet.org>
|
||||
#
|
||||
# Parameters:
|
||||
# - the build directory, optional, default value is '.'. The place where are
|
||||
# the package sources.
|
||||
# - the patch directory, optional, default '../kernel-patches'. The place
|
||||
# where are the scripts you want to apply.
|
||||
# - other parameters are the patch name patterns, optional, default value is
|
||||
# '*'. Pattern(s) describing the patch names you want to apply.
|
||||
#
|
||||
# The script will look recursively for patches from the patch directory. If a
|
||||
# file is named 'series' then only patches mentionned into it will be applied.
|
||||
# If not, the script will look for file names matching pattern(s). If the name
|
||||
# ends with '.tar.*', '.tbz2' or '.tgz', the file is considered as an archive
|
||||
# and will be uncompressed into a directory named
|
||||
# '.patches-name_of_the_archive-unpacked'. It's the turn of this directory to
|
||||
# be scanned with '*' as pattern. Remember that scanning is recursive. Other
|
||||
# files than series file and archives are considered as a patch.
|
||||
#
|
||||
# Once a patch is found, the script will try to apply it. If its name doesn't
|
||||
# end with '.gz', '.bz', '.bz2', '.zip', '.Z', '.diff*' or '.patch*', it will
|
||||
# be skipped. If necessary, the patch will be uncompressed before being
|
||||
# applied. The list of the patches applied is stored in '.applied_patches_list'
|
||||
# file in the build directory.
|
||||
|
||||
# Set directories from arguments, or use defaults.
|
||||
builddir=${1-.}
|
||||
|
||||
@@ -63,9 +63,9 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
||||
default "2.6.37.6" if BR2_KERNEL_HEADERS_2_6_37
|
||||
default "2.6.38.8" if BR2_KERNEL_HEADERS_2_6_38
|
||||
default "2.6.39.4" if BR2_KERNEL_HEADERS_2_6_39
|
||||
default "3.0.31" if BR2_KERNEL_HEADERS_3_0
|
||||
default "3.0.32" if BR2_KERNEL_HEADERS_3_0
|
||||
default "3.1.10" if BR2_KERNEL_HEADERS_3_1
|
||||
default "3.2.17" if BR2_KERNEL_HEADERS_3_2
|
||||
default "3.3.6" if BR2_KERNEL_HEADERS_3_3
|
||||
default "3.2.18" if BR2_KERNEL_HEADERS_3_2
|
||||
default "3.3.7" if BR2_KERNEL_HEADERS_3_3
|
||||
default "2.6" if BR2_KERNEL_HEADERS_SNAP
|
||||
default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
||||
Reference in New Issue
Block a user