From 61c7cab5b8e86b5b7f3c8ffa9d32f0c57f032736 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 19 Feb 2005 07:43:13 +0000 Subject: [PATCH] sync with buildroot2 from uclibc, add two variables PACKAGE_DIR and PATCH, remove LINKSYS_TGZ_SITE from here SVN-Revision: 265 --- openwrt/package/Config.in | 10 ++++++---- openwrt/package/Makefile.in | 5 ++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/openwrt/package/Config.in b/openwrt/package/Config.in index f7eff0639e..f22f83e608 100644 --- a/openwrt/package/Config.in +++ b/openwrt/package/Config.in @@ -2,15 +2,17 @@ menu "OpenWrt Package Selection" -comment "The default set" -source "package/busybox/Config.in" -source "package/dnsmasq/Config.in" +comment "The absolute minimum" source "package/linux/Config.in" +source "package/busybox/Config.in" + +comment "The default set" +source "package/dnsmasq/Config.in" source "package/iptables/Config.in" source "package/bridge/Config.in" comment "Suggested Extras" -source "package/dropbear_sshd/Config.in" source "package/ebtables/Config.in" +source "package/dropbear_sshd/Config.in" endmenu diff --git a/openwrt/package/Makefile.in b/openwrt/package/Makefile.in index e8ec23efcc..0d600d0a5a 100644 --- a/openwrt/package/Makefile.in +++ b/openwrt/package/Makefile.in @@ -1,5 +1,3 @@ -LINKSYS_TGZ_SITE=http://openwrt.openbsd-geek.de - MAKE1=make MAKE=make -j$(BR2_JLEVEL) @@ -17,8 +15,8 @@ TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) HOSTCC:=gcc BASE_DIR:=${shell pwd} DL_DIR:=$(BASE_DIR)/dl -#PATCH_DIR=$(BASE_DIR)/sources/patches BUILD_DIR:=$(BASE_DIR)/build_$(ARCH)$(ARCH_FPU_SUFFIX) +PACKAGE_DIR:=$(BASE_DIR)/package TARGET_DIR:=$(BUILD_DIR)/root TOOL_BUILD_DIR=$(BASE_DIR)/toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX) # Strip off the annoying quoting @@ -32,6 +30,7 @@ KERNEL_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc- TARGET_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc- TARGET_CC=$(TARGET_CROSS)gcc STRIP=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note +PATCH=toolchain/patch-kernel.sh HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \