summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-10 18:13:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-10 18:13:16 +0200
commit2bc97af1f4ca05f1e2ffb9c50b8ef717bc2c33a3 (patch)
tree65807b0e8e3475edaa949eb69253c81a65948262 /target
parent24de0984ed3caa1eb5bdf4d9d4e0b9900e6254eb (diff)
parentd4ae4b9c31f562aa4cd39b51d6d44ec07ac36f26 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target')
-rw-r--r--target/arm/Makefile4
-rw-r--r--target/linux/config/Config.in.netfilter.ip423
-rw-r--r--target/linux/patches/3.4.52/bsd-compatibility.patch (renamed from target/linux/patches/3.4.51/bsd-compatibility.patch)0
-rw-r--r--target/linux/patches/3.4.52/cris-etrax.patch (renamed from target/linux/patches/3.4.51/cris-etrax.patch)0
-rw-r--r--target/linux/patches/3.4.52/defaults.patch (renamed from target/linux/patches/3.4.51/defaults.patch)0
-rw-r--r--target/linux/patches/3.4.52/gemalto.patch (renamed from target/linux/patches/3.4.51/gemalto.patch)0
-rw-r--r--target/linux/patches/3.4.52/lemote-rfkill.patch (renamed from target/linux/patches/3.4.51/lemote-rfkill.patch)0
-rw-r--r--target/linux/patches/3.4.52/module-alloc-size-check.patch (renamed from target/linux/patches/3.4.51/module-alloc-size-check.patch)0
-rw-r--r--target/linux/patches/3.4.52/non-static.patch (renamed from target/linux/patches/3.4.51/non-static.patch)0
-rw-r--r--target/linux/patches/3.4.52/sparc-include.patch (renamed from target/linux/patches/3.4.51/sparc-include.patch)0
-rw-r--r--target/linux/patches/3.4.52/startup.patch (renamed from target/linux/patches/3.4.51/startup.patch)0
-rw-r--r--target/linux/patches/3.4.52/usb-defaults-off.patch (renamed from target/linux/patches/3.4.51/usb-defaults-off.patch)0
-rw-r--r--target/linux/patches/3.4.52/uuid.patch (renamed from target/linux/patches/3.4.51/uuid.patch)0
-rw-r--r--target/linux/patches/3.4.52/vga-cons-default-off.patch (renamed from target/linux/patches/3.4.51/vga-cons-default-off.patch)0
-rw-r--r--target/linux/patches/3.4.52/wlan-cf.patch (renamed from target/linux/patches/3.4.51/wlan-cf.patch)0
-rw-r--r--target/linux/patches/3.4.52/zlib-inflate.patch (renamed from target/linux/patches/3.4.51/zlib-inflate.patch)0
-rw-r--r--target/mips/Makefile4
17 files changed, 23 insertions, 8 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index ea963cd72..78450c488 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -52,14 +52,14 @@ imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSTARBALL)
endif
ifeq ($(ADK_TARGET_FS),archive)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
- #@cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL)
- #@echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}'
@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
@echo "Use following command to install it on SD card:"
@echo "sudo ./scripts/install-rpi.sh /dev/sdb $(BIN_DIR)/$(ROOTFSTARBALL)"
endif
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y)
+ @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL)
+ @echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}'
@echo "Use following command to create a QEMU Image:"
@echo "./scripts/create.sh +g qemu-${CPU_ARCH}.img $(BIN_DIR)/$(ROOTFSTARBALL)"
@echo "Start qemu with following options:"
diff --git a/target/linux/config/Config.in.netfilter.ip4 b/target/linux/config/Config.in.netfilter.ip4
index e960a22ac..89d070c23 100644
--- a/target/linux/config/Config.in.netfilter.ip4
+++ b/target/linux/config/Config.in.netfilter.ip4
@@ -34,9 +34,24 @@ config ADK_KPACKAGE_KMOD_IP_NF_FILTER
rules for simple packet filtering at local input, forwarding and
local output. See the man page for iptables(8).
+config ADK_KPACKAGE_KMOD_FULL_NAT
+ tristate "Meta package for Full NAT"
+ select ADK_KPACKAGE_KMOD_NF_NAT if ADK_KERNEL_VERSION_3_4_52
+ select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_9_9
+
+config ADK_KPACKAGE_KMOD_NF_NAT
+ tristate 'Full NAT'
+ depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
+ depends on ADK_KERNEL_VERSION_3_4_52
+ help
+ The Full NAT option allows masquerading, port forwarding and other
+ forms of full Network Address Port Translation. It is controlled by
+ the `nat' table in iptables: see the man page for iptables(8).
+
config ADK_KPACKAGE_KMOD_NF_NAT_IPV4
tristate 'Full NAT'
depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
+ depends on ADK_KERNEL_VERSION_3_9_9
help
The Full NAT option allows masquerading, port forwarding and other
forms of full Network Address Port Translation. It is controlled by
@@ -44,7 +59,7 @@ config ADK_KPACKAGE_KMOD_NF_NAT_IPV4
config ADK_KPACKAGE_KMOD_IP_NF_TARGET_MASQUERADE
tristate 'MASQUERADE target support'
- depends on ADK_KPACKAGE_KMOD_NF_NAT_IPV4
+ depends on ADK_KPACKAGE_KMOD_FULL_NAT
help
Masquerading is a special case of NAT: all outgoing connections are
changed to seem to come from a particular interface's address, and
@@ -78,7 +93,7 @@ config ADK_KPACKAGE_KMOD_IP_NF_TARGET_ULOG
config ADK_KPACKAGE_KMOD_IP_NF_TARGET_REDIRECT
tristate 'REDIRECT target support'
- depends on ADK_KPACKAGE_KMOD_NF_NAT_IPV4
+ depends on ADK_KPACKAGE_KMOD_FULL_NAT
help
REDIRECT is a special case of NAT: all incoming connections are
mapped onto the incoming interface's address, causing the packets to
@@ -87,7 +102,7 @@ config ADK_KPACKAGE_KMOD_IP_NF_TARGET_REDIRECT
config ADK_KPACKAGE_KMOD_IP_NF_TARGET_NETMAP
tristate 'NETMAP target support'
- depends on ADK_KPACKAGE_KMOD_NF_NAT_IPV4
+ depends on ADK_KPACKAGE_KMOD_FULL_NAT
help
NETMAP is an implementation of static 1:1 NAT mapping of network
addresses. It maps the network address part, while keeping the host
@@ -96,7 +111,7 @@ config ADK_KPACKAGE_KMOD_IP_NF_TARGET_NETMAP
config ADK_KPACKAGE_KMOD_IP_NF_MANGLE
tristate 'Packet mangling'
- depends on ADK_KPACKAGE_KMOD_NF_NAT_IPV4
+ depends on ADK_KPACKAGE_KMOD_FULL_NAT
help
This option adds a `mangle' table to iptables: see the man page for
iptables(8). This table is used for various packet alterations
diff --git a/target/linux/patches/3.4.51/bsd-compatibility.patch b/target/linux/patches/3.4.52/bsd-compatibility.patch
index 9e91a62de..9e91a62de 100644
--- a/target/linux/patches/3.4.51/bsd-compatibility.patch
+++ b/target/linux/patches/3.4.52/bsd-compatibility.patch
diff --git a/target/linux/patches/3.4.51/cris-etrax.patch b/target/linux/patches/3.4.52/cris-etrax.patch
index a80d9a8b8..a80d9a8b8 100644
--- a/target/linux/patches/3.4.51/cris-etrax.patch
+++ b/target/linux/patches/3.4.52/cris-etrax.patch
diff --git a/target/linux/patches/3.4.51/defaults.patch b/target/linux/patches/3.4.52/defaults.patch
index 58aae610b..58aae610b 100644
--- a/target/linux/patches/3.4.51/defaults.patch
+++ b/target/linux/patches/3.4.52/defaults.patch
diff --git a/target/linux/patches/3.4.51/gemalto.patch b/target/linux/patches/3.4.52/gemalto.patch
index 65f7af1d7..65f7af1d7 100644
--- a/target/linux/patches/3.4.51/gemalto.patch
+++ b/target/linux/patches/3.4.52/gemalto.patch
diff --git a/target/linux/patches/3.4.51/lemote-rfkill.patch b/target/linux/patches/3.4.52/lemote-rfkill.patch
index a61488434..a61488434 100644
--- a/target/linux/patches/3.4.51/lemote-rfkill.patch
+++ b/target/linux/patches/3.4.52/lemote-rfkill.patch
diff --git a/target/linux/patches/3.4.51/module-alloc-size-check.patch b/target/linux/patches/3.4.52/module-alloc-size-check.patch
index a792ac60a..a792ac60a 100644
--- a/target/linux/patches/3.4.51/module-alloc-size-check.patch
+++ b/target/linux/patches/3.4.52/module-alloc-size-check.patch
diff --git a/target/linux/patches/3.4.51/non-static.patch b/target/linux/patches/3.4.52/non-static.patch
index a967703d0..a967703d0 100644
--- a/target/linux/patches/3.4.51/non-static.patch
+++ b/target/linux/patches/3.4.52/non-static.patch
diff --git a/target/linux/patches/3.4.51/sparc-include.patch b/target/linux/patches/3.4.52/sparc-include.patch
index 2f8ffd061..2f8ffd061 100644
--- a/target/linux/patches/3.4.51/sparc-include.patch
+++ b/target/linux/patches/3.4.52/sparc-include.patch
diff --git a/target/linux/patches/3.4.51/startup.patch b/target/linux/patches/3.4.52/startup.patch
index 68e8987b0..68e8987b0 100644
--- a/target/linux/patches/3.4.51/startup.patch
+++ b/target/linux/patches/3.4.52/startup.patch
diff --git a/target/linux/patches/3.4.51/usb-defaults-off.patch b/target/linux/patches/3.4.52/usb-defaults-off.patch
index 31367108a..31367108a 100644
--- a/target/linux/patches/3.4.51/usb-defaults-off.patch
+++ b/target/linux/patches/3.4.52/usb-defaults-off.patch
diff --git a/target/linux/patches/3.4.51/uuid.patch b/target/linux/patches/3.4.52/uuid.patch
index ca23accdf..ca23accdf 100644
--- a/target/linux/patches/3.4.51/uuid.patch
+++ b/target/linux/patches/3.4.52/uuid.patch
diff --git a/target/linux/patches/3.4.51/vga-cons-default-off.patch b/target/linux/patches/3.4.52/vga-cons-default-off.patch
index 178aeeeb9..178aeeeb9 100644
--- a/target/linux/patches/3.4.51/vga-cons-default-off.patch
+++ b/target/linux/patches/3.4.52/vga-cons-default-off.patch
diff --git a/target/linux/patches/3.4.51/wlan-cf.patch b/target/linux/patches/3.4.52/wlan-cf.patch
index fc20759e2..fc20759e2 100644
--- a/target/linux/patches/3.4.51/wlan-cf.patch
+++ b/target/linux/patches/3.4.52/wlan-cf.patch
diff --git a/target/linux/patches/3.4.51/zlib-inflate.patch b/target/linux/patches/3.4.52/zlib-inflate.patch
index 58e1f6d21..58e1f6d21 100644
--- a/target/linux/patches/3.4.51/zlib-inflate.patch
+++ b/target/linux/patches/3.4.52/zlib-inflate.patch
diff --git a/target/mips/Makefile b/target/mips/Makefile
index a378db4c7..eab6be597 100644
--- a/target/mips/Makefile
+++ b/target/mips/Makefile
@@ -110,10 +110,10 @@ imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSTARBALL)
endif
ifeq ($(ADK_TARGET_FS),archive)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
- @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL)
- @echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}'
@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
ifneq ($(ADK_HARDWARE_QEMU),)
+ @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL)
+ @echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}'
@echo "Use following command to create a QEMU Image:"
@echo "./scripts/create.sh +g qemu-${CPU_ARCH}.img $(BIN_DIR)/$(ROOTFSTARBALL)"
@echo "Start qemu with following options:"