X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e5c7dd93ee1010d8991b1bc152b7e9a9376e48b7..43bb8183eb10d86dffd1f9413b8db1a3ea5de0a3:/include/target.mk diff --git a/include/target.mk b/include/target.mk index a554386cd..7facaeed8 100644 --- a/include/target.mk +++ b/include/target.mk @@ -12,7 +12,7 @@ __target_inc=1 DEVICE_TYPE?=router # Default packages - the really basic set -DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg +DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg ucitrigger # For router targets DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall DEFAULT_PACKAGES.bootloader:= @@ -120,8 +120,8 @@ ifeq ($(LINUX_CONFIG),$(LINUX_SUBCONFIG)) LINUX_SUBCONFIG:= endif LINUX_CONFCMD=$(if $(LINUX_CONFIG), \ - $(if $(GENERIC_LINUX_CONFIG),,$(error The generic kernel config for your kernel version is mising)) \ - $(if $(LINUX_CONFIG),,$(error The target kernel config for your kernel version is mising)) \ + $(if $(GENERIC_LINUX_CONFIG),,$(error The generic kernel config for your kernel version is missing)) \ + $(if $(LINUX_CONFIG),,$(error The target kernel config for your kernel version is missing)) \ $(SCRIPT_DIR)/kconfig.pl \ + $(GENERIC_LINUX_CONFIG) \ $(if $(LINUX_SUBCONFIG),+ $(LINUX_CONFIG) $(LINUX_SUBCONFIG),$(LINUX_CONFIG)), \ @@ -144,6 +144,9 @@ ifeq ($(DUMP),1) ifneq ($(CONFIG_PCI),) FEATURES += pci endif + ifneq ($(CONFIG_PCIEPORTBUS),) + FEATURES += pcie + endif ifneq ($(CONFIG_USB)$(CONFIG_USB_SUPPORT),) FEATURES += usb endif @@ -159,6 +162,7 @@ ifeq ($(DUMP),1) endif DEFAULT_CFLAGS_i386=-O2 -pipe -march=i486 -funit-at-a-time DEFAULT_CFLAGS_x86_64=-O2 -pipe -march=athlon64 -funit-at-a-time + DEFAULT_CFLAGS_m68k=-Os -pipe -mcfv4e -funit-at-a-time DEFAULT_CFLAGS_mips=-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time DEFAULT_CFLAGS_mipsel=$(DEFAULT_CFLAGS_mips) DEFAULT_CFLAGS_mips64=-Os -pipe -mips64 -mtune=mips64 -mabi=64 -funit-at-a-time