summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--package/mplayer/Makefile18
-rw-r--r--package/mplayer/patches/patch-configure20
-rw-r--r--package/mplayer/patches/patch-libvo_vo_dga_c11
-rw-r--r--package/nfs-utils/Makefile2
-rw-r--r--package/nfs-utils/patches/patch-support_include_sockaddr_h5
-rw-r--r--target/config/Config.in3
-rw-r--r--target/linux/config/Config.in.cpu5
-rw-r--r--target/linux/config/Config.in.graphics2
-rw-r--r--target/linux/config/Config.in.misc4
-rw-r--r--target/linux/config/Config.in.netdevice38
-rw-r--r--target/linux/config/Config.in.watchdog4
-rw-r--r--target/x86/sys-available/ibm-x403
-rw-r--r--tools/adk/pkgmaker.c2
14 files changed, 80 insertions, 39 deletions
diff --git a/Makefile b/Makefile
index e465732bb..d5c583c56 100644
--- a/Makefile
+++ b/Makefile
@@ -218,7 +218,7 @@ NO_ERROR=0
@echo 'HOSTCFLAGS:=-O2' >>prereq.mk
@echo 'HOSTCXX:=${CXX}' >>prereq.mk
@echo 'HOSTCXXFLAGS:=-O2' >>prereq.mk
- @echo "HOST_LIBIDL_CONFIG:=$$(which libIDL-config-2)" >>prereq.mk
+ @echo "HOST_LIBIDL_CONFIG:=$$(which libIDL-config-2 2>/dev/null)" >>prereq.mk
@echo "PKG_HOSTLIB_DIR:=$$(pkg-config --variable pc_path pkg-config)" >>prereq.mk
@echo 'LANGUAGE:=C' >>prereq.mk
@echo 'LC_ALL:=C' >>prereq.mk
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 0bef82316..bad5c656d 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= mplayer
-PKG_VERSION:= 1.0-31868
+PKG_VERSION:= 1.0-32749
PKG_RELEASE:= 1
-PKG_MD5SUM:= 9d5c2c1c927947b31afa6f42c11e8f23
+PKG_MD5SUM:= aadc5d8cca503c8b18b3ed00b3a52cf5
PKG_DESCR:= popular video player
PKG_SECTION:= multimedia
PKG_DEPENDS:= alsa-lib libjpeg libfaad2 libmad libncurses
@@ -53,14 +53,19 @@ else
CONFIGURE_CPU_OPTS:= --disable-mmx
endif
ifeq (${ADK_TARGET_CPU_WITH_MMXEXT},y)
-CONFIGURE_CPU_OPTS:= --enable-mmxext
+CONFIGURE_CPU_OPTS+= --enable-mmxext
else
-CONFIGURE_CPU_OPTS:= --disable-mmxext
+CONFIGURE_CPU_OPTS+= --disable-mmxext
endif
ifeq (${ADK_TARGET_CPU_WITH_SSE},y)
-CONFIGURE_CPU_OPTS:= --enable-sse
+CONFIGURE_CPU_OPTS+= --enable-sse
else
-CONFIGURE_CPU_OPTS:= --disable-sse
+CONFIGURE_CPU_OPTS+= --disable-sse
+endif
+ifeq (${ADK_TARGET_CPU_WITH_SSE2},y)
+CONFIGURE_CPU_OPTS+= --enable-sse2
+else
+CONFIGURE_CPU_OPTS+= --disable-sse2
endif
ifeq ($(ADK_DEBUG),y)
@@ -89,7 +94,6 @@ CONFIGURE_ARGS:= --prefix=/usr \
--enable-png \
--enable-jpeg \
--enable-mad \
- --disable-faad-internal \
--enable-libvorbis \
--disable-ossaudio \
--disable-vm \
diff --git a/package/mplayer/patches/patch-configure b/package/mplayer/patches/patch-configure
deleted file mode 100644
index 0189d6962..000000000
--- a/package/mplayer/patches/patch-configure
+++ /dev/null
@@ -1,20 +0,0 @@
---- mplayer-1.0-31868.orig/configure 2010-07-30 17:43:10.000000000 +0200
-+++ mplayer-1.0-31868/configure 2010-10-10 13:06:15.000000000 +0200
-@@ -1530,7 +1530,7 @@ fi
- if irix ; then
- _ranlib='ar -r'
- elif linux ; then
-- _ranlib='true'
-+ _ranlib='ranlib'
- fi
-
- if win32 ; then
-@@ -4354,7 +4354,7 @@ dfb_version() {
-
- if test "$_directfb" = yes; then
- cat > $TMPC << EOF
--#include <directfb_version.h>
-+#include <directfb/directfb_version.h>
- int
- dfb_ver = DIRECTFB_MAJOR_VERSION.DIRECTFB_MINOR_VERSION.DIRECTFB_MICRO_VERSION
- ;
diff --git a/package/mplayer/patches/patch-libvo_vo_dga_c b/package/mplayer/patches/patch-libvo_vo_dga_c
new file mode 100644
index 000000000..57836218f
--- /dev/null
+++ b/package/mplayer/patches/patch-libvo_vo_dga_c
@@ -0,0 +1,11 @@
+--- mplayer-1.0-32749.orig/libvo/vo_dga.c 2011-01-03 11:26:57.000000000 +0100
++++ mplayer-1.0-32749/libvo/vo_dga.c 2011-01-03 11:44:50.000000000 +0100
+@@ -35,7 +35,7 @@
+ #include "mp_msg.h"
+
+ #include <X11/Xlib.h>
+-#include <X11/extensions/xf86dga.h>
++#include <X11/extensions/Xxf86dga.h>
+
+ #ifdef CONFIG_XF86VM
+ #include <X11/extensions/xf86vmode.h>
diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile
index fb5a1236d..86c1a9e71 100644
--- a/package/nfs-utils/Makefile
+++ b/package/nfs-utils/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= nfs-utils
PKG_VERSION:= 1.2.3
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 1131dc5f27c4f3905a6e7ee0d594fd4d
PKG_DESCR:= Utilities for NFS kernel server implementation
PKG_SECTION:= net/fs
diff --git a/package/nfs-utils/patches/patch-support_include_sockaddr_h b/package/nfs-utils/patches/patch-support_include_sockaddr_h
index 07d9eda46..129b83e5a 100644
--- a/package/nfs-utils/patches/patch-support_include_sockaddr_h
+++ b/package/nfs-utils/patches/patch-support_include_sockaddr_h
@@ -1,10 +1,11 @@
--- nfs-utils-1.2.3.orig/support/include/sockaddr.h 2010-09-28 14:24:16.000000000 +0200
-+++ nfs-utils-1.2.3/support/include/sockaddr.h 2010-12-25 00:47:43.000000000 +0100
-@@ -20,7 +20,6 @@
++++ nfs-utils-1.2.3/support/include/sockaddr.h 2011-01-03 12:12:10.000000000 +0100
+@@ -20,7 +20,7 @@
#ifndef NFS_UTILS_SOCKADDR_H
#define NFS_UTILS_SOCKADDR_H
-#include <libio.h>
++#include <stddef.h>
#include <stdbool.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/target/config/Config.in b/target/config/Config.in
index 6961a451b..47fde82ce 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -93,6 +93,9 @@ config ADK_NATIVE
config ADK_TARGET_CPU_WITH_VT
boolean
+config ADK_TARGET_CPU_WITH_MTRR
+ boolean
+
config ADK_TARGET_CPU_WITH_MMX
boolean
diff --git a/target/linux/config/Config.in.cpu b/target/linux/config/Config.in.cpu
index a145ea217..64d9e9f3f 100644
--- a/target/linux/config/Config.in.cpu
+++ b/target/linux/config/Config.in.cpu
@@ -6,3 +6,8 @@ config ADK_KERNEL_MPENTIUMM
config ADK_KERNEL_MGEODE_LX
boolean
+
+config ADK_KERNEL_MTRR
+ boolean
+ default y if ADK_TARGET_CPU_WITH_MTRR
+ default n
diff --git a/target/linux/config/Config.in.graphics b/target/linux/config/Config.in.graphics
index c49d0f644..db6dcf36a 100644
--- a/target/linux/config/Config.in.graphics
+++ b/target/linux/config/Config.in.graphics
@@ -32,6 +32,7 @@ config ADK_KERNEL_FB_GEODE_LX
select ADK_KERNEL_FB_GEODE
default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
default n
+ depends on ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
help
Framebuffer support for ALIX boards with VGA.
@@ -47,6 +48,7 @@ config ADK_HARDWARE_GRAPHICS_INTEL_I915
select ADK_KERNEL_DRM_I915
default y if ADK_TARGET_SYSTEM_IBM_X40
default n
+ depends on ADK_TARGET_SYSTEM_IBM_X40
help
AGP/DRM/KMS support for Intel chipset i915.
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index 4ca6883e1..f936f39be 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -32,6 +32,7 @@ config ADK_KERNEL_RTC_DRV_AT91SAM9
select ADK_KERNEL_RTC_INTF_DEV
default y if ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
default n
+ depends on ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
help
Fox G20 RTC support.
@@ -54,6 +55,7 @@ config ADK_KPACKAGE_KMOD_SCx200_ACB
select ADK_KERNEL_I2C
select ADK_KERNEL_I2C_CHARDEV
default n
+ depends on ADK_CPU_GEODE
help
I2C driver for Geode boards.
@@ -66,7 +68,7 @@ config ADK_KPACKAGE_KMOD_PARPORT
Kernel module for generic parallel port support.
config ADK_KPACKAGE_KMOD_PARPORT_PC
- prompt "kmod-parport-pc................... PC style parallel port support"
+ prompt "kmod-parport-pc................. PC style parallel port support"
tristate
default n
depends on ADK_KPACKAGE_KMOD_PARPORT
diff --git a/target/linux/config/Config.in.netdevice b/target/linux/config/Config.in.netdevice
index c33b10868..40573a78f 100644
--- a/target/linux/config/Config.in.netdevice
+++ b/target/linux/config/Config.in.netdevice
@@ -1,4 +1,5 @@
menu "Network devices support"
+comment "Ethernet network driver for target system is included into kernel"
config ADK_KERNEL_NETDEVICES
boolean
@@ -93,6 +94,35 @@ config ADK_KERNEL_B44
default n
help
+config ADK_KERNEL_E1000
+ boolean
+ select ADK_KERNEL_NETDEVICES
+ select ADK_KERNEL_NET_ETHERNET
+ select ADK_KERNEL_NETDEV_1000
+ default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_QEMU_X86
+ default y if ADK_TARGET_SYSTEM_QEMU_X86_64
+ default n
+ help
+
+config ADK_KERNEL_SKY2
+ boolean
+ select ADK_KERNEL_NETDEVICES
+ select ADK_KERNEL_NET_ETHERNET
+ select ADK_KERNEL_NETDEV_1000
+ default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76G2
+ default n
+ help
+
+config ADK_KERNEL_R8169
+ boolean
+ select ADK_KERNEL_NETDEVICES
+ select ADK_KERNEL_NET_ETHERNET
+ select ADK_KERNEL_NETDEV_1000
+ default y if ADK_TARGET_SYSTEM_OVH_RPS
+ default n
+ help
+
menu "Ethernet card support"
depends on ADK_TARGET_WITH_PCI
@@ -156,9 +186,7 @@ config ADK_KPACKAGE_KMOD_E1000
select ADK_KERNEL_NETDEVICES
select ADK_KERNEL_NET_ETHERNET
select ADK_KERNEL_NETDEV_1000
- default y if ADK_TARGET_SYSTEM_IBM_X40
- default y if ADK_TARGET_SYSTEM_QEMU_X86
- default y if ADK_TARGET_SYSTEM_QEMU_X86_64
+ depends on !ADK_KERNEL_E1000
default n
help
This driver supports Intel(R) PRO/1000 gigabit ethernet family of
@@ -173,7 +201,7 @@ config ADK_KPACKAGE_KMOD_SKY2
select ADK_KERNEL_NETDEVICES
select ADK_KERNEL_NET_ETHERNET
select ADK_KERNEL_NETDEV_1000
- default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76G2
+ depends on !ADK_KERNEL_SKY2
default n
help
@@ -183,7 +211,7 @@ config ADK_KPACKAGE_KMOD_R8169
select ADK_KERNEL_NETDEVICES
select ADK_KERNEL_NET_ETHERNET
select ADK_KERNEL_NETDEV_1000
- default y if ADK_TARGET_SYSTEM_OVH_RPS
+ depends on !ADK_KERNEL_R8169
default n
help
diff --git a/target/linux/config/Config.in.watchdog b/target/linux/config/Config.in.watchdog
index 914099d0c..69e54e129 100644
--- a/target/linux/config/Config.in.watchdog
+++ b/target/linux/config/Config.in.watchdog
@@ -22,6 +22,7 @@ config ADK_KERNEL_SCx200_WDT
select ADK_KERNEL_SCx200
default y if ADK_TARGET_SYSTEM_PCENGINES_WRAP
default n
+ depends on ADK_TARGET_SYSTEM_PCENGINES_WRAP
help
Natsemi Watchdog (scx200)
@@ -31,6 +32,7 @@ config ADK_KERNEL_AT91SAM9X_WATCHDOG
select ADK_KERNEL_WATCHDOG
default y if ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
default n
+ depends on ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
help
AT91SAM9X Watchdog.
@@ -40,6 +42,7 @@ config ADK_KERNEL_AR7_WDT
select ADK_KERNEL_WATCHDOG
default y if ADK_TARGET_SYSTEM_LINKSYS_AG241
default n
+ depends on ADK_TARGET_SYSTEM_LINKSYS_AG241
help
AR7 Watchdog.
@@ -54,6 +57,7 @@ config ADK_KERNEL_GEODE_WDT
default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D2
default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13
default n
+ depends on ADK_CPU_GEODE
help
Geode watchdog.
diff --git a/target/x86/sys-available/ibm-x40 b/target/x86/sys-available/ibm-x40
index 7ad8472bd..ff5edcaa7 100644
--- a/target/x86/sys-available/ibm-x40
+++ b/target/x86/sys-available/ibm-x40
@@ -7,14 +7,15 @@ config ADK_TARGET_SYSTEM_IBM_X40
select ADK_TARGET_CPU_WITH_MMX
select ADK_TARGET_CPU_WITH_SSE
select ADK_TARGET_CPU_WITH_SSE2
+ select ADK_TARGET_CPU_WITH_MTRR
select ADK_TARGET_WITH_USB_BOOT
select ADK_TARGET_WITH_CARDBUS
select ADK_TARGET_WITH_USB
- select ADK_TARGET_WITH_PCI
select ADK_TARGET_WITH_VGA
select ADK_TARGET_WITH_INPUT
select ADK_TARGET_WITH_RTC
select ADK_TARGET_WITH_CF
+ select ADK_TARGET_WITH_MINIPCI
select ADK_TARGET_WITH_HDD
# with docking station
select ADK_TARGET_WITH_PP
diff --git a/tools/adk/pkgmaker.c b/tools/adk/pkgmaker.c
index abcfbfc20..cee3f1420 100644
--- a/tools/adk/pkgmaker.c
+++ b/tools/adk/pkgmaker.c
@@ -632,7 +632,7 @@ int main() {
fprintf(cfg, "\"%s\"\n", pkg_fd);
fprintf(cfg, "\tdefault n\n");
- fprintf(cfg, "\tdepends on ADK_COMPILE_%s\n", toupperstr(pkgdirp->d_name));
+ fprintf(cfg, "\tdepends on ADK_PACKAGE_%s\n", toupperstr(pkgdirp->d_name));
strncat(hkey, "PKGFS_", 6);
strncat(hkey, token, strlen(token));