Browse Source

Merge branch 'master' of git+ssh://openadk.org/git/openadk

Waldemar Brodkorb 10 years ago
parent
commit
b6f9b99a95
3 changed files with 4 additions and 33 deletions
  1. 3 3
      mk/vars.mk
  2. 0 30
      package/ipset/patches/patch-kernel_ipt_SET_c
  3. 1 0
      target/config/Config.in.tools

+ 3 - 3
mk/vars.mk

@@ -201,8 +201,8 @@ HOST_CFLAGS:=		-O0 -g0
 HOST_CXXFLAGS:=		-O0 -g0
 HOST_CXXFLAGS:=		-O0 -g0
 HOST_LDFLAGS:=		-L$(STAGING_HOST_DIR)/usr/lib -Wl,-rpath -Wl,${STAGING_HOST_DIR}/usr/lib
 HOST_LDFLAGS:=		-L$(STAGING_HOST_DIR)/usr/lib -Wl,-rpath -Wl,${STAGING_HOST_DIR}/usr/lib
 
 
-PATCH=			PATH=${HOST_PATH} ${BASH} $(SCRIPT_DIR)/patch.sh
+PATCH=			PATH='${HOST_PATH}' ${BASH} $(SCRIPT_DIR)/patch.sh
-PATCHP0=		PATH=${HOST_PATH} patch -p0
+PATCHP0=		PATH='${HOST_PATH}' patch -p0
 
 
 ifeq ($(ADK_STATIC_TOOLCHAIN),y)
 ifeq ($(ADK_STATIC_TOOLCHAIN),y)
 HOST_STATIC_CFLAGS:=   -static -Wl,-static
 HOST_STATIC_CFLAGS:=   -static -Wl,-static
@@ -211,7 +211,7 @@ HOST_STATIC_LDFLAGS:=  -Wl,-static
 HOST_STATIC_LLDFLAGS:= -all-static
 HOST_STATIC_LLDFLAGS:= -all-static
 endif
 endif
 
 
-SED:=			PATH=${HOST_PATH} sed -i -e
+SED:=			PATH='${HOST_PATH}' sed -i -e
 LINUX_DIR:=		$(BUILD_DIR)/linux
 LINUX_DIR:=		$(BUILD_DIR)/linux
 KERNEL_MODULE_FLAGS:=	ARCH=${ADK_TARGET_ARCH} \
 KERNEL_MODULE_FLAGS:=	ARCH=${ADK_TARGET_ARCH} \
 			PREFIX=/usr \
 			PREFIX=/usr \

+ 0 - 30
package/ipset/patches/patch-kernel_ipt_SET_c

@@ -1,30 +0,0 @@
---- ipset-4.1.orig/kernel/ipt_SET.c	2009-11-10 21:45:41.000000000 +0100
-+++ ipset-4.1/kernel/ipt_SET.c	2010-08-29 14:45:51.863658421 +0200
-@@ -64,9 +64,12 @@ target(struct sk_buff *skb,
-        unsigned int hooknum,
-        const struct xt_target *target,
-        const void *targinfo)
--#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28) */
-+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
- target(struct sk_buff *skb,
-        const struct xt_target_param *par)
-+#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35) */
-+target(struct sk_buff *skb,
-+       const struct xt_action_param *par)
- #endif
- {
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
-@@ -127,9 +130,12 @@ checkentry(const char *tablename,
- 	   const struct xt_target *target,
- 	   void *targinfo,
- 	   unsigned int hook_mask)
--#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28) */
-+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
- static bool
- checkentry(const struct xt_tgchk_param *par)
-+#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35) */
-+static int
-+checkentry(const struct xt_tgchk_param *par)
- #endif
- {
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)

+ 1 - 0
target/config/Config.in.tools

@@ -34,6 +34,7 @@ config ADK_HOST_BUILD_LIBTOOL
 config ADK_HOST_BUILD_U_BOOT
 config ADK_HOST_BUILD_U_BOOT
 	boolean
 	boolean
 	default n if ADK_HOST_DARWIN
 	default n if ADK_HOST_DARWIN
+	default n if ADK_HOST_CYGWIN
 	default y
 	default y
 
 
 # always required, but can be provided by host
 # always required, but can be provided by host