X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=include%2Ftarget.mk;h=5b7bf9829e8cdebb76e45431fce1073645ad9ba5;hb=090f16f6fb1019af891be04e2da176f6feb65cc9;hp=be9f128cda2993f54aa84e6cf95f06d972fb912f;hpb=24e3507cbd45a17df8b6a63c96d53ecc1f6e7bac;p=openwrt-10.03%2F.git diff --git a/include/target.mk b/include/target.mk index be9f128cd..5b7bf9829 100644 --- a/include/target.mk +++ b/include/target.mk @@ -12,9 +12,11 @@ __target_inc=1 DEVICE_TYPE?=router # Default packages - the really basic set -DEFAULT_PACKAGES:=base-files libgcc uclibc busybox dropbear mtd uci +DEFAULT_PACKAGES:=base-files libgcc uclibc busybox dropbear mtd uci opkg # For router targets -DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper bridge +DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper bridge firewall +# LuCI +DEFAULT_PACKAGES.router+=luci-admin-full luci-i18n-english luci-app-firewall luci-sgi-cgi # Additional packages for Linux 2.6 ifneq ($(KERNEL),2.4) @@ -109,7 +111,7 @@ GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(shell [ -d "$(GENERIC_PLAT GENERIC_FILES_DIR := $(GENERIC_PLATFORM_DIR)/files$(shell [ -d "$(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) GENERIC_LINUX_CONFIG?=$(firstword $(wildcard $(GENERIC_PLATFORM_DIR)/config-$(KERNEL_PATCHVER) $(GENERIC_PLATFORM_DIR)/config-default)) -LINUX_CONFIG?=$(firstword $(wildcard $(foreach subdir,$(PLATFORM_DIR) $(PLATFORM_SUBDIR),$(subdir)/config-$(KERNEL_PATCHVER) $(subdir)/config-default))) +LINUX_CONFIG?=$(firstword $(wildcard $(foreach subdir,$(PLATFORM_DIR) $(PLATFORM_SUBDIR),$(subdir)/config-$(KERNEL_PATCHVER) $(subdir)/config-default)) $(PLATFORM_DIR)/config-$(KERNEL_PATCHVER)) LINUX_SUBCONFIG?=$(firstword $(wildcard $(PLATFORM_SUBDIR)/config-$(KERNEL_PATCHVER) $(PLATFORM_SUBDIR)/config-default)) ifeq ($(LINUX_CONFIG),$(LINUX_SUBCONFIG)) LINUX_SUBCONFIG:= @@ -133,7 +135,7 @@ ifeq ($(DUMP),1) ifneq ($(CONFIG_PCI),) FEATURES += pci endif - ifneq ($(CONFIG_USB),) + ifneq ($(CONFIG_USB)$(CONFIG_USB_SUPPORT),) FEATURES += usb endif ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)