소스 검색

Make some more things compile

Eric Andersen 22 년 전
부모
커밋
2279207edd
2개의 변경된 파일17개의 추가작업 그리고 4개의 파일을 삭제
  1. 16 3
      make/bridge.mk
  2. 1 1
      make/iptables.mk

+ 16 - 3
make/bridge.mk

@@ -19,14 +19,27 @@ $(BRIDGE_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BRIDGE_SOURCE)
 $(BRIDGE_BUILD_DIR)/.configured: $(BRIDGE_BUILD_DIR)/.unpacked
 	(cd $(BRIDGE_BUILD_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
-                ./configure \
+		./configure \
+		--target=$(GNU_TARGET_NAME) \
+		--host=$(GNU_TARGET_NAME) \
+		--build=$(GNU_HOST_NAME) \
+		--prefix=/usr \
+		--exec-prefix=/usr \
+		--bindir=/usr/bin \
+		--sbindir=/usr/sbin \
+		--libexecdir=/usr/lib \
+		--sysconfdir=/etc \
+		--datadir=/usr/share \
+		--localstatedir=/var \
+		--mandir=/usr/man \
+		--infodir=/usr/info \
+		$(DISABLE_NLS) \
 		--with-linux-headers=$(BUILD_DIR)/linux \
 	);
-	
 	touch  $(BRIDGE_BUILD_DIR)/.configured
 
 $(BRIDGE_BUILD_DIR)/brctl/brctl: $(BRIDGE_BUILD_DIR)/.configured
-	$(MAKE) -C $(BRIDGE_BUILD_DIR) CC=$(TARGET_CC)
+	$(MAKE) -C $(BRIDGE_BUILD_DIR)
 
 $(TARGET_DIR)/sbin/brctl: $(BRIDGE_BUILD_DIR)/brctl/brctl
 	cp -af $(BRIDGE_BUILD_DIR)/brctl/brctl $(TARGET_DIR)/sbin/

+ 1 - 1
make/iptables.mk

@@ -3,7 +3,7 @@
 # iptables
 #
 #############################################################
-IPTABLES_SOURCE_URL=ftp://ftp.netfilter.org/pub/iptables
+IPTABLES_SOURCE_URL=http://www.netfilter.org/files
 IPTABLES_SOURCE=iptables-1.2.8.tar.bz2
 IPTABLES_BUILD_DIR=$(BUILD_DIR)/iptables-1.2.8