menu "OpenWrt Package Selection"
menu "OpenWrt Package Selection"
-comment "The default set"
+comment "The absolute minimum"
+source "package/linux/Config.in"
source "package/busybox/Config.in"
source "package/busybox/Config.in"
+
+comment "The default set"
source "package/dnsmasq/Config.in"
source "package/dnsmasq/Config.in"
-source "package/linux/Config.in"
source "package/iptables/Config.in"
source "package/bridge/Config.in"
comment "Suggested Extras"
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/ebtables/Config.in"
+source "package/dropbear_sshd/Config.in"
-LINKSYS_TGZ_SITE=http://openwrt.openbsd-geek.de
-
MAKE1=make
MAKE=make -j$(BR2_JLEVEL)
MAKE1=make
MAKE=make -j$(BR2_JLEVEL)
HOSTCC:=gcc
BASE_DIR:=${shell pwd}
DL_DIR:=$(BASE_DIR)/dl
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)
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
TARGET_DIR:=$(BUILD_DIR)/root
TOOL_BUILD_DIR=$(BASE_DIR)/toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX)
# Strip off the annoying quoting
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
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'/-.*//' \
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \