[packages] massive change: replace occurences of -I$(STAGING_DIR)/{include,usr/include} and -L$(STAGING_DIR)/{lib,usr/lib} with $(TARGET_CPPFLAGS) and $(TARGET_LDFLAGS) respectively
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15480 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9c94ea0e32
commit
f907dabbe7
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -45,8 +45,8 @@ CONFIGURE_VARS += \
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)\
|
$(MAKE) -C $(PKG_BUILD_DIR)\
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/lib/libiconv/include/" \
|
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libiconv/include/" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib/"
|
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libiconv/lib/"
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
|
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -51,7 +51,7 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) X_LIBS="-L$(STAGING_DIR)/usr/lib -lfreetype"
|
$(MAKE) -C $(PKG_BUILD_DIR) X_LIBS="$(TARGET_LDFLAGS) -lfreetype"
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/ install DESTDIR=$(PKG_INSTALL_DIR)
|
$(MAKE) -C $(PKG_BUILD_DIR)/ install DESTDIR=$(PKG_INSTALL_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -39,7 +39,7 @@ endef
|
|||||||
|
|
||||||
CONFIGURE_VARS+=FONTCONFIG_LIBS="-lfreetype -lfontconfig -lz -lexpat"
|
CONFIGURE_VARS+=FONTCONFIG_LIBS="-lfreetype -lfontconfig -lz -lexpat"
|
||||||
CONFIGURE_ARGS+=--enable-freetype=yes
|
CONFIGURE_ARGS+=--enable-freetype=yes
|
||||||
TARGET_CFLAGS+=-L$(STAGING_DIR)/usr/lib
|
TARGET_CFLAGS+=$(TARGET_LDFLAGS)
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/
|
$(INSTALL_DIR) $(1)/usr/lib/
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -28,7 +28,7 @@ EXTRA_LDFLAGS+=\
|
|||||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||||
-L$(STAGING_DIR)/usr/lib/libintl/lib/ \
|
-L$(STAGING_DIR)/usr/lib/libintl/lib/ \
|
||||||
-L$(STAGING_DIR)/usr/lib/libiconv/lib/ \
|
-L$(STAGING_DIR)/usr/lib/libiconv/lib/ \
|
||||||
-L$(STAGING_DIR)/usr/lib/
|
$(TARGET_LDFLAGS)
|
||||||
|
|
||||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_gtk2 CONFIG_PACKAGE_gtk2-cups)
|
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_gtk2 CONFIG_PACKAGE_gtk2-cups)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -43,8 +43,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) install DESTDIR=$(PKG_INSTALL_DIR)
|
$(MAKE) -C $(PKG_BUILD_DIR) install DESTDIR=$(PKG_INSTALL_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -34,7 +34,7 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
DESTDIR=$(PKG_INSTALL_DIR) \
|
DESTDIR=$(PKG_INSTALL_DIR) \
|
||||||
LIBMB_LIBS="-L$(STAGING_DIR)/usr/lib -lfontconfig -lXrender \
|
LIBMB_LIBS="$(TARGET_LDFLAGS) -lfontconfig -lXrender \
|
||||||
-lz -lexpat -lfreetype -lXft -lmb -lX11 -lXext -lXau -lXdmcp \
|
-lz -lexpat -lfreetype -lXft -lmb -lX11 -lXext -lXau -lXdmcp \
|
||||||
-lpng12" \
|
-lpng12" \
|
||||||
all install
|
all install
|
||||||
|
@ -37,8 +37,8 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(foreach dir,fc-arch fc-case fc-lang fc-glyphname src fc-cache fc-list, $(MAKE) -C $(PKG_BUILD_DIR)/$(dir) CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
$(foreach dir,fc-arch fc-case fc-lang fc-glyphname src fc-cache fc-list, $(MAKE) -C $(PKG_BUILD_DIR)/$(dir) CFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
CPPFLAGS="" LDFLAGS="-L$(STAGING_DIR)/usr/lib";)
|
CPPFLAGS="" LDFLAGS="$(TARGET_LDFLAGS)";)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" DOCSRC="" install
|
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" DOCSRC="" install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -32,8 +32,7 @@ endef
|
|||||||
|
|
||||||
EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
|
EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
|
||||||
-I$(STAGING_DIR)/usr/include/X11/ \
|
-I$(STAGING_DIR)/usr/include/X11/ \
|
||||||
-I$(STAGING_DIR)/usr/include/ \
|
$(TARGET_CPPFLAGS)
|
||||||
-I$(STAGING_DIR)/include/
|
|
||||||
|
|
||||||
EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
|
EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -32,8 +32,7 @@ endef
|
|||||||
|
|
||||||
EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
|
EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
|
||||||
-I$(STAGING_DIR)/usr/include/X11/ \
|
-I$(STAGING_DIR)/usr/include/X11/ \
|
||||||
-I$(STAGING_DIR)/usr/include/ \
|
$(TARGET_CPPFLAGS)
|
||||||
-I$(STAGING_DIR)/include/
|
|
||||||
|
|
||||||
EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
|
EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -34,9 +34,8 @@ endef
|
|||||||
|
|
||||||
EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
|
EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
|
||||||
-I$(STAGING_DIR)/usr/include/X11/ \
|
-I$(STAGING_DIR)/usr/include/X11/ \
|
||||||
-I$(STAGING_DIR)/usr/include/ \
|
|
||||||
-I$(STAGING_DIR)/usr/include/drm \
|
-I$(STAGING_DIR)/usr/include/drm \
|
||||||
-I$(STAGING_DIR)/include/
|
$(TARGET_CPPFLAGS)
|
||||||
|
|
||||||
EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
|
EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
|
||||||
|
|
||||||
|
@ -33,8 +33,7 @@ endef
|
|||||||
|
|
||||||
EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
|
EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
|
||||||
-I$(STAGING_DIR)/usr/include/X11/ \
|
-I$(STAGING_DIR)/usr/include/X11/ \
|
||||||
-I$(STAGING_DIR)/usr/include/ \
|
$(TARGET_CPPFLAGS)
|
||||||
-I$(STAGING_DIR)/include/
|
|
||||||
|
|
||||||
EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
|
EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -40,7 +40,7 @@ define Build/Compile
|
|||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
glib12="yes" \
|
glib12="yes" \
|
||||||
without-libsensors="yes" \
|
without-libsensors="yes" \
|
||||||
GLIB12_LIB="-L$(STAGING_DIR)/usr/lib -lglib -lgmodule" \
|
GLIB12_LIB="$(TARGET_LDFLAGS) -lglib -lgmodule" \
|
||||||
GLIB12_INCLUDE="-I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include"
|
GLIB12_INCLUDE="-I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -44,8 +44,8 @@ define Build/Configure
|
|||||||
--enable-tcp-wrapper \
|
--enable-tcp-wrapper \
|
||||||
--with-libol="$(STAGING_DIR)/host/bin" \
|
--with-libol="$(STAGING_DIR)/host/bin" \
|
||||||
, \
|
, \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/libol" \
|
CPPFLAGS="-I$(STAGING_DIR)/usr/include/libol $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libol" \
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib/libol $(TARGET_LDFLAGS)" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -57,12 +57,12 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/client \
|
$(MAKE) -C $(PKG_BUILD_DIR)/client \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/server \
|
$(MAKE) -C $(PKG_BUILD_DIR)/server \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dhcp6-client/install
|
define Package/dhcp6-client/install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
@ -36,7 +36,7 @@ endef
|
|||||||
GW6C_OPTS:= \
|
GW6C_OPTS:= \
|
||||||
C_COMPILER="$(TARGET_CC) -c -DNO_STDLIBCXX" \
|
C_COMPILER="$(TARGET_CC) -c -DNO_STDLIBCXX" \
|
||||||
COMPILER="$(TARGET_CROSS)g++ -c -DNO_STDLIBCXX" \
|
COMPILER="$(TARGET_CROSS)g++ -c -DNO_STDLIBCXX" \
|
||||||
CPP_FLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++ -I. -Wall -DNDEBUG -I$(STAGING_DIR)/usr/include/uClibc++ -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CPP_FLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++ -I. -Wall -DNDEBUG -I$(STAGING_DIR)/usr/include/uClibc++ $(TARGET_CPPFLAGS)" \
|
||||||
RANLIB="$(TARGET_CROSS)ranlib" \
|
RANLIB="$(TARGET_CROSS)ranlib" \
|
||||||
ARCHIVER="$(TARGET_CROSS)ar" \
|
ARCHIVER="$(TARGET_CROSS)ar" \
|
||||||
C_LINKER="$(TARGET_CC)" \
|
C_LINKER="$(TARGET_CC)" \
|
||||||
@ -55,7 +55,7 @@ define Build/Compile
|
|||||||
-I$(PKG_BUILD_DIR)/gw6c/src/gw6c/platform/openwrt -I$(PKG_BUILD_DIR)/gw6c/src/gw6c" \
|
-I$(PKG_BUILD_DIR)/gw6c/src/gw6c/platform/openwrt -I$(PKG_BUILD_DIR)/gw6c/src/gw6c" \
|
||||||
LDFLAGS="-L$(PKG_BUILD_DIR)/gw6c/src/gw6c/gw6cconfig \
|
LDFLAGS="-L$(PKG_BUILD_DIR)/gw6c/src/gw6c/gw6cconfig \
|
||||||
-L$(PKG_BUILD_DIR)/gw6c/src/gw6c/gw6cmessaging \
|
-L$(PKG_BUILD_DIR)/gw6c/src/gw6c/gw6cmessaging \
|
||||||
-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -nodefaultlibs -luClibc++ $(LIBGCC_S)" \
|
$(TARGET_LDFLAGS) -nodefaultlibs -luClibc++ $(LIBGCC_S)" \
|
||||||
target="openwrt" \
|
target="openwrt" \
|
||||||
installdir="$(PKG_INSTALL_DIR)"
|
installdir="$(PKG_INSTALL_DIR)"
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -40,7 +40,7 @@ endef
|
|||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnetfilter_queue -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnetfilter_queue $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="$(TARGET_LDFLAGS) -lnfnetlink" \
|
LDFLAGS="$(TARGET_LDFLAGS) -lnfnetlink" \
|
||||||
|
|
||||||
define Package/send/install
|
define Package/send/install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -41,7 +41,7 @@ CONFIGURE_ARGS+= \
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ define Build/Compile
|
|||||||
LUA_INC="$(STAGING_DIR)/usr/include/" \
|
LUA_INC="$(STAGING_DIR)/usr/include/" \
|
||||||
LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \
|
LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \
|
||||||
COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \
|
COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \
|
||||||
LIB_OPTION="-shared -L$(STAGING_DIR)/usr/lib/" \
|
LIB_OPTION="-shared $(TARGET_LDFLAGS)" \
|
||||||
CC="$(TARGET_CC) $(TARGET_CFLAGS)" \
|
CC="$(TARGET_CC) $(TARGET_CFLAGS)" \
|
||||||
LD="$(TARGET_CROSS)ld -shared"
|
LD="$(TARGET_CROSS)ld -shared"
|
||||||
endef
|
endef
|
||||||
|
@ -35,8 +35,7 @@ endef
|
|||||||
define Build/Configure
|
define Build/Configure
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC) \
|
TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS)
|
||||||
-I$(STAGING_DIR)/usr/include
|
|
||||||
|
|
||||||
TARGET_LDFLAGS += -llua
|
TARGET_LDFLAGS += -llua
|
||||||
|
|
||||||
|
@ -33,8 +33,7 @@ define Build/Configure
|
|||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC) \
|
TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS)
|
||||||
-I$(STAGING_DIR)/usr/include
|
|
||||||
|
|
||||||
TARGET_LDFLAGS += -llua
|
TARGET_LDFLAGS += -llua
|
||||||
|
|
||||||
|
@ -35,8 +35,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/src linux \
|
$(MAKE) -C $(PKG_BUILD_DIR)/src linux \
|
||||||
INCDIR="-I$(STAGING_DIR)/usr/include/" \
|
INCDIR="$(TARGET_CPPFLAGS)" \
|
||||||
LIBDIR="-L$(STAGING_DIR)/usr/lib/" \
|
LIBDIR="$(TARGET_LDFLAGS)" \
|
||||||
CC="$(TARGET_CC) $(TARGET_CFLAGS)" \
|
CC="$(TARGET_CC) $(TARGET_CFLAGS)" \
|
||||||
LD="$(TARGET_CROSS)ld -shared"
|
LD="$(TARGET_CROSS)ld -shared"
|
||||||
endef
|
endef
|
||||||
|
@ -37,8 +37,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/ all \
|
$(MAKE) -C $(PKG_BUILD_DIR)/ all \
|
||||||
LIBDIR="-L$(STAGING_DIR)/usr/lib/" \
|
LIBDIR="$(TARGET_LDFLAGS)" \
|
||||||
CC="$(TARGET_CC) $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LD="$(TARGET_CROSS)ld -shared"
|
LD="$(TARGET_CROSS)ld -shared"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -101,11 +101,11 @@ define Build/perl/Configure
|
|||||||
-$(MAKE) -C $(PKG_BUILD_DIR) clean
|
-$(MAKE) -C $(PKG_BUILD_DIR) clean
|
||||||
sed \
|
sed \
|
||||||
-e 's!%%CC%%!$(TARGET_CC)!g' \
|
-e 's!%%CC%%!$(TARGET_CC)!g' \
|
||||||
-e 's!%%CFLAGS%%!$(TARGET_CFLAGS) -DUSE_CROSS_COMPILE -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include!g' \
|
-e 's!%%CFLAGS%%!$(TARGET_CFLAGS) -DUSE_CROSS_COMPILE $(TARGET_CPPFLAGS)!g' \
|
||||||
-e 's!%%CPP%%!$(TARGET_CROSS)gcc -E!g' \
|
-e 's!%%CPP%%!$(TARGET_CROSS)gcc -E!g' \
|
||||||
-e 's!%%AR%%!$(TARGET_CROSS)ar!g' \
|
-e 's!%%AR%%!$(TARGET_CROSS)ar!g' \
|
||||||
-e 's!%%LD%%!$(TARGET_CROSS)gcc!g' \
|
-e 's!%%LD%%!$(TARGET_CROSS)gcc!g' \
|
||||||
-e 's!%%LDFLAGS%%!-rdynamic -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib!g' \
|
-e 's!%%LDFLAGS%%!-rdynamic $(TARGET_LDFLAGS)!g' \
|
||||||
-e 's!%%LIBDIRS%%!$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib!g' \
|
-e 's!%%LIBDIRS%%!$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib!g' \
|
||||||
-e 's!%%INCDIRS%%!$(STAGING_DIR)/include $(STAGING_DIR)/usr/include!g' \
|
-e 's!%%INCDIRS%%!$(STAGING_DIR)/include $(STAGING_DIR)/usr/include!g' \
|
||||||
files/config.sh-$(patsubst i386,i486,$(ARCH)).in \
|
files/config.sh-$(patsubst i386,i486,$(ARCH)).in \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -42,7 +42,7 @@ CONFIGURE_VARS += \
|
|||||||
APR_BUILD_DIR="$(STAGING_DIR)/usr/share/build-1" \
|
APR_BUILD_DIR="$(STAGING_DIR)/usr/share/build-1" \
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) APRUTIL_LIBS="-lsqlite3 -L$(STAGING_DIR)/usr/lib -lexpat -liconv -lapr-1 -luuid -lm -lcrypt" all
|
$(MAKE) -C $(PKG_BUILD_DIR) APRUTIL_LIBS="-lsqlite3 $(TARGET_LDFLAGS) -lexpat -liconv -lapr-1 -luuid -lm -lcrypt" all
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
|
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -35,8 +35,8 @@ define Build/Configure
|
|||||||
(cd $(PKG_BUILD_DIR)/build_unix; rm -f config.cache; \
|
(cd $(PKG_BUILD_DIR)/build_unix; rm -f config.cache; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
../dist/configure \
|
../dist/configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -35,7 +35,7 @@ CONFIGURE_ARGS += \
|
|||||||
--with-libgnutls-prefix="$(STAGING_DIR)/usr" \
|
--with-libgnutls-prefix="$(STAGING_DIR)/usr" \
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
LIBS="-L$(STAGING_DIR)/usr/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib -lgnutls -lgcrypt -lgpg-error" \
|
LIBS="$(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib -lgnutls -lgcrypt -lgpg-error" \
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
|
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -36,8 +36,8 @@ endef
|
|||||||
define Build/Configure
|
define Build/Configure
|
||||||
# this is *NOT* GNU configure
|
# this is *NOT* GNU configure
|
||||||
( cd $(PKG_BUILD_DIR); \
|
( cd $(PKG_BUILD_DIR); \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -lfaad -lpthread -lz" \
|
LDFLAGS="$(TARGET_LDFLAGS) -lfaad -lpthread -lz" \
|
||||||
HOST_CC="$(HOSTCC)" \
|
HOST_CC="$(HOSTCC)" \
|
||||||
./configure \
|
./configure \
|
||||||
--cross-compile \
|
--cross-compile \
|
||||||
|
@ -39,8 +39,8 @@ CONFIGURE_ARGS += \
|
|||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
LIBNFNETLINK_CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
LIBNFNETLINK_CFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LIBNFNETLINK_LIBS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
LIBNFNETLINK_LIBS="$(TARGET_LDFLAGS)"
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) all
|
$(MAKE) -C $(PKG_BUILD_DIR) all
|
||||||
|
@ -39,8 +39,8 @@ CONFIGURE_ARGS += \
|
|||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
LIBNFNETLINK_CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
LIBNFNETLINK_CFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LIBNFNETLINK_LIBS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
LIBNFNETLINK_LIBS="$(TARGET_LDFLAGS)"
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) all
|
$(MAKE) -C $(PKG_BUILD_DIR) all
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -46,7 +46,7 @@ TARGET_CFLAGS += $(FPIC)
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
LNETLIB="-L$(STAGING_DIR)/usr/lib/libnet-1.0.x/lib -lnet" \
|
LNETLIB="-L$(STAGING_DIR)/usr/lib/libnet-1.0.x/lib -lnet" \
|
||||||
PCAPLIB="-L$(STAGING_DIR)/usr/lib -lpcap" \
|
PCAPLIB="$(TARGET_LDFLAGS) -lpcap" \
|
||||||
install_prefix="$(PKG_INSTALL_DIR)" \
|
install_prefix="$(PKG_INSTALL_DIR)" \
|
||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -38,7 +38,7 @@ endef
|
|||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
VORBIS_CFLAGS="-I$(STAGING_DIR)/usr/include/tremor/"\
|
VORBIS_CFLAGS="-I$(STAGING_DIR)/usr/include/tremor/"\
|
||||||
VORBIS_LIBS="-L$(STAGING_DIR)/usr/lib" \
|
VORBIS_LIBS="$(TARGET_LDFLAGS)" \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
)
|
)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -67,8 +67,8 @@ define Build/Configure
|
|||||||
config_BUILD_CFLAGS="-O2" \
|
config_BUILD_CFLAGS="-O2" \
|
||||||
config_TARGET_CC="$(TARGET_CC)" \
|
config_TARGET_CC="$(TARGET_CC)" \
|
||||||
config_TARGET_CFLAGS="$(TARGET_CFLAGS)" \
|
config_TARGET_CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
config_TARGET_READLINE_INC="-I$(STAGING_DIR)/usr/include" \
|
config_TARGET_READLINE_INC="$(TARGET_CPPFLAGS)" \
|
||||||
config_TARGET_READLINE_LIBS="-L$(STAGING_DIR)/usr/lib -lreadline -lncurses" \
|
config_TARGET_READLINE_LIBS="$(TARGET_LDFLAGS) -lreadline -lncurses" \
|
||||||
config_TARGET_TCL_INC="-DNO_TCL=1" \
|
config_TARGET_TCL_INC="-DNO_TCL=1" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
@ -72,8 +72,8 @@ CONFIGURE_VARS += \
|
|||||||
config_BUILD_CFLAGS="-O2" \
|
config_BUILD_CFLAGS="-O2" \
|
||||||
config_TARGET_CC="$(TARGET_CC)" \
|
config_TARGET_CC="$(TARGET_CC)" \
|
||||||
config_TARGET_CFLAGS="$(TARGET_CFLAGS)" \
|
config_TARGET_CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
config_TARGET_READLINE_INC="-I$(STAGING_DIR)/usr/include" \
|
config_TARGET_READLINE_INC="$(TARGET_CPPFLAGS)" \
|
||||||
config_TARGET_READLINE_LIBS="-L$(STAGING_DIR)/usr/lib -lreadline -lncurses" \
|
config_TARGET_READLINE_LIBS="$(TARGET_LDFLAGS) -lreadline -lncurses" \
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -36,8 +36,8 @@ TARGET_CFLAGS += $(FPIC)
|
|||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/libst2205/" \
|
CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/libst2205/" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
SETPICLIBS="-L$(STAGING_DIR)/usr/lib -lgd -ljpeg -lpng -lz -L../libst2205 -lst2205" \
|
SETPICLIBS="$(TARGET_LDFLAGS) -lgd -ljpeg -lpng -lz -L../libst2205 -lst2205" \
|
||||||
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -47,8 +47,8 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
INCDIRS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
INCDIRS="$(TARGET_CPPFLAGS)" \
|
||||||
LIBDIRS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
LIBDIRS="$(TARGET_LDFLAGS)" \
|
||||||
MYCFLAGS="$(TARGET_CFLAGS)" \
|
MYCFLAGS="$(TARGET_CFLAGS)" \
|
||||||
MYLDFLAGS="-lcrypt"
|
MYLDFLAGS="-lcrypt"
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -17,7 +17,7 @@ PKG_MD5SUM:=957e6fff08625fe34f4fc33d0925bbc9
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
TARGET_CFLAGS += $(TARGET_CPPFLAGS)
|
||||||
|
|
||||||
define Package/ssmtp
|
define Package/ssmtp
|
||||||
SECTION:=mail
|
SECTION:=mail
|
||||||
@ -36,7 +36,7 @@ define Package/ssmtp/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
LIBS="-L$(STAGING_DIR)/usr/lib -lcrypto -lssl"
|
LIBS="$(TARGET_LDFLAGS) -lcrypto -lssl"
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-ssl
|
--enable-ssl
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -186,8 +186,8 @@ endif
|
|||||||
define Build/Configure
|
define Build/Configure
|
||||||
# this is *NOT* GNU configure
|
# this is *NOT* GNU configure
|
||||||
( cd $(PKG_BUILD_DIR); \
|
( cd $(PKG_BUILD_DIR); \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
./configure \
|
./configure \
|
||||||
--enable-cross-compile \
|
--enable-cross-compile \
|
||||||
--cross-prefix="$(TARGET_CROSS)" \
|
--cross-prefix="$(TARGET_CROSS)" \
|
||||||
|
@ -35,8 +35,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -DLinux -DUSE_INTERNAL_SENDFILE -std=gnu99 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFILE_OFFSET_BITS=64 -D_GNU_SOURCE -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/lib/libiconv/include -I$(STAGING_DIR)/usr/include/dvdread -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
|
CFLAGS="$(TARGET_CFLAGS) -DLinux -DUSE_INTERNAL_SENDFILE -std=gnu99 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFILE_OFFSET_BITS=64 -D_GNU_SOURCE -I$(STAGING_DIR)/usr/lib/libiconv/include -I$(STAGING_DIR)/usr/include/dvdread $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib/libiconv/lib $(TARGET_LDFLAGS)" \
|
||||||
STRIP=$(STRIP) \
|
STRIP=$(STRIP) \
|
||||||
CC="$(TARGET_CROSS)gcc" all
|
CC="$(TARGET_CROSS)gcc" all
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -32,7 +32,7 @@ define Package/mjpg-streamer/description
|
|||||||
Streaming application for Linux-UVC compatible webcams
|
Streaming application for Linux-UVC compatible webcams
|
||||||
endef
|
endef
|
||||||
|
|
||||||
EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
|
EXTRA_CFLAGS += $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)
|
||||||
|
|
||||||
define Package/mjpg-streamer/install
|
define Package/mjpg-streamer/install
|
||||||
$(INSTALL_DIR) $(1)/sbin
|
$(INSTALL_DIR) $(1)/sbin
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -37,13 +37,13 @@ endef
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
export CPPFLAGS=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
export CPPFLAGS=$(TARGET_CPPFLAGS)
|
||||||
export LDFLAGS=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
|
export LDFLAGS=$(TARGET_LDFLAGS)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/server/libgsm \
|
$(MAKE) -C $(PKG_BUILD_DIR)/server/libgsm \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CCINC="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CCINC="$(TARGET_CPPFLAGS)" \
|
||||||
COPTS="$(TARGET_CFLAGS)" \
|
COPTS="$(TARGET_CFLAGS)" \
|
||||||
lib/libgsm.a
|
lib/libgsm.a
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/server \
|
$(MAKE) -C $(PKG_BUILD_DIR)/server \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -34,8 +34,8 @@ endef
|
|||||||
define Build/Configure
|
define Build/Configure
|
||||||
# this is *NOT* GNU configure
|
# this is *NOT* GNU configure
|
||||||
( cd $(PKG_BUILD_DIR); \
|
( cd $(PKG_BUILD_DIR); \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -lfaad -lpthread -lavcodec -lavformat -lavutil -lz" \
|
LDFLAGS="$(TARGET_LDFLAGS) -lfaad -lpthread -lavcodec -lavformat -lavutil -lz" \
|
||||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
|
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
|
||||||
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" \
|
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" \
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -41,8 +41,8 @@ define Build/Compile
|
|||||||
mkdir -p $(PKG_INSTALL_DIR)
|
mkdir -p $(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -Wall -Iinclude/ -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -D_REVISION=$(PKG_REV)" \
|
CFLAGS="$(TARGET_CFLAGS) -Wall -Iinclude/ $(TARGET_CPPFLAGS) -D_REVISION=$(PKG_REV)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
prefix="/usr" \
|
prefix="/usr" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
OSNAME=Linux \
|
OSNAME=Linux \
|
||||||
|
@ -34,7 +34,7 @@ define Build/Compile
|
|||||||
V= \
|
V= \
|
||||||
LDIR="$(PKG_BUILD_DIR)" \
|
LDIR="$(PKG_BUILD_DIR)" \
|
||||||
AMSEL_INCLUDE="$(STAGING_DIR)/usr/include" \
|
AMSEL_INCLUDE="$(STAGING_DIR)/usr/include" \
|
||||||
OPT_LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
OPT_LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
PREFIX="/usr" \
|
PREFIX="/usr" \
|
||||||
CONFIG="$(PKG_BUILD_DIR)/etc/amsel" \
|
CONFIG="$(PKG_BUILD_DIR)/etc/amsel" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -42,8 +42,8 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CCOPT="$(TARGET_CFLAGS)" \
|
CCOPT="$(TARGET_CFLAGS)" \
|
||||||
INCLS="-I. -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
INCLS="-I. $(TARGET_CPPFLAGS)" \
|
||||||
LIBS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lpcap -ldnet -levent"
|
LIBS="$(TARGET_LDFLAGS) -lpcap -ldnet -levent"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/arpd/install
|
define Package/arpd/install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -43,8 +43,8 @@ define Build/Compile
|
|||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
ARPDIR=/etc/arpwatch \
|
ARPDIR=/etc/arpwatch \
|
||||||
CCOPT="$(TARGET_CFLAGS)" \
|
CCOPT="$(TARGET_CFLAGS)" \
|
||||||
INCLS="-I. -I$(STAGING_DIR)/usr/include" \
|
INCLS="-I. $(TARGET_CPPFLAGS)" \
|
||||||
LIBS="-L$(STAGING_DIR)/usr/lib -lpcap"
|
LIBS="$(TARGET_LDFLAGS) -lpcap"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/arpwatch/install
|
define Package/arpwatch/install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -34,7 +34,7 @@ define Build/Compile
|
|||||||
rm -rf $(PKG_INSTALL_DIR)
|
rm -rf $(PKG_INSTALL_DIR)
|
||||||
mkdir -p $(PKG_INSTALL_DIR)
|
mkdir -p $(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
all
|
all
|
||||||
mkdir -p $(PKG_INSTALL_DIR)/tmp
|
mkdir -p $(PKG_INSTALL_DIR)/tmp
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -43,8 +43,8 @@ define Build/Configure
|
|||||||
(cd $(PKG_BUILD_DIR); \
|
(cd $(PKG_BUILD_DIR); \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
STAGING_DIR="$(STAGING_DIR)" \
|
STAGING_DIR="$(STAGING_DIR)" \
|
||||||
STRIP="$(STRIP)" \
|
STRIP="$(STRIP)" \
|
||||||
./configure \
|
./configure \
|
||||||
@ -67,7 +67,7 @@ define Build/Configure
|
|||||||
$(PKG_BUILD_DIR)/Makefile.settings
|
$(PKG_BUILD_DIR)/Makefile.settings
|
||||||
@echo 'CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include' >> \
|
@echo 'CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include' >> \
|
||||||
$(PKG_BUILD_DIR)/Makefile.settings
|
$(PKG_BUILD_DIR)/Makefile.settings
|
||||||
@echo 'LFLAGS+=-L$(STAGING_DIR)/usr/lib' >> \
|
@echo 'LFLAGS+=$(TARGET_LDFLAGS)' >> \
|
||||||
$(PKG_BUILD_DIR)/Makefile.settings
|
$(PKG_BUILD_DIR)/Makefile.settings
|
||||||
@echo 'LFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib' >> \
|
@echo 'LFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib' >> \
|
||||||
$(PKG_BUILD_DIR)/Makefile.settings
|
$(PKG_BUILD_DIR)/Makefile.settings
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# Copyright (C) 2006 OpenWrt.org
|
#
|
||||||
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -58,8 +59,8 @@ define Build/Configure
|
|||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CXXFLAGS="-static -Os -MD" \
|
CXXFLAGS="-static -Os -MD" \
|
||||||
CFLAGS="-static -MD" \
|
CFLAGS="-static -MD" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
$(BUILDOPTS) \
|
$(BUILDOPTS) \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -62,7 +62,7 @@ define Build/Configure
|
|||||||
--disable-gssapi \
|
--disable-gssapi \
|
||||||
--disable-slp, \
|
--disable-slp, \
|
||||||
UNAME="Linux" \
|
UNAME="Linux" \
|
||||||
LIBS="-L$(STAGING_DIR)/usr/lib -lz -lpng -ljpeg" \
|
LIBS="$(TARGET_LDFLAGS) -lz -lpng -ljpeg" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -34,7 +34,7 @@ endef
|
|||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
INCLUDES="" \
|
INCLUDES="" \
|
||||||
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
|
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/uClibc++" \
|
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
|
||||||
LDFLAGS="$$$$LDFLAGS" \
|
LDFLAGS="$$$$LDFLAGS" \
|
||||||
LIBS="-nodefaultlibs -luClibc++ -lpthread $(LIBGCC_S)" \
|
LIBS="-nodefaultlibs -luClibc++ -lpthread $(LIBGCC_S)" \
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -31,8 +31,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default, \
|
$(call Build/Compile/Default, \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libipq -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libipq $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
all \
|
all \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -36,8 +36,8 @@ define Build/Configure
|
|||||||
x=`echo ac_cv_file_$(PKG_BUILD_DIR)/features.conf | tr [:blank:]-/. _` && export $$$${x}=yes && \
|
x=`echo ac_cv_file_$(PKG_BUILD_DIR)/features.conf | tr [:blank:]-/. _` && export $$$${x}=yes && \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
./configure \
|
./configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
|
@ -43,8 +43,8 @@ define Build/Compile
|
|||||||
mkdir -p $(PKG_INSTALL_DIR)
|
mkdir -p $(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -DSVN_REV=$(PKG_REV) -Iinclude/ -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) -DSVN_REV=$(PKG_REV) -Iinclude/ $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
faifa
|
faifa
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -33,7 +33,7 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default, \
|
$(call Build/Compile/Default, \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -62,7 +62,7 @@ define Build/Configure
|
|||||||
--with-vorbis="$(TREMOR_DIR)" \
|
--with-vorbis="$(TREMOR_DIR)" \
|
||||||
--with-xslt-config="$(STAGING_DIR)/usr/bin/xslt-config" \
|
--with-xslt-config="$(STAGING_DIR)/usr/bin/xslt-config" \
|
||||||
, \
|
, \
|
||||||
CPPFLAGS="-I$(TREMOR_DIR)/include -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/libxml2 " \
|
CPPFLAGS="-I$(TREMOR_DIR)/include -I$(STAGING_DIR)/usr/include/libxml2 $(TARGET_CPPFLAGS)" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -47,13 +47,13 @@ define Build/Compile
|
|||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
SSL_DIR="$(STAGING_DIR)/usr" \
|
SSL_DIR="$(STAGING_DIR)/usr" \
|
||||||
SSL_LIBS="-L$(STAGING_DIR)/usr/lib -lssl -lcrypto" \
|
SSL_LIBS="$(TARGET_LDFLAGS) -lssl -lcrypto" \
|
||||||
SSL_FLAGS="-I$(STAGING_DIR)/usr/include -DHAVE_SSL" \
|
SSL_FLAGS="$(TARGET_CPPFLAGS) -DHAVE_SSL" \
|
||||||
SSL_OBJS=sslstate.o \
|
SSL_OBJS=sslstate.o \
|
||||||
PREFIX="$(STAGING_DIR)/usr" \
|
PREFIX="$(STAGING_DIR)/usr" \
|
||||||
CXX=$(TARGET_CXX) \
|
CXX=$(TARGET_CXX) \
|
||||||
CXXFLAGS="$(TARGET_CXXFLAGS) $(TARGET_CFLAGS) $(FPIC) -I$(STAGING_DIR)/usr/include \
|
CXXFLAGS="$(TARGET_CXXFLAGS) $(TARGET_CFLAGS) $(FPIC) $(TARGET_CPPFLAGS) \
|
||||||
-L$(STAGING_DIR)/usr/lib -DHAVE_SSL" \
|
$(TARGET_LDFLAGS) -DHAVE_SSL" \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -48,8 +48,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default,\
|
$(call Build/Compile/Default,\
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -c -DLINUX" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -c -DLINUX" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -lz" \
|
LDFLAGS="$(TARGET_LDFLAGS) -lz" \
|
||||||
all \
|
all \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -47,8 +47,8 @@ define Build/Compile
|
|||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
DEBUG="" \
|
DEBUG="" \
|
||||||
INCLUDEDIR="-I../support -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
INCLUDEDIR="-I../support $(TARGET_CPPFLAGS)" \
|
||||||
LDOPTS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
LDOPTS="$(TARGET_LDFLAGS)" \
|
||||||
PLATFORM="-DPLATFORM=\\\"Linux/$(ARCH)\\\"" \
|
PLATFORM="-DPLATFORM=\\\"Linux/$(ARCH)\\\"" \
|
||||||
TARGET="/usr/bin" \
|
TARGET="/usr/bin" \
|
||||||
WORKDIR="/var/lib/iptraf" \
|
WORKDIR="/var/lib/iptraf" \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -79,7 +79,7 @@ define Package/$(1)/install
|
|||||||
endef
|
endef
|
||||||
endef
|
endef
|
||||||
|
|
||||||
EXTRA_CFLAGS+=-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/lib/libiconv/include -I$(STAGING_DIR)/usr/lib/libintl/include
|
EXTRA_CFLAGS+=$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libiconv/include -I$(STAGING_DIR)/usr/lib/libintl/include
|
||||||
EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib -L$(STAGING_DIR)/usr/lib/libintl/lib
|
EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib -L$(STAGING_DIR)/usr/lib/libintl/lib
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_irssi),)
|
ifneq ($(SDK)$(CONFIG_PACKAGE_irssi),)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -44,8 +44,8 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/src/ \
|
$(MAKE) -C $(PKG_BUILD_DIR)/src/ \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDLIBS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lpcap -lncurses"
|
LDLIBS="$(TARGET_LDFLAGS) -lpcap -lncurses"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/karma/install
|
define Package/karma/install
|
||||||
|
@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
CONFIGURE_ARGS+=--sysconfdir=/etc/leafnode
|
CONFIGURE_ARGS+=--sysconfdir=/etc/leafnode
|
||||||
CONFIGURE_VARS+=LIBS=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
CONFIGURE_VARS+=LIBS=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||||
|
|
||||||
EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
|
||||||
|
|
||||||
EXTRA_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
EXTRA_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -37,8 +37,8 @@ define Build/Compile
|
|||||||
$(MAKE) -C "$(PKG_BUILD_DIR)" \
|
$(MAKE) -C "$(PKG_BUILD_DIR)" \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
OFLAGS="$(TARGET_CFLAGS)" \
|
OFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -30,7 +30,7 @@ define Build/Compile
|
|||||||
$(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.openwrt \
|
$(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.openwrt \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
STAGING_DIR="$(STAGING_DIR)" \
|
STAGING_DIR="$(STAGING_DIR)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LIBS="$(STAGING_DIR)/usr/lib/libiptc.a"
|
LIBS="$(STAGING_DIR)/usr/lib/libiptc.a"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -32,7 +32,7 @@ define Package/nagios/description
|
|||||||
service and network monitoring program
|
service and network monitoring program
|
||||||
endef
|
endef
|
||||||
|
|
||||||
EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-nagios-user="root" \
|
--with-nagios-user="root" \
|
||||||
|
@ -33,8 +33,8 @@ define Build/Compile
|
|||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
LD="$(TARGET_CC)" \
|
LD="$(TARGET_CC)" \
|
||||||
CFLAGS="$(strip $(TARGET_CFLAGS))" \
|
CFLAGS="$(strip $(TARGET_CFLAGS))" \
|
||||||
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include -DIPTABLES_PATH=\\\"/usr/sbin\\\"" \
|
CPPFLAGS="$$$$CPPFLAGS $(TARGET_CPPFLAGS) -DIPTABLES_PATH=\\\"/usr/sbin\\\"" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
prefix="$(PKG_INSTALL_DIR)/usr"
|
prefix="$(PKG_INSTALL_DIR)/usr"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -39,7 +39,7 @@ define Build/Compile
|
|||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
CPPFLAGS="$(TARGET_CPPFLAGS) -L$(STAGING_DIR)/usr/lib/libintl/lib/ -L$(STAGING_DIR)/usr/lib/" \
|
CPPFLAGS="$(TARGET_CPPFLAGS) -L$(STAGING_DIR)/usr/lib/libintl/lib/ $(TARGET_LDFLAGS)" \
|
||||||
nbd-client
|
nbd-client
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -42,7 +42,7 @@ define Build/Configure
|
|||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--disable-dropprivs \
|
--disable-dropprivs \
|
||||||
,\
|
,\
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -lpcre" \
|
LDFLAGS="$(TARGET_LDFLAGS) -lpcre" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -71,10 +71,10 @@ CONFIGURE_ARGS += \
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/lib/libintl/include/ \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) \
|
||||||
-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include \
|
-I$(STAGING_DIR)/usr/lib/libintl/include \
|
||||||
-I$(STAGING_DIR)/usr/lib/libiconv/include" \
|
-I$(STAGING_DIR)/usr/lib/libiconv/include" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib \
|
LDFLAGS="$(TARGET_LDFLAGS) \
|
||||||
-L$(STAGING_DIR)/usr/lib/libintl/lib \
|
-L$(STAGING_DIR)/usr/lib/libintl/lib \
|
||||||
-L$(STAGING_DIR)/usr/lib/libiconv/lib \
|
-L$(STAGING_DIR)/usr/lib/libiconv/lib \
|
||||||
-Wl,-rpath-link,$(STAGING_DIR)/usr/lib -liconv \
|
-Wl,-rpath-link,$(STAGING_DIR)/usr/lib -liconv \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -55,11 +55,11 @@ $(call Package/openswan/Default/description)
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CPPFLAGS = \
|
TARGET_CPPFLAGS = \
|
||||||
-I$(STAGING_DIR)/usr/include \
|
$(TARGET_CPPFLAGS) \
|
||||||
-I$(LINUX_DIR)/include
|
-I$(LINUX_DIR)/include
|
||||||
|
|
||||||
TARGET_LDFLAGS = \
|
TARGET_LDFLAGS = \
|
||||||
-L$(STAGING_DIR)/usr/lib
|
$(TARGET_LDFLAGS)
|
||||||
|
|
||||||
OPENSWAN_MAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
|
OPENSWAN_MAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -101,7 +101,7 @@ $(PKG_BUILD_DIR)/nfacctd$(1) $(PKG_BUILD_DIR)/pmacctd$(1): $(STAMP_CONFIGURED)
|
|||||||
,,\
|
,,\
|
||||||
);
|
);
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
all
|
all
|
||||||
mv -f $(PKG_BUILD_DIR)/src/nfacctd $(PKG_BUILD_DIR)/nfacctd$(1)
|
mv -f $(PKG_BUILD_DIR)/src/nfacctd $(PKG_BUILD_DIR)/nfacctd$(1)
|
||||||
mv -f $(PKG_BUILD_DIR)/src/pmacctd $(PKG_BUILD_DIR)/pmacctd$(1)
|
mv -f $(PKG_BUILD_DIR)/src/pmacctd $(PKG_BUILD_DIR)/pmacctd$(1)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -33,9 +33,9 @@ define Package/portmap/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \
|
||||||
RPCUSER="nobody" \
|
RPCUSER="nobody" \
|
||||||
WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \
|
WRAP_LIB="$(TARGET_LDFLAGS) -lwrap" \
|
||||||
all
|
all
|
||||||
|
|
||||||
define Package/portmap/install
|
define Package/portmap/install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -47,7 +47,7 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
SPECIAL_CFLAGS="-pthread -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
SPECIAL_CFLAGS="-pthread $(TARGET_LDFLAGS)"
|
||||||
mkdir -p $(PKG_INSTALL_DIR)
|
mkdir -p $(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
@ -48,8 +48,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default,\
|
$(call Build/Compile/Default,\
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
PREFIX="/usr" \
|
PREFIX="/usr" \
|
||||||
all install \
|
all install \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -86,8 +86,8 @@ define Build/Compile
|
|||||||
(cd $(PKG_BUILD_DIR)/source; rm -rf config.{cache,status}; \
|
(cd $(PKG_BUILD_DIR)/source; rm -rf config.{cache,status}; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -DNDEBUG -DSHMEM_SIZE=524288 -Dfcntl=fcntl64" \
|
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -DNDEBUG -DSHMEM_SIZE=524288 -Dfcntl=fcntl64" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="$(LIBGCC_S) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS) $(LIBGCC_S)" \
|
||||||
ac_cv_lib_cups_httpConnect=no \
|
ac_cv_lib_cups_httpConnect=no \
|
||||||
samba_cv_FTRUNCATE_NEEDS_ROOT=no \
|
samba_cv_FTRUNCATE_NEEDS_ROOT=no \
|
||||||
samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no \
|
samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -46,9 +46,9 @@ define Build/Compile
|
|||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CC="$(TARGET_CC)" LD="$(TARGET_CC)" CFLAGS="-c $(TARGET_CFLAGS)" \
|
CC="$(TARGET_CC)" LD="$(TARGET_CC)" CFLAGS="-c $(TARGET_CFLAGS)" \
|
||||||
LDFLAGS= \
|
LDFLAGS= \
|
||||||
PCAP_H="-I$(STAGING_DIR)/usr/include" \
|
PCAP_H="$(TARGET_CPPFLAGS)" \
|
||||||
NIDS_H="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/lib/libnet-1.0.x/include" \
|
NIDS_H="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libnet-1.0.x/include" \
|
||||||
NIDS_L="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libnet-1.0.x/lib -lnids -lnet -lpcap" \
|
NIDS_L="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libnet-1.0.x/lib -lnids -lnet -lpcap" \
|
||||||
libnids
|
libnids
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -34,11 +34,12 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(TARGET_CC) \
|
$(TARGET_CC) \
|
||||||
$(TARGET_CFLAGS) \
|
$(TARGET_CFLAGS) \
|
||||||
-I $(STAGING_DIR)/usr/include \
|
$(TARGET_CPPFLAGS) \
|
||||||
-D_REENTRANT \
|
-D_REENTRANT \
|
||||||
$(PKG_BUILD_DIR)/smtptrapd.c \
|
$(PKG_BUILD_DIR)/smtptrapd.c \
|
||||||
-o $(PKG_BUILD_DIR)/smtptrapd \
|
-o $(PKG_BUILD_DIR)/smtptrapd \
|
||||||
-L$(STAGING_DIR)/usr/lib/ -lpthread
|
$(TARGET_LDFLAGS) \
|
||||||
|
-lpthread
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/smtptrapd/install
|
define Package/smtptrapd/install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -135,7 +135,7 @@ CONFIGURE_VARS += \
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
# pass INCLUDES to compile host sources against our OpenSSL, not the host one
|
# pass INCLUDES to compile host sources against our OpenSSL, not the host one
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/lib \
|
$(MAKE) -C $(PKG_BUILD_DIR)/lib \
|
||||||
INCLUDES="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
INCLUDES="$(TARGET_CPPFLAGS)" \
|
||||||
all
|
all
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
@ -58,9 +58,8 @@ define Build/Compile
|
|||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
|
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
|
||||||
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++ -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++ $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -L$(TOOLCHAIN_DIR)/usr/lib \
|
LDFLAGS="$$$$LDFLAGS $(TARGET_LDFLAGS) -nodefaultlibs -luClibc++ $(LIBGCC_S)" \
|
||||||
-nodefaultlibs -luClibc++ $(LIBGCC_S)" \
|
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -86,11 +86,10 @@ CONFIGURE_ARGS += \
|
|||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
svn_lib_neon=yes \
|
svn_lib_neon=yes \
|
||||||
LDFLAGS="-lcrypt -lm -lintl -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
|
LDFLAGS="$(TARGET_LDFLAGS) -lcrypt -lm -lintl -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
|
||||||
-lz -L$(STAGING_DIR)/usr/lib/ -lpthread -L$(TOOLCHAIN_DIR)/usr/lib -L$(TOOLCHAIN_DIR)/lib \
|
-lz -lpthread -L$(TOOLCHAIN_DIR)/usr/lib \
|
||||||
-L$(TOOLCHAIN_DIR)/lib" \
|
-L$(TOOLCHAIN_DIR)/lib" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include/ -I$(STAGING_DIR)/usr/lib/libintl/include \
|
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libintl/include" \
|
||||||
-I$(STAGING_DIR)/include/" \
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all local-install
|
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all local-install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -41,7 +41,7 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CCOPT="$(TARGET_CFLAGS)" INCLS="-I. -I$(STAGING_DIR)/usr/include" \
|
CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -108,7 +108,7 @@ define Build/Compile
|
|||||||
-I$(PKG_BUILD_DIR)/include/ulogd \
|
-I$(PKG_BUILD_DIR)/include/ulogd \
|
||||||
-I$(PKG_BUILD_DIR)/include \
|
-I$(PKG_BUILD_DIR)/include \
|
||||||
-I$(PKG_BUILD_DIR)/libipulog/include \
|
-I$(PKG_BUILD_DIR)/libipulog/include \
|
||||||
-I$(STAGING_DIR)/usr/include" \
|
$(TARGET_CPPFLAGS)" \
|
||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -36,7 +36,7 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS+="-I$(STAGING_DIR)/usr/include -L$(STAGING_DIR)/usr/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib"
|
CFLAGS+="$(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/vnstati/install
|
define Package/vnstati/install
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -36,7 +36,7 @@ define Build/Configure
|
|||||||
--with-lzo-lib="$(STAGING_DIR)/usr/lib/" \
|
--with-lzo-lib="$(STAGING_DIR)/usr/lib/" \
|
||||||
--with-ssl-headers="$(STAGING_DIR)/usr/include/openssl" \
|
--with-ssl-headers="$(STAGING_DIR)/usr/include/openssl" \
|
||||||
, \
|
, \
|
||||||
LIBS="-L$(STAGING_DIR)/usr/lib" \
|
LIBS="$(TARGET_LDFLAGS)" \
|
||||||
BLOWFISH_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
|
BLOWFISH_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
|
||||||
LZO_HDR_DIR="$(STAGING_DIR)/usr/include/lzo" \
|
LZO_HDR_DIR="$(STAGING_DIR)/usr/include/lzo" \
|
||||||
SSL_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
|
SSL_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -28,8 +28,8 @@ define Build/Prepare
|
|||||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
|
||||||
EXTRA_LDFLAGS += -L$(STAGING_DIR)/usr/lib
|
EXTRA_LDFLAGS += $(TARGET_LDFLAGS)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default, \
|
$(call Build/Compile/Default, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -34,8 +34,8 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lpcap" \
|
LDFLAGS="$(TARGET_LDFLAGS) -lpcap" \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 - 2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -40,16 +40,16 @@ ifndef CONFIG_PACKAGE_kmod-sound-core
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
ID3TAG_LIBS="-L$(STAGING_DIR)/usr/lib -lz -lid3tag" \
|
ID3TAG_LIBS="$(TARGET_LDFLAGS) -lz -lid3tag" \
|
||||||
ID3TAG_CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
ID3TAG_CFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
FLAC_LIBS="-L$(STAGING_DIR)/usr/lib -lFLAC" \
|
FLAC_LIBS="$(TARGET_LDFLAGS) -lFLAC" \
|
||||||
FLAC_CFLAGS="-I$(STAGING_DIR)/usr/include/FLAC" \
|
FLAC_CFLAGS="-I$(STAGING_DIR)/usr/include/FLAC" \
|
||||||
MAD_LIBS="-L$(STAGING_DIR)/usr/lib -lmad" \
|
MAD_LIBS="$(TARGET_LDFLAGS) -lmad" \
|
||||||
MAD_CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
MAD_CFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
OGGVORBIS_LIBS="-L$(STAGING_DIR)/usr/lib -lvorbisidec" \
|
OGGVORBIS_LIBS="$(TARGET_LDLFAGS) -lvorbisidec" \
|
||||||
OGGVORBIS_CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
OGGVORBIS_CFLAGS="$TARGET_CPPFLAGS)" \
|
||||||
GLIB_CFLAGS="-I$(STAGING_DIR)/usr/include/glib-2.0 -I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
|
GLIB_CFLAGS="-I$(STAGING_DIR)/usr/include/glib-2.0 -I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
|
||||||
GLIB_LIBS="-L$(STAGING_DIR)/usr/lib/libintl/lib -lintl -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv -L$(STAGING_DIR)/usr/lib -lglib-2.0 -lgthread-2.0 -pthread"
|
GLIB_LIBS="$(TARGET_LDLFAGS) -L$(STAGING_DIR)/usr/lib/libintl/lib -lintl -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv -lglib-2.0 -lgthread-2.0 -pthread"
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -55,8 +55,8 @@ SUPP_LIBS:=-L$(STAGING_DIR)/usr/lib/libintl/lib -L$(STAGING_DIR)/usr/lib/libicon
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib $(SUPP_LIBS)" \
|
LDFLAGS="$(TARGET_LDFLAGS) $(SUPP_LIBS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
LIBLTDL="$(STAGING_DIR)/usr/lib/libltdl.la" \
|
LIBLTDL="$(STAGING_DIR)/usr/lib/libltdl.la" \
|
||||||
X_CFLAGS="" \
|
X_CFLAGS="" \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -40,9 +40,9 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I./include/ -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) -I./include/ $(TARGET_CPPFLAGS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lmad -lao" \
|
LDFLAGS="$(TARGET_LDFLAGS) -lmad -lao" \
|
||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -30,7 +30,8 @@ define Package/streamripper/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
--without-ogg \
|
--without-ogg \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -32,7 +32,8 @@ endef
|
|||||||
|
|
||||||
export SENDMAIL=/bin/true
|
export SENDMAIL=/bin/true
|
||||||
EXTRA_CFLAGS:=-DNEED_YYWRAP -I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include/libelf \
|
EXTRA_CFLAGS:=-DNEED_YYWRAP -I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include/libelf \
|
||||||
-L$(STAGING_DIR)/usr/lib
|
$(TARGET_LDFLAGS)
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--with-daemon_username=nobody \
|
CONFIGURE_ARGS+=--with-daemon_username=nobody \
|
||||||
--with-daemon_groupname=nogroup \
|
--with-daemon_groupname=nogroup \
|
||||||
--with-jobdir=/var/spool/cron/atjobs \
|
--with-jobdir=/var/spool/cron/atjobs \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -40,8 +40,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/software \
|
$(MAKE) -C $(PKG_BUILD_DIR)/software \
|
||||||
CXX="$(TARGET_CROSS)g++ $(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/uClibc++" \
|
CXX="$(TARGET_CROSS)g++ $(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++" \
|
||||||
LFLAGS="-L$(STAGING_DIR)/usr/lib -nodefaultlibs -luClibc++ -lusb $(LIBGCC_S)" \
|
LFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -luClibc++ -lusb $(LIBGCC_S)" \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2008 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -38,8 +38,8 @@ CONFIGURE_ARGS += \
|
|||||||
ac_cv_file__usr_local_pgsql_include=no \
|
ac_cv_file__usr_local_pgsql_include=no \
|
||||||
ac_cv_lib_pq_PQconnectdb=no \
|
ac_cv_lib_pq_PQconnectdb=no \
|
||||||
|
|
||||||
EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
|
||||||
EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
|
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
|
||||||
|
|
||||||
define Package/bandwidthd/install
|
define Package/bandwidthd/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -38,7 +38,7 @@ define Build/Compile
|
|||||||
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS)" \
|
||||||
LDFLAGS="$(TARGET_LDFLAGS) " \
|
LDFLAGS="$(TARGET_LDFLAGS) " \
|
||||||
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
INCL="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include -I$(STAGING_DIR)/usr/lib/libiconv/include" \
|
INCL="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include -I$(STAGING_DIR)/usr/lib/libiconv/include" \
|
||||||
MYLIBS="-lbluetooth -lglib -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv"
|
MYLIBS="-lbluetooth -lglib -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv"
|
||||||
$(STRIP) $(PKG_BUILD_DIR)/bemusedlinuxserver
|
$(STRIP) $(PKG_BUILD_DIR)/bemusedlinuxserver
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -46,7 +46,7 @@ CONFIGURE_ARGS += \
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib \
|
LDFLAGS="$(TARGET_LDFLAGS) \
|
||||||
-L$(STAGING_DIR)/usr/lib/libintl/lib \
|
-L$(STAGING_DIR)/usr/lib/libintl/lib \
|
||||||
-L$(STAGING_DIR)/usr/lib/libiconv/lib" \
|
-L$(STAGING_DIR)/usr/lib/libiconv/lib" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
@ -35,9 +35,9 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -DLINUX -I$(STAGING_DIR)/usr/include \
|
CFLAGS="$(TARGET_CFLAGS) -DLINUX $(TARGET_CPPFLAGS) \
|
||||||
-I./src -I./userial -DOWUSB" \
|
-I./src -I./userial -DOWUSB" \
|
||||||
LIBS="-L$(STAGING_DIR)/usr/lib -lusb -lm" \
|
LIBS="$(TARGET_LDFLAGS) -lusb -lm" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
ds2490
|
ds2490
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -27,8 +27,8 @@ define Build/Prepare
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(TARGET_CC) $(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include \
|
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) \
|
||||||
-lusb -L$(STAGING_DIR)/usr/lib/ \
|
-lusb \
|
||||||
-o $(PKG_BUILD_DIR)/huaweiAktBbo \
|
-o $(PKG_BUILD_DIR)/huaweiAktBbo \
|
||||||
$(PKG_BUILD_DIR)/huaweiAktBbo.c
|
$(PKG_BUILD_DIR)/huaweiAktBbo.c
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -193,8 +193,8 @@ endif
|
|||||||
## TODO PYTHON PLUGIN, DEPENDS on ver >= '2.1.0'
|
## TODO PYTHON PLUGIN, DEPENDS on ver >= '2.1.0'
|
||||||
|
|
||||||
|
|
||||||
EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/lib/libiconv/include
|
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libiconv/include
|
||||||
EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib
|
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib
|
||||||
|
|
||||||
TARGET_CONFIGURE_OPTS+=\
|
TARGET_CONFIGURE_OPTS+=\
|
||||||
CC="$(TARGET_CC) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)"
|
CC="$(TARGET_CC) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -40,8 +40,8 @@ define Package/logrotate/conffiles
|
|||||||
/etc/logrotate.conf
|
/etc/logrotate.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
|
||||||
EXTRA_LDFLAGS += -L$(STAGING_DIR)/usr/lib
|
EXTRA_LDFLAGS += $(TARGET_LDFLAGS)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default, \
|
$(call Build/Compile/Default, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -43,7 +43,7 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
LDFLAGS="$(TARGET_LDFLAGS) -lncurses" \
|
LDFLAGS="$(TARGET_LDFLAGS) -lncurses" \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
CC=$(TARGET_CC)
|
CC=$(TARGET_CC)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user