aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-08-04 05:30:27 +0000
committerMike Baker <mbm@openwrt.org>2006-08-04 05:30:27 +0000
commitad8fe944b96ca72bfd408abfd297ea4bf0e0ef9b (patch)
treeeef210eda4aebbb09ffdd1c051b1a61d2ba69aa7 /package
parent0611443ef95fba15d8f35234d7c37699aa99d296 (diff)
downloadupstream-ad8fe944b96ca72bfd408abfd297ea4bf0e0ef9b.tar.gz
upstream-ad8fe944b96ca72bfd408abfd297ea4bf0e0ef9b.tar.bz2
upstream-ad8fe944b96ca72bfd408abfd297ea4bf0e0ef9b.zip
more cleanup (make sure to pass TARGET_PATH and not just TARGET_CC)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4432 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/dnsmasq/Makefile2
-rw-r--r--package/dropbear/Makefile4
-rw-r--r--package/libpcap/Makefile1
-rw-r--r--package/linux-atm/Makefile6
-rw-r--r--package/mtd/Makefile6
-rw-r--r--package/ppp/Makefile2
-rw-r--r--package/wireless-tools/Makefile3
7 files changed, 8 insertions, 16 deletions
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index 0efb349bc8..f6c2d36c52 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -36,7 +36,7 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
+ $(TARGET_CONFIGURE_OPTS) \
BINDIR="/usr/sbin" MANDIR="/usr/man" \
all
endef
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 48e69e466f..cfb2c4135e 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -81,11 +81,11 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- LD="$(TARGET_CC)" \
+ $(TARGET_CONFIGURE_OPTS) \
PROGRAMS="dropbear dbclient dropbearkey scp" \
MULTI=1 SCPPROGRESS=1
$(MAKE) -C $(PKG_BUILD_DIR) \
- LD="$(TARGET_CC)" \
+ $(TARGET_CONFIGURE_OPTS) \
PROGRAMS="dropbearconvert"
endef
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index 1d9d4371fb..155748a472 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -71,6 +71,7 @@ define Build/Compile
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
CCOPT="$(TARGET_CFLAGS) -I$(BUILD_DIR)/linux/include" \
+ PATH=$(TARGET_PATH) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 0b8c59d4e1..56ca90a383 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -44,11 +44,7 @@ define Build/Configure
endef
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+ $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
endef
define Package/linux-atm/install
diff --git a/package/mtd/Makefile b/package/mtd/Makefile
index b3bf6023af..01b9adf98f 100644
--- a/package/mtd/Makefile
+++ b/package/mtd/Makefile
@@ -29,12 +29,6 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
- all
-endef
-
define Package/mtd/install
install -d -m0755 $(1)/sbin
install -m0755 $(PKG_BUILD_DIR)/mtd $(1)/sbin/
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index a42af41d31..64351a5ca1 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -87,7 +87,7 @@ define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)/usr
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
+ $(TARGET_CONFIGURE_OPTS) \
COPTS="$(TARGET_CFLAGS)" \
PRECOMPILED_FILTER=1 \
STAGING_DIR="$(STAGING_DIR)" \
diff --git a/package/wireless-tools/Makefile b/package/wireless-tools/Makefile
index 5884424876..32e7fc05a9 100644
--- a/package/wireless-tools/Makefile
+++ b/package/wireless-tools/Makefile
@@ -35,7 +35,8 @@ define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -I." \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS) -I." \
libiw.so.28 iwmulticall
$(MAKE) -C $(PKG_BUILD_DIR) \
PREFIX="$(PKG_INSTALL_DIR)" \