sparc: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45079 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
d771094a7f
commit
787ae50e41
|
@ -1,19 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2010-2013 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
ARCH:=sparc
|
|
||||||
BOARD:=sparc
|
|
||||||
BOARDNAME:=Sun UltraSPARC
|
|
||||||
FEATURES+=fpu tgz ext4 squashfs broken
|
|
||||||
|
|
||||||
KERNEL_PATCHVER:=3.10
|
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
|
||||||
|
|
||||||
$(eval $(call BuildTarget))
|
|
|
@ -1,200 +0,0 @@
|
||||||
CONFIG_64BIT=y
|
|
||||||
CONFIG_ARCH_DEFCONFIG="arch/sparc/configs/sparc64_defconfig"
|
|
||||||
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
|
|
||||||
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
|
|
||||||
CONFIG_ARCH_NO_VIRT_TO_BUS=y
|
|
||||||
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
|
|
||||||
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
|
|
||||||
CONFIG_ARCH_SPARSEMEM_ENABLE=y
|
|
||||||
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
|
|
||||||
CONFIG_ARCH_SUPPORTS_MSI=y
|
|
||||||
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
|
|
||||||
# CONFIG_ARPD is not set
|
|
||||||
CONFIG_ATA=y
|
|
||||||
CONFIG_AUDIT_ARCH=y
|
|
||||||
# CONFIG_BBC_I2C is not set
|
|
||||||
CONFIG_BCMA_POSSIBLE=y
|
|
||||||
CONFIG_BITS=64
|
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
|
||||||
CONFIG_BLK_DEV_SD=y
|
|
||||||
CONFIG_BLOCK_COMPAT=y
|
|
||||||
# CONFIG_BRIDGE is not set
|
|
||||||
CONFIG_CMDLINE="console=ttyS0 init=/etc/preinit"
|
|
||||||
CONFIG_CMDLINE_BOOL=y
|
|
||||||
CONFIG_COMPAT=y
|
|
||||||
CONFIG_COMPAT_BINFMT_ELF=y
|
|
||||||
CONFIG_COMPAT_BRK=y
|
|
||||||
CONFIG_COMPAT_NETLINK_MESSAGES=y
|
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
|
||||||
CONFIG_CPU_RMAP=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_DEBUG_BUGVERBOSE=y
|
|
||||||
# CONFIG_DEBUG_DCFLUSH is not set
|
|
||||||
CONFIG_DECOMPRESS_LZMA=y
|
|
||||||
# CONFIG_DISPLAY7SEG is not set
|
|
||||||
CONFIG_DNOTIFY=y
|
|
||||||
CONFIG_DUMMY_CONSOLE=y
|
|
||||||
CONFIG_EARLYFB=y
|
|
||||||
CONFIG_ELF_CORE=y
|
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
|
||||||
# CONFIG_ENVCTRL is not set
|
|
||||||
CONFIG_FB=y
|
|
||||||
# CONFIG_FB_GRVGA is not set
|
|
||||||
# CONFIG_FB_SBUS is not set
|
|
||||||
# CONFIG_FB_WMT_GE_ROPS is not set
|
|
||||||
# CONFIG_FB_XVR1000 is not set
|
|
||||||
# CONFIG_FB_XVR2500 is not set
|
|
||||||
# CONFIG_FB_XVR500 is not set
|
|
||||||
CONFIG_FIRMWARE_IN_KERNEL=y
|
|
||||||
# CONFIG_FONTS is not set
|
|
||||||
# CONFIG_FONT_SUN12x22 is not set
|
|
||||||
CONFIG_FONT_SUN8x16=y
|
|
||||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
||||||
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
|
||||||
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
|
|
||||||
CONFIG_FS_POSIX_ACL=y
|
|
||||||
CONFIG_GENERIC_ACL=y
|
|
||||||
CONFIG_GENERIC_CLOCKEVENTS=y
|
|
||||||
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
|
||||||
CONFIG_GENERIC_CMOS_UPDATE=y
|
|
||||||
CONFIG_GENERIC_IRQ_SHOW=y
|
|
||||||
CONFIG_GENERIC_PCI_IOMAP=y
|
|
||||||
# CONFIG_GRETH is not set
|
|
||||||
CONFIG_HAPPYMEAL=y
|
|
||||||
CONFIG_HAS_DMA=y
|
|
||||||
CONFIG_HAS_IOMEM=y
|
|
||||||
CONFIG_HAS_IOPORT=y
|
|
||||||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
|
||||||
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
|
||||||
CONFIG_HAVE_C_RECORDMCOUNT=y
|
|
||||||
CONFIG_HAVE_DMA_API_DEBUG=y
|
|
||||||
CONFIG_HAVE_DMA_ATTRS=y
|
|
||||||
CONFIG_HAVE_DYNAMIC_FTRACE=y
|
|
||||||
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
|
|
||||||
CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y
|
|
||||||
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
|
|
||||||
CONFIG_HAVE_FUNCTION_TRACER=y
|
|
||||||
CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
|
|
||||||
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
|
|
||||||
CONFIG_HAVE_GENERIC_HARDIRQS=y
|
|
||||||
CONFIG_HAVE_IDE=y
|
|
||||||
CONFIG_HAVE_IRQ_WORK=y
|
|
||||||
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
|
|
||||||
CONFIG_HAVE_MEMBLOCK=y
|
|
||||||
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
|
|
||||||
CONFIG_HAVE_MEMORY_PRESENT=y
|
|
||||||
CONFIG_HAVE_OPROFILE=y
|
|
||||||
CONFIG_HAVE_PERF_EVENTS=y
|
|
||||||
CONFIG_HAVE_RCU_TABLE_FREE=y
|
|
||||||
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
|
|
||||||
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
|
|
||||||
CONFIG_HAVE_SYSCALL_WRAPPERS=y
|
|
||||||
CONFIG_HID=m
|
|
||||||
CONFIG_HID_SUPPORT=y
|
|
||||||
# CONFIG_HUGETLBFS is not set
|
|
||||||
CONFIG_HW_CONSOLE=y
|
|
||||||
CONFIG_HZ=250
|
|
||||||
# CONFIG_HZ_100 is not set
|
|
||||||
CONFIG_HZ_250=y
|
|
||||||
CONFIG_INITRAMFS_SOURCE=""
|
|
||||||
CONFIG_INPUT=y
|
|
||||||
CONFIG_INPUT_EVDEV=y
|
|
||||||
CONFIG_INPUT_POLLDEV=y
|
|
||||||
# CONFIG_INPUT_SPARCSPKR is not set
|
|
||||||
CONFIG_IOMMU_HELPER=y
|
|
||||||
CONFIG_IRQ_PREFLOW_FASTEOI=y
|
|
||||||
# CONFIG_LEDS_SUNFIRE is not set
|
|
||||||
CONFIG_LEGACY_PTYS=y
|
|
||||||
CONFIG_LEGACY_PTY_COUNT=256
|
|
||||||
# CONFIG_MTD is not set
|
|
||||||
CONFIG_MUTEX_SPIN_ON_OWNER=y
|
|
||||||
CONFIG_NEED_DMA_MAP_STATE=y
|
|
||||||
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
|
|
||||||
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
|
|
||||||
CONFIG_NEED_SG_DMA_LENGTH=y
|
|
||||||
CONFIG_NR_CPUS=4
|
|
||||||
# CONFIG_NUMA is not set
|
|
||||||
# CONFIG_OBP_FLASH is not set
|
|
||||||
CONFIG_OF=y
|
|
||||||
CONFIG_OF_DEVICE=y
|
|
||||||
CONFIG_OF_NET=y
|
|
||||||
CONFIG_OF_PCI=y
|
|
||||||
CONFIG_OF_PROMTREE=y
|
|
||||||
CONFIG_PAGEFLAGS_EXTENDED=y
|
|
||||||
# CONFIG_PARTITION_ADVANCED is not set
|
|
||||||
CONFIG_PATA_CMD64X=y
|
|
||||||
CONFIG_PCI=y
|
|
||||||
CONFIG_PCI_DISABLE_COMMON_QUIRKS=y
|
|
||||||
CONFIG_PCI_DOMAINS=y
|
|
||||||
CONFIG_PERF_USE_VMALLOC=y
|
|
||||||
CONFIG_PHYS_ADDR_T_64BIT=y
|
|
||||||
# CONFIG_PREEMPT_RCU is not set
|
|
||||||
CONFIG_PROC_PAGE_MONITOR=y
|
|
||||||
CONFIG_RELAY=y
|
|
||||||
CONFIG_RFS_ACCEL=y
|
|
||||||
CONFIG_RPS=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
CONFIG_RTC_DRV_BQ4802=y
|
|
||||||
CONFIG_RTC_DRV_M48T59=y
|
|
||||||
CONFIG_RTC_DRV_STARFIRE=y
|
|
||||||
CONFIG_RTC_DRV_SUN4V=y
|
|
||||||
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
|
|
||||||
CONFIG_SATA_PMP=y
|
|
||||||
CONFIG_SBUS=y
|
|
||||||
CONFIG_SBUSCHAR=y
|
|
||||||
CONFIG_SCHED_HRTICK=y
|
|
||||||
CONFIG_SCSI=y
|
|
||||||
# CONFIG_SCSI_LOWLEVEL is not set
|
|
||||||
# CONFIG_SCSI_MULTI_LUN is not set
|
|
||||||
CONFIG_SECCOMP=y
|
|
||||||
CONFIG_SERIAL_8250_NR_UARTS=4
|
|
||||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
|
|
||||||
CONFIG_SERIAL_SUNCORE=y
|
|
||||||
# CONFIG_SERIAL_SUNHV is not set
|
|
||||||
CONFIG_SERIAL_SUNSAB=y
|
|
||||||
CONFIG_SERIAL_SUNSAB_CONSOLE=y
|
|
||||||
CONFIG_SERIAL_SUNSU=y
|
|
||||||
CONFIG_SERIAL_SUNSU_CONSOLE=y
|
|
||||||
# CONFIG_SERIAL_SUNZILOG is not set
|
|
||||||
# CONFIG_SLAB is not set
|
|
||||||
CONFIG_SLUB=y
|
|
||||||
CONFIG_SMP=y
|
|
||||||
CONFIG_SPARC=y
|
|
||||||
# CONFIG_SPARC32 is not set
|
|
||||||
CONFIG_SPARC64=y
|
|
||||||
# CONFIG_SPARC64_PAGE_SIZE_64KB is not set
|
|
||||||
CONFIG_SPARC64_PAGE_SIZE_8KB=y
|
|
||||||
CONFIG_SPARC64_PCI=y
|
|
||||||
CONFIG_SPARC64_SMP=y
|
|
||||||
CONFIG_SPARSEMEM=y
|
|
||||||
CONFIG_SPARSEMEM_EXTREME=y
|
|
||||||
CONFIG_SPARSEMEM_MANUAL=y
|
|
||||||
CONFIG_SPARSEMEM_VMEMMAP=y
|
|
||||||
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
|
|
||||||
CONFIG_STOP_MACHINE=y
|
|
||||||
# CONFIG_SUNBMAC is not set
|
|
||||||
# CONFIG_SUNLANCE is not set
|
|
||||||
# CONFIG_SUNQE is not set
|
|
||||||
# CONFIG_SUN_LDOMS is not set
|
|
||||||
CONFIG_SUN_OPENPROMFS=y
|
|
||||||
CONFIG_SUN_OPENPROMIO=y
|
|
||||||
CONFIG_SUN_PARTITION=y
|
|
||||||
CONFIG_SYSVIPC_COMPAT=y
|
|
||||||
# CONFIG_TADPOLE_TS102_UCTRL is not set
|
|
||||||
CONFIG_TMPFS_POSIX_ACL=y
|
|
||||||
CONFIG_TREE_RCU=y
|
|
||||||
CONFIG_UID16=y
|
|
||||||
# CONFIG_US3_MC is not set
|
|
||||||
CONFIG_USB_ARCH_HAS_XHCI=y
|
|
||||||
CONFIG_USB_SUPPORT=y
|
|
||||||
CONFIG_USE_GENERIC_SMP_HELPERS=y
|
|
||||||
# CONFIG_VLAN_8021Q is not set
|
|
||||||
CONFIG_VM_EVENT_COUNTERS=y
|
|
||||||
CONFIG_VT=y
|
|
||||||
CONFIG_VT_CONSOLE=y
|
|
||||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
|
||||||
# CONFIG_WATCHDOG is not set
|
|
||||||
CONFIG_XPS=y
|
|
||||||
CONFIG_XZ_DEC=y
|
|
||||||
CONFIG_ZONE_DMA_FLAG=0
|
|
|
@ -1,29 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2010 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
include $(INCLUDE_DIR)/image.mk
|
|
||||||
|
|
||||||
define Image/Prepare
|
|
||||||
cp $(LINUX_DIR)/arch/sparc/boot/zImage $(KDIR)/zImage
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/BuildKernel
|
|
||||||
mkdir -p $(BIN_DIR)
|
|
||||||
cp $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage
|
|
||||||
# cp $(KDIR)/vmlinux.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build/squashfs
|
|
||||||
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build
|
|
||||||
$(call Image/Build/$(1))
|
|
||||||
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-root.$(1) bs=128k conv=sync
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
|
Loading…
Reference in New Issue