Просмотр исходного кода

make virsh, virt-install and kvm usable on shuttle pc

Waldemar Brodkorb 13 лет назад
Родитель
Сommit
794a4a75d2

+ 5 - 1
mk/modules.mk

@@ -156,7 +156,7 @@ $(eval $(call KMOD_template,NET_IPIP,net-ipip,\
 
 $(eval $(call KMOD_template,IPV6,ipv6,\
 	$(MODULES_DIR)/kernel/net/ipv6/ipv6 \
-,19))
+,09))
 
 $(eval $(call KMOD_template,IPV6_SIT,ipv6-sit,\
 	$(MODULES_DIR)/kernel/net/ipv6/sit \
@@ -391,6 +391,10 @@ $(eval $(call KMOD_template,NETFILTER_XT_TARGET_MARK,netfilter-xt-target-mark,\
 	$(MODULES_DIR)/kernel/net/netfilter/$(MARK) \
 ,50))
 
+$(eval $(call KMOD_template,NETFILTER_XT_TARGET_CHECKSUM,netfilter-xt-target-checksum,\
+	$(MODULES_DIR)/kernel/net/netfilter/xt_CHECKSUM \
+,50))
+
 $(eval $(call KMOD_template,NETFILTER_XT_TARGET_NFQUEUE,netfilter-xt-target-nfqueue,\
 	$(MODULES_DIR)/kernel/net/netfilter/xt_NFQUEUE \
 ,50))

+ 7 - 1
package/base-files/src/etc/banner

@@ -1,2 +1,8 @@
-     Linux created with OpenADK
+  ___                      _    ____  _  __ 
+ / _ \ _ __   ___ _ __    / \  |  _ \| |/ / 
+| | | | '_ \ / _ \ '_ \  / _ \ | | | | ' /  
+| |_| | |_) |  __/ | | |/ ___ \| |_| | . \  
+ \___/| .__/ \___|_| |_/_/   \_\____/|_|\_\ 
+      |_|                                   
+           Linux created with OpenADK
 

+ 1 - 1
package/base-files/src/init

@@ -22,5 +22,5 @@ cat /etc/.rnd >/dev/urandom 2>&1
 [ -x /kexecinit ] && { /kexecinit; }
 [ -x /cryptinit ] && { /cryptinit; exec switch_root /mnt "/init";}
 [ -x /sbin/cfgfs ] && { cfgfs setup; mount -o remount,ro /;} || mount -o remount,rw /
-[ -f /etc/fstab ] && { fsck -p >/dev/null; mount -a;}
+[ -f /etc/fstab ] && { fsck -p >/dev/null; mount -a; swapon -a;}
 exec /sbin/init

+ 2 - 2
package/cfgfs/Makefile

@@ -4,8 +4,8 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		cfgfs
-PKG_VERSION:=		1.0.8
-PKG_RELEASE:=		7
+PKG_VERSION:=		1.0.9
+PKG_RELEASE:=		1
 PKG_DESCR:=		compressed config filesystem
 PKG_SECTION:=		base
 PKG_URL:=		http://openadk.org/

+ 5 - 3
package/cfgfs/src/fwcf.sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 # Copyright (c) 2006, 2007
 #	Thorsten Glaser <tg@mirbsd.de>
-# Copyright (c) 2009, 2010
+# Copyright (c) 2009, 2010, 2011
 #	Waldemar Brodkorb <wbx@openadk.org>
 #
 # Provided that these terms and disclaimer and all copyright notices
@@ -42,7 +42,7 @@
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
 wd=$(pwd)
 cd /
-what='Configuration Filesystem Utility (cfgfs), Version 1.08'
+what='Configuration Filesystem Utility (cfgfs), Version 1.09'
 
 who=$(id -u)
 if [ $who -ne 0 ]; then
@@ -114,7 +114,6 @@ EOF
 esac
 
 mtd=0
-
 if [ -x /sbin/nand ];then
 	mtdtool=/sbin/nand
 fi
@@ -129,6 +128,9 @@ rootdisk=$(readlink /dev/root)
 rootdisk=${rootdisk%p*}
 rootdisk=${rootdisk%[1-9]}
 part=$(fdisk -l /dev/$rootdisk 2>/dev/null|awk '$5 == 88 { print $1 }')
+if [ -f .cfgfs ];then
+  . /.cfgfs
+fi
 if [ -z $part ]; then
 	# fallback to /dev/sda in case of encrypted root
 	part=$(fdisk -l /dev/sda 2>/dev/null|awk '$5 == 88 { print $1 }')

+ 26 - 0
package/dmidecode/Makefile

@@ -0,0 +1,26 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		dmidecode
+PKG_VERSION:=		2.11
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		9fddbbc3e330bee5950b8b5d424a57cb
+PKG_DESCR:=		reports information about your system's hardware
+PKG_SECTION:=		misc
+PKG_URL:=		http://www.nongnu.org/dmidecode/
+PKG_SITES:=		http://download.savannah.gnu.org/releases/dmidecode/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,DMIDECODE,dmidecode,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:=		manual
+
+dmidecode-install:
+	$(INSTALL_DIR) $(IDIR_DMIDECODE)/usr/sbin
+	$(INSTALL_BIN) $(WRKINST)/usr/sbin/dmidecode \
+		$(IDIR_DMIDECODE)/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk

+ 22 - 0
package/dmidecode/patches/patch-Makefile

@@ -0,0 +1,22 @@
+--- dmidecode-2.11.orig/Makefile	2010-10-11 16:08:16.000000000 +0200
++++ dmidecode-2.11/Makefile	2011-10-17 19:22:27.000000000 +0200
+@@ -12,8 +12,8 @@
+ #   (at your option) any later version.
+ #
+ 
+-CC      = gcc
+-CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
++CC      ?= gcc
++CFLAGS  ?= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+           -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
+ #CFLAGS += -DBIGENDIAN
+ #CFLAGS += -DALIGNMENT_WORKAROUND
+@@ -26,7 +26,7 @@ CFLAGS += -O2
+ LDFLAGS =
+ 
+ DESTDIR =
+-prefix  = /usr/local
++prefix  = /usr
+ sbindir = $(prefix)/sbin
+ mandir  = $(prefix)/share/man
+ man8dir = $(mandir)/man8

+ 20 - 0
package/dmidecode/patches/patch-Makefile.orig

@@ -0,0 +1,20 @@
+--- dmidecode-2.11.orig/Makefile	2010-10-11 16:08:16.000000000 +0200
++++ dmidecode-2.11/Makefile	2011-10-17 19:21:58.000000000 +0200
+@@ -12,7 +12,7 @@
+ #   (at your option) any later version.
+ #
+ 
+-CC      = gcc
++CC      ?= gcc
+ CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+           -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
+ #CFLAGS += -DBIGENDIAN
+@@ -26,7 +26,7 @@ CFLAGS += -O2
+ LDFLAGS =
+ 
+ DESTDIR =
+-prefix  = /usr/local
++prefix  = /usr
+ sbindir = $(prefix)/sbin
+ mandir  = $(prefix)/share/man
+ man8dir = $(mandir)/man8

+ 1 - 0
package/gperf/Makefile

@@ -9,6 +9,7 @@ PKG_RELEASE:=		1
 PKG_MD5SUM:=		c1f1db32fb6598d6a93e6e88796a8632
 PKG_DESCR:=		perfect hash function generator
 PKG_SECTION:=		lang
+PKG_DEPENDS:=		libstdc++
 PKG_URL:=		http://www.gnu.org/software/gperf/
 PKG_SITES:=		${MASTER_SITE_GNU:=${PKG_NAME}/}
 

+ 8 - 10
package/iptables/Makefile

@@ -14,12 +14,12 @@ PKG_DEPENDS+=		kmod-nf-conntrack-ipv4 kmod-nf-nat
 PKG_DEPENDS+=		kmod-ip-nf-target-masquerade kmod-ip-nf-target-reject
 PKG_DEPENDS+=		kmod-ip-nf-filter kmod-ip-nf-match-state
 PKG_DEPENDS+=		kmod-netfilter-xt-target-tcpmss
-PKG_DEPENDS6:=		kmod-ip6-nf-iptables kmod-nf-conntrack-ipv6
-PKG_DEPENDS6+=		kmod-ip6-nf-filter kmod-ip6-nf-target-reject
+PKG_DEPENDS+=		kmod-ip6-nf-iptables kmod-nf-conntrack-ipv6
+PKG_DEPENDS+=		kmod-ip6-nf-filter kmod-ip6-nf-target-reject
 PKG_URL:=		http://www.netfilter.org/
 PKG_SITES:=		http://www.netfilter.org/projects/iptables/files/
 
-PKG_SUBPKGS:=		IPTABLES IP6TABLES IPTABLES_DEV
+PKG_SUBPKGS:=		IPTABLES IPTABLES_DEV
 PKGSC_IPTABLES_DEV:=	devel
 
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.bz2
@@ -32,7 +32,6 @@ include ${TOPDIR}/mk/package.mk
 
 $(eval $(call PKG_template,IPTABLES,iptables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 $(eval $(call PKG_template,IPTABLES_DEV,iptables-dev,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR},${PKGSC_IPTABLES_DEV}))
-$(eval $(call PKG_template,IP6TABLES,ip6tables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS6},${PKG_DESCR},${PKG_SECTION}))
 
 CONFIGURE_ARGS+=	--enable-devel
 
@@ -40,18 +39,17 @@ iptables-install:
 	${INSTALL_DIR} ${IDIR_IPTABLES}/{usr/lib,etc,usr/sbin}
 	${INSTALL_DATA} ./files/firewall.conf ${IDIR_IPTABLES}/etc
 	${CP} ${WRKINST}/usr/sbin/iptables* ${IDIR_IPTABLES}/usr/sbin
+	${CP} ${WRKINST}/usr/sbin/xtables* ${IDIR_IPTABLES}/usr/sbin
 	${CP} ${WRKINST}/usr/lib/libiptc.so* ${IDIR_IPTABLES}/usr/lib
 	${CP} ${WRKINST}/usr/lib/libip4tc.so* ${IDIR_IPTABLES}/usr/lib
 	${CP} ${WRKINST}/usr/lib/libxtables.so* ${IDIR_IPTABLES}/usr/lib
+	${INSTALL_DIR} ${IDIR_IPTABLES}/{usr/lib,etc,usr/sbin}
+	${INSTALL_DATA} ./files/firewall6.conf ${IDIR_IPTABLES}/etc
+	${INSTALL_BIN} ${WRKINST}/usr/sbin/ip6tables ${IDIR_IPTABLES}/usr/sbin
+	${CP} ${WRKINST}/usr/lib/libip6tc.so* ${IDIR_IPTABLES}/usr/lib
 
 iptables-dev-install:
 	${INSTALL_DIR} ${IDIR_IPTABLES_DEV}/usr/include
 	${CP} ${WRKINST}/usr/include/* ${IDIR_IPTABLES_DEV}/usr/include
 
-ip6tables-install:
-	${INSTALL_DIR} ${IDIR_IP6TABLES}/{usr/lib,etc,usr/sbin}
-	${INSTALL_DATA} ./files/firewall6.conf ${IDIR_IP6TABLES}/etc
-	${INSTALL_BIN} ${WRKINST}/usr/sbin/ip6tables ${IDIR_IP6TABLES}/usr/sbin
-	${CP} ${WRKINST}/usr/lib/libip6tc.so* ${IDIR_IP6TABLES}/usr/lib
-
 include ${TOPDIR}/mk/pkg-bottom.mk

+ 9 - 2
package/libvirt/Makefile

@@ -11,7 +11,8 @@ PKG_DESCR:=		virtualization API
 PKG_SECTION:=		libs
 PKG_BUILDDEP:=		libxml2 gnutls python2 libpcap parted udev
 PKG_DEPENDS:=		libxml2 libgnutls python2 libpcap libreadline
-PKG_DEPENDS+=		libintl
+PKG_DEPENDS+=		libintl dmidecode kmod-netfilter-xt-target-checksum
+PKG_DEPENDS+=		dnsmasq qemu
 PKG_URL:=		http://www.libvirt.org/
 PKG_SITES:=		ftp://libvirt.org/libvirt/
 
@@ -24,7 +25,10 @@ $(eval $(call PKG_template,LIBVIRT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${P
 
 include ${TOPDIR}/mk/python.mk
 
-CONFIGURE_ENV+=		gl_cv_warn__fstack_protector_all=no
+CONFIGURE_ENV+=		gl_cv_warn__fstack_protector_all=no \
+			ac_cv_path_IPTABLES_PATH=/usr/sbin/iptables \
+			ac_cv_path_IP6TABLES_PATH=/usr/sbin/ip6tables \
+			ac_cv_path_IP_PATH=/bin/ip
 CONFIGURE_ARGS+=	--without-xen \
 			--without-uml \
 			--without-esx \
@@ -38,6 +42,9 @@ CONFIGURE_ARGS+=	--without-xen \
 post-install:
 	${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/lib ${IDIR_LIBVIRT}/usr/bin
 	${INSTALL_DIR} ${IDIR_LIBVIRT}/etc/libvirt ${IDIR_LIBVIRT}/usr/sbin
+	${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/share/libvirt
+	$(CP) $(WRKINST)/usr/share/libvirt/* \
+		${IDIR_LIBVIRT}/usr/share/libvirt
 	${INSTALL_BIN} ${WRKINST}/usr/bin/virsh ${IDIR_LIBVIRT}/usr/bin
 	${CP} ${WRKINST}/usr/lib/libvirt*.so* ${IDIR_LIBVIRT}/usr/lib
 	${CP} ${WRKINST}/etc/libvirt/* ${IDIR_LIBVIRT}/etc/libvirt

+ 26 - 0
package/libvirt/files/libvirt.init

@@ -0,0 +1,26 @@
+#!/bin/sh
+#PKG libvirt
+#INIT 80
+. /etc/rc.conf
+
+case $1 in
+autostop) ;;
+autostart)
+	test x"$libvirtd" = x"NO" && exit 0
+	exec sh $0 start
+	;;
+start)
+	/usr/sbin/libvirtd -dv
+	;;
+stop)
+	kill $(pgrep -f /usr/sbin/libvirtd)
+	;;
+restart)
+	sh $0 stop
+	sh $0 start
+	;;
+*)
+	echo "usage: $0 {start | stop | restart}"
+	exit 1
+esac
+exit $?

+ 3 - 0
package/libvirt/files/libvirt.postinst

@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf libvirtd libvirtd NO

+ 7 - 6
package/qemu/Makefile

@@ -4,18 +4,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		qemu
-PKG_VERSION:=		0.14.1
+PKG_VERSION:=		0.15.1
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		b6c713a8db638e173af53a62d5178640
+PKG_MD5SUM:=		34f17737baaf1b3495c89cd6d4a607ed
 PKG_DESCR:=		cpu and system emulator
 PKG_SECTION:=		misc
-PKG_DEPENDS:=		zlib libsdl
-PKG_BUILDDEP:=		zlib sdl
+PKG_DEPENDS:=		zlib libsdl libpng
+PKG_BUILDDEP:=		zlib sdl libpng
 PKG_URL:=		http://wwww.qemu.org/
-PKG_SITES:=		http://download.savannah.gnu.org/releases/qemu/
+PKG_SITES:=		http://wiki.qemu.org/download/
 
 PKG_ARCH_DEPENDS:=	native x86 x86_64
-PKG_SYSTEM_DEPENDS:=	ibm-x40
+PKG_SYSTEM_DEPENDS:=	ibm-x40 shuttle-sa76
 
 include $(TOPDIR)/mk/package.mk
 
@@ -26,6 +26,7 @@ CONFIG_STYLE:=		minimal
 CONFIGURE_ARGS+=	--host-cc=$(CC_FOR_BUILD) \
 			--prefix=/usr \
 			--sysconfdir=/etc \
+			--enable-kvm \
 			--bindir=/usr/bin
 TARGET_LDFLAGS+=	-pthread -lm -lrt
 

+ 3 - 1
package/samba/Makefile

@@ -29,7 +29,9 @@ CONFIGURE_ENV+=		samba_cv_CC_NEGATIVE_ENUM_VALUES=no \
 			samba_cv_USE_SETRESUID=no \
 			ac_cv_lib_ext_nsl_connect=no \
 			ac_cv_search_yp_get_default_domain=no \
-			ac_cv_lib_ext_nsl_gethostbyname=no
+			ac_cv_lib_ext_nsl_gethostbyname=no \
+			ac_cv_file__proc_sys_kernel_core_pattern=yes \
+			libreplace_cv_HAVE_GETADDRINFO=no
 CONFIGURE_ARGS+=	--libdir=/usr/lib/samba \
 			--localstatedir=/var/log/samba \
 			--with-configdir=/etc/samba \

+ 1 - 1
package/virtinst/Makefile

@@ -10,7 +10,7 @@ PKG_MD5SUM:=		d8f6a61d7edbc78129a8b5df2807ad46
 PKG_DESCR:=		virtual machine installer
 PKG_SECTION:=		misc
 PKG_BUILDDEP:=		python2 urlgrabber libxml2 libxslt
-PKG_DEPENDS:=		python2 urlgrabber libxml2-python libxslt
+PKG_DEPENDS:=		python2 urlgrabber libxml2-python libxslt libvirt
 PKG_URL:=		http://virt-manager.org/
 PKG_SITES:=		http://virt-manager.org/download/sources/virtinst/
 

+ 30 - 0
package/xf86-video-ati/Makefile

@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		xf86-video-ati
+PKG_VERSION:=		6.13.2
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		6bb71cff9ad9c5c7b258b2b6c56fdc95
+PKG_DESCR:=		X11 driver for ATI VGA chip
+PKG_SECTION:=		x11/drivers
+PKG_BUILDDEP:=		xorg-server libdrm xf86driproto MesaLib udev
+PKG_DEPENDS:=		xorg-server libdrm mesalib udev
+PKG_SITES:=		${MASTER_SITE_XORG}
+PKG_NEED_CXX:=		1
+
+PKG_CFLINE_XF86_VIDEO_ATI:=depends on ADK_TARGET_WITH_VGA
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XF86_VIDEO_ATI,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+=	--enable-dri
+
+post-install:
+	${INSTALL_DIR} ${IDIR_XF86_VIDEO_ATI}/usr/lib/xorg/modules/drivers
+	${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/*.so \
+		${IDIR_XF86_VIDEO_ATI}/usr/lib/xorg/modules/drivers/
+
+include ${TOPDIR}/mk/pkg-bottom.mk

+ 1 - 0
target/linux/config/Config.in.block

@@ -153,6 +153,7 @@ config ADK_KERNEL_ATA_PIIX
 config ADK_KERNEL_SATA_AHCI
 	tristate
 	select ADK_KERNEL_BLOCK
+	select ADK_KERNEL_SCSI
 	select ADK_KERNEL_ATA
 	select ADK_KERNEL_BLK_DEV
 	select ADK_KERNEL_BLK_DEV_SD

+ 5 - 5
target/linux/config/Config.in.input

@@ -10,7 +10,7 @@ config ADK_KERNEL_INPUT
 	default y if ADK_TARGET_SYSTEM_INTEL_ATOM
 	default y if ADK_NATIVE_SYSTEM_INTEL_ATOM
 	default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76G2
+	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76
 	default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	default n
 
@@ -48,7 +48,7 @@ config ADK_KERNEL_INPUT_KEYBOARD
 	default y if ADK_TARGET_SYSTEM_INTEL_ATOM
 	default y if ADK_NATIVE_SYSTEM_INTEL_ATOM
 	default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76G2
+	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76
 	default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	default n
 
@@ -61,7 +61,7 @@ config ADK_KERNEL_KEYBOARD_ATKBD
 	default y if ADK_TARGET_SYSTEM_INTEL_ATOM
 	default y if ADK_NATIVE_SYSTEM_INTEL_ATOM
 	default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76G2
+	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76
 	default n
 
 config ADK_KERNEL_INPUT_MOUSE
@@ -73,7 +73,7 @@ config ADK_KERNEL_INPUT_MOUSE
 	default y if ADK_TARGET_SYSTEM_INTEL_ATOM
 	default y if ADK_NATIVE_SYSTEM_INTEL_ATOM
 	default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76G2
+	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76
 	default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	default n
 
@@ -86,7 +86,7 @@ config ADK_KERNEL_INPUT_MOUSEDEV
 	default y if ADK_TARGET_SYSTEM_INTEL_ATOM
 	default y if ADK_NATIVE_SYSTEM_INTEL_ATOM
 	default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76G2
+	default y if ADK_TARGET_SYSTEM_SHUTTLE_SA76
 	default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	default n
 

+ 7 - 0
target/linux/config/Config.in.netfilter.core

@@ -9,6 +9,13 @@ config ADK_KPACKAGE_KMOD_NF_CONNTRACK
 	  Layer 3 independent connection tracking is experimental scheme
 	  which generalize ip_conntrack to support other layer 3 protocols.
 
+config ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_CHECKSUM
+	tristate '"CHECKSUM" target support'
+	select ADK_KERNEL_NETFILTER_XTABLES
+	select ADK_KPACKAGE_KMOD_IP_NF_MANGLE
+	select ADK_KERNEL_NETFILTER_ADVANCED
+	help
+
 config ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_CLASSIFY
 	tristate '"CLASSIFY" target support'
 	select ADK_KERNEL_NETFILTER_XTABLES

+ 0 - 1
target/linux/config/Config.in.netfilter.ip4

@@ -120,4 +120,3 @@ config ADK_KPACKAGE_KMOD_IP_NF_TARGET_ECN
 	  an IP packet.  This is particularly useful, if you need to work around
 	  existing ECN blackholes on the internet, but don't want to disable
 	  ECN support in general.
-

+ 1 - 0
target/packages/pkg-available/development

@@ -9,6 +9,7 @@ config ADK_PKG_DEVELOPMENT
 	select ADK_PACKAGE_GAWK
 	select ADK_PACKAGE_GCC
 	select ADK_PACKAGE_GIT
+	select ADK_PACKAGE_GPERF
 	select ADK_PACKAGE_GREP
 	select ADK_PACKAGE_TAR
 	select ADK_PACKAGE_UCLIBC_DEV if ADK_TARGET_LIB_UCLIBC

+ 1 - 0
target/x86_64/sys-available/shuttle-sa76

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_SHUTTLE_SA76
 	select ADK_shuttle_sa76
 	select ADK_CPU_AMDFAM10
 	select ADK_LINUX_64
+	select ADK_KERNEL_SMP
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_SATA
 	select ADK_TARGET_WITH_INPUT