Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
commit
7403ea730d
|
@ -6,7 +6,6 @@ BR2_HAVE_DOT_CONFIG=y
|
||||||
# BR2_alpha is not set
|
# BR2_alpha is not set
|
||||||
# BR2_arm is not set
|
# BR2_arm is not set
|
||||||
# BR2_armeb is not set
|
# BR2_armeb is not set
|
||||||
# BR2_avr32 is not set
|
|
||||||
# BR2_cris is not set
|
# BR2_cris is not set
|
||||||
# BR2_ia64 is not set
|
# BR2_ia64 is not set
|
||||||
BR2_i386=y
|
BR2_i386=y
|
||||||
|
|
|
@ -53,21 +53,6 @@ config BR2_aarch64
|
||||||
http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
|
http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
|
||||||
http://en.wikipedia.org/wiki/ARM
|
http://en.wikipedia.org/wiki/ARM
|
||||||
|
|
||||||
config BR2_avr32
|
|
||||||
bool "AVR32"
|
|
||||||
select BR2_SOFT_FLOAT
|
|
||||||
# This architecture is obsolete and complicated to maintain to
|
|
||||||
# do the lack of upstream support in the major toolchain
|
|
||||||
# components. If you're interested by AVR32, contact the
|
|
||||||
# Buildroot community. Otherwise, its support will be removed
|
|
||||||
# by the 2015.02 release.
|
|
||||||
depends on BR2_DEPRECATED_SINCE_2014_08
|
|
||||||
help
|
|
||||||
The AVR32 is a 32-bit RISC microprocessor architecture designed by
|
|
||||||
Atmel.
|
|
||||||
http://www.atmel.com/
|
|
||||||
http://en.wikipedia.org/wiki/Avr32
|
|
||||||
|
|
||||||
config BR2_bfin
|
config BR2_bfin
|
||||||
bool "Blackfin"
|
bool "Blackfin"
|
||||||
help
|
help
|
||||||
|
@ -328,10 +313,6 @@ if BR2_aarch64
|
||||||
source "arch/Config.in.aarch64"
|
source "arch/Config.in.aarch64"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if BR2_avr32
|
|
||||||
source "arch/Config.in.avr32"
|
|
||||||
endif
|
|
||||||
|
|
||||||
if BR2_bfin
|
if BR2_bfin
|
||||||
source "arch/Config.in.bfin"
|
source "arch/Config.in.bfin"
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
config BR2_ARCH
|
|
||||||
default "avr32"
|
|
||||||
|
|
||||||
config BR2_ENDIAN
|
|
||||||
default "BIG"
|
|
||||||
|
|
||||||
config BR2_GCC_TARGET_ARCH
|
|
||||||
default "ap"
|
|
||||||
|
|
||||||
config BR2_ARCH_HAS_ATOMICS
|
|
||||||
default y
|
|
|
@ -17,14 +17,11 @@ CONFIG_MODULE_UNLOAD=y
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
# CONFIG_IOSCHED_CFQ is not set
|
||||||
# CONFIG_ARCH_MULTI_V7 is not set
|
# CONFIG_ARCH_MULTI_V7 is not set
|
||||||
CONFIG_ARCH_MXC=y
|
CONFIG_ARCH_MXC=y
|
||||||
CONFIG_MXC_IRQ_PRIOR=y
|
|
||||||
CONFIG_MACH_IMX27_DT=y
|
CONFIG_MACH_IMX27_DT=y
|
||||||
CONFIG_PREEMPT=y
|
CONFIG_PREEMPT=y
|
||||||
CONFIG_AEABI=y
|
CONFIG_AEABI=y
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_FPE_NWFPE_XP=y
|
|
||||||
CONFIG_PM_DEBUG=y
|
CONFIG_PM_DEBUG=y
|
||||||
CONFIG_NET=y
|
CONFIG_NET=y
|
||||||
CONFIG_PACKET=y
|
CONFIG_PACKET=y
|
||||||
|
@ -40,8 +37,6 @@ CONFIG_IP_PNP_DHCP=y
|
||||||
# CONFIG_INET_DIAG is not set
|
# CONFIG_INET_DIAG is not set
|
||||||
CONFIG_IPV6=y
|
CONFIG_IPV6=y
|
||||||
CONFIG_CAN=m
|
CONFIG_CAN=m
|
||||||
CONFIG_CAN_RAW=m
|
|
||||||
CONFIG_CAN_BCM=m
|
|
||||||
CONFIG_CAN_VCAN=m
|
CONFIG_CAN_VCAN=m
|
||||||
CONFIG_CAN_MCP251X=m
|
CONFIG_CAN_MCP251X=m
|
||||||
CONFIG_BT=m
|
CONFIG_BT=m
|
||||||
|
@ -60,7 +55,6 @@ CONFIG_DEVTMPFS=y
|
||||||
CONFIG_DEVTMPFS_MOUNT=y
|
CONFIG_DEVTMPFS_MOUNT=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
CONFIG_MTD_CMDLINE_PARTS=y
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
CONFIG_MTD_BLOCK=y
|
||||||
CONFIG_MTD_CFI=y
|
CONFIG_MTD_CFI=y
|
||||||
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
||||||
|
@ -72,13 +66,11 @@ CONFIG_MTD_PHYSMAP=y
|
||||||
CONFIG_MTD_NAND=y
|
CONFIG_MTD_NAND=y
|
||||||
CONFIG_MTD_NAND_MXC=y
|
CONFIG_MTD_NAND_MXC=y
|
||||||
CONFIG_MTD_UBI=y
|
CONFIG_MTD_UBI=y
|
||||||
CONFIG_PROC_DEVICETREE=y
|
|
||||||
CONFIG_EEPROM_AT24=y
|
CONFIG_EEPROM_AT24=y
|
||||||
CONFIG_EEPROM_AT25=y
|
CONFIG_EEPROM_AT25=y
|
||||||
CONFIG_SCSI=y
|
CONFIG_SCSI=y
|
||||||
CONFIG_BLK_DEV_SD=y
|
CONFIG_BLK_DEV_SD=y
|
||||||
CONFIG_NETDEVICES=y
|
CONFIG_NETDEVICES=y
|
||||||
CONFIG_MII=y
|
|
||||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||||
# CONFIG_NET_VENDOR_CIRRUS is not set
|
# CONFIG_NET_VENDOR_CIRRUS is not set
|
||||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||||
|
@ -144,8 +136,6 @@ CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||||
# CONFIG_LCD_CLASS_DEVICE is not set
|
# CONFIG_LCD_CLASS_DEVICE is not set
|
||||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||||
CONFIG_FONTS=y
|
|
||||||
CONFIG_FONT_8x8=y
|
|
||||||
CONFIG_LOGO=y
|
CONFIG_LOGO=y
|
||||||
# CONFIG_LOGO_LINUX_MONO is not set
|
# CONFIG_LOGO_LINUX_MONO is not set
|
||||||
# CONFIG_LOGO_LINUX_VGA16 is not set
|
# CONFIG_LOGO_LINUX_VGA16 is not set
|
||||||
|
@ -162,21 +152,21 @@ CONFIG_SND_IMX_SOC=m
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
CONFIG_USB_EHCI_HCD=y
|
CONFIG_USB_EHCI_HCD=y
|
||||||
CONFIG_USB_EHCI_MXC=y
|
CONFIG_USB_EHCI_MXC=y
|
||||||
CONFIG_USB_CHIPIDEA=y
|
|
||||||
CONFIG_USB_CHIPIDEA_HOST=y
|
|
||||||
CONFIG_USB_CHIPIDEA_DEBUG=y
|
|
||||||
CONFIG_USB_ACM=y
|
CONFIG_USB_ACM=y
|
||||||
CONFIG_USB_PRINTER=y
|
CONFIG_USB_PRINTER=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
|
CONFIG_USB_CHIPIDEA=y
|
||||||
|
CONFIG_USB_CHIPIDEA_HOST=y
|
||||||
|
CONFIG_USB_CHIPIDEA_DEBUG=y
|
||||||
CONFIG_USB_SERIAL=y
|
CONFIG_USB_SERIAL=y
|
||||||
CONFIG_USB_SERIAL_FTDI_SIO=y
|
CONFIG_USB_SERIAL_FTDI_SIO=y
|
||||||
CONFIG_USB_SERIAL_PL2303=y
|
CONFIG_USB_SERIAL_PL2303=y
|
||||||
|
CONFIG_USB_ULPI=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_ETH=m
|
CONFIG_USB_ETH=m
|
||||||
CONFIG_USB_GADGETFS=m
|
CONFIG_USB_GADGETFS=m
|
||||||
CONFIG_USB_MASS_STORAGE=m
|
CONFIG_USB_MASS_STORAGE=m
|
||||||
CONFIG_USB_G_HID=m
|
CONFIG_USB_G_HID=m
|
||||||
CONFIG_USB_ULPI=y
|
|
||||||
CONFIG_MMC=y
|
CONFIG_MMC=y
|
||||||
CONFIG_MMC_MXC=y
|
CONFIG_MMC_MXC=y
|
||||||
CONFIG_NEW_LEDS=y
|
CONFIG_NEW_LEDS=y
|
||||||
|
@ -198,7 +188,9 @@ CONFIG_DMADEVICES=y
|
||||||
CONFIG_IMX_SDMA=y
|
CONFIG_IMX_SDMA=y
|
||||||
CONFIG_IMX_DMA=y
|
CONFIG_IMX_DMA=y
|
||||||
# CONFIG_IOMMU_SUPPORT is not set
|
# CONFIG_IOMMU_SUPPORT is not set
|
||||||
CONFIG_IIO=m
|
CONFIG_IIO=y
|
||||||
|
CONFIG_MAX1027=y
|
||||||
|
CONFIG_MAX5821=y
|
||||||
CONFIG_PWM=y
|
CONFIG_PWM=y
|
||||||
CONFIG_PWM_IMX=y
|
CONFIG_PWM_IMX=y
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT2_FS=y
|
||||||
|
@ -220,11 +212,13 @@ CONFIG_NLS_CODEPAGE_850=y
|
||||||
CONFIG_NLS_ISO8859_1=y
|
CONFIG_NLS_ISO8859_1=y
|
||||||
CONFIG_NLS_ISO8859_15=m
|
CONFIG_NLS_ISO8859_15=m
|
||||||
CONFIG_PRINTK_TIME=y
|
CONFIG_PRINTK_TIME=y
|
||||||
|
CONFIG_DEBUG_INFO=y
|
||||||
CONFIG_DEBUG_FS=y
|
CONFIG_DEBUG_FS=y
|
||||||
# CONFIG_SCHED_DEBUG is not set
|
# CONFIG_SCHED_DEBUG is not set
|
||||||
# CONFIG_DEBUG_PREEMPT is not set
|
# CONFIG_DEBUG_PREEMPT is not set
|
||||||
CONFIG_DEBUG_INFO=y
|
|
||||||
# CONFIG_FTRACE is not set
|
# CONFIG_FTRACE is not set
|
||||||
CONFIG_DEBUG_LL=y
|
CONFIG_DEBUG_LL=y
|
||||||
CONFIG_EARLY_PRINTK=y
|
CONFIG_EARLY_PRINTK=y
|
||||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||||
|
CONFIG_FONTS=y
|
||||||
|
CONFIG_FONT_8x8=y
|
|
@ -1,9 +1,14 @@
|
||||||
RaspberryPi
|
Raspberry Pi
|
||||||
|
|
||||||
Intro
|
Intro
|
||||||
=====
|
=====
|
||||||
|
|
||||||
To be able to use your RaspberryPi board with the images generated by
|
These instructions apply to all models of the Raspberry Pi:
|
||||||
|
- the original models A and B,
|
||||||
|
- the "enhanced" models A+ and B+,
|
||||||
|
- the model B2 (aka Raspberry Pi 2).
|
||||||
|
|
||||||
|
To be able to use your Raspberry Pi board with the images generated by
|
||||||
Buildroot, you have to choose whether you will use:
|
Buildroot, you have to choose whether you will use:
|
||||||
|
|
||||||
* Volatile rootfs in RAM (the rootfs is an initramfs) or
|
* Volatile rootfs in RAM (the rootfs is an initramfs) or
|
||||||
|
@ -96,7 +101,7 @@ Mount the partitions (adjust 'sdX' to match your SDcard device):
|
||||||
Install the binaries to the SDCard
|
Install the binaries to the SDCard
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
At the root of the boot partition, the RaspberryPi must find the following
|
At the root of the boot partition, the Raspberry Pi must find the following
|
||||||
files:
|
files:
|
||||||
|
|
||||||
* bcm2708-rpi-b.dtb [2]
|
* bcm2708-rpi-b.dtb [2]
|
||||||
|
|
1
board/raspberrypi2
Symbolic link
1
board/raspberrypi2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
raspberrypi
|
|
@ -49,21 +49,18 @@ endif
|
||||||
|
|
||||||
BAREBOX_MAKE_FLAGS = ARCH=$(BAREBOX_ARCH) CROSS_COMPILE="$(CCACHE) \
|
BAREBOX_MAKE_FLAGS = ARCH=$(BAREBOX_ARCH) CROSS_COMPILE="$(CCACHE) \
|
||||||
$(TARGET_CROSS)"
|
$(TARGET_CROSS)"
|
||||||
|
BAREBOX_MAKE_ENV = $(TARGET_MAKE_ENV)
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_BAREBOX_USE_DEFCONFIG),y)
|
ifeq ($(BR2_TARGET_BAREBOX_USE_DEFCONFIG),y)
|
||||||
BAREBOX_SOURCE_CONFIG = $(@D)/arch/$(BAREBOX_ARCH)/configs/$(call qstrip,\
|
BAREBOX_SOURCE_CONFIG = $(BAREBOX_DIR)/arch/$(BAREBOX_ARCH)/configs/$(call qstrip,\
|
||||||
$(BR2_TARGET_BAREBOX_BOARD_DEFCONFIG))_defconfig
|
$(BR2_TARGET_BAREBOX_BOARD_DEFCONFIG))_defconfig
|
||||||
else ifeq ($(BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG),y)
|
else ifeq ($(BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG),y)
|
||||||
BAREBOX_SOURCE_CONFIG = $(BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE)
|
BAREBOX_SOURCE_CONFIG = $(call qstrip,$(BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define BAREBOX_CONFIGURE_CMDS
|
BAREBOX_KCONFIG_FILE = $(BAREBOX_SOURCE_CONFIG)
|
||||||
cp $(BAREBOX_SOURCE_CONFIG) \
|
BAREBOX_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
|
||||||
$(@D)/arch/$(BAREBOX_ARCH)/configs/buildroot_defconfig
|
BAREBOX_KCONFIG_OPTS = $(BAREBOX_MAKE_FLAGS)
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) \
|
|
||||||
buildroot_defconfig
|
|
||||||
endef
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_BAREBOX_BAREBOXENV),y)
|
ifeq ($(BR2_TARGET_BAREBOX_BAREBOXENV),y)
|
||||||
define BAREBOX_BUILD_BAREBOXENV_CMDS
|
define BAREBOX_BUILD_BAREBOXENV_CMDS
|
||||||
|
@ -106,7 +103,7 @@ define BAREBOX_INSTALL_TARGET_CMDS
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(kconfig-package))
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_BAREBOX),y)
|
ifeq ($(BR2_TARGET_BAREBOX),y)
|
||||||
# we NEED a board defconfig file unless we're at make source
|
# we NEED a board defconfig file unless we're at make source
|
||||||
|
@ -115,24 +112,4 @@ ifeq ($(BAREBOX_SOURCE_CONFIG),)
|
||||||
$(error No Barebox config file. Check your BR2_TARGET_BAREBOX_BOARD_DEFCONFIG or BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE settings)
|
$(error No Barebox config file. Check your BR2_TARGET_BAREBOX_BOARD_DEFCONFIG or BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE settings)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
barebox-menuconfig barebox-xconfig barebox-gconfig barebox-nconfig: barebox-configure
|
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \
|
|
||||||
$(subst barebox-,,$@)
|
|
||||||
rm -f $(BAREBOX_DIR)/.stamp_{built,target_installed,images_installed}
|
|
||||||
|
|
||||||
barebox-savedefconfig: barebox-configure
|
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \
|
|
||||||
$(subst barebox-,,$@)
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG),y)
|
|
||||||
barebox-update-config: barebox-configure $(BAREBOX_DIR)/.config
|
|
||||||
cp -f $(BAREBOX_DIR)/.config $(BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE)
|
|
||||||
|
|
||||||
barebox-update-defconfig: barebox-savedefconfig
|
|
||||||
cp -f $(BAREBOX_DIR)/defconfig $(BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE)
|
|
||||||
else
|
|
||||||
barebox-update-config: ;
|
|
||||||
barebox-update-defconfig: ;
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -4,8 +4,8 @@ BR2_arm926t=y
|
||||||
|
|
||||||
# Lock down headers to avoid breaking with new defaults
|
# Lock down headers to avoid breaking with new defaults
|
||||||
BR2_KERNEL_HEADERS_VERSION=y
|
BR2_KERNEL_HEADERS_VERSION=y
|
||||||
BR2_DEFAULT_KERNEL_VERSION="3.13.2"
|
BR2_DEFAULT_KERNEL_VERSION="3.18.6"
|
||||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
|
||||||
|
|
||||||
# System
|
# System
|
||||||
BR2_TARGET_GENERIC_HOSTNAME="apf27"
|
BR2_TARGET_GENERIC_HOSTNAME="apf27"
|
||||||
|
@ -21,9 +21,9 @@ BR2_TARGET_ROOTFS_UBI=y
|
||||||
# Kernel
|
# Kernel
|
||||||
BR2_LINUX_KERNEL=y
|
BR2_LINUX_KERNEL=y
|
||||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.13.2"
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.18.6"
|
||||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf27/linux-3.13.config"
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf27/linux-3.18.config"
|
||||||
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xA0008000"
|
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xA0008000"
|
||||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx27-apf27dev"
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx27-apf27dev"
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
# AVR32 is deprecated
|
|
||||||
BR2_DEPRECATED=y
|
|
||||||
|
|
||||||
# Architecture
|
|
||||||
BR2_avr32=y
|
|
||||||
|
|
||||||
# Lock down kernel headers version, to match the kernel version used
|
|
||||||
# below.
|
|
||||||
BR2_KERNEL_HEADERS_VERSION=y
|
|
||||||
BR2_DEFAULT_KERNEL_VERSION="3.9.11"
|
|
||||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9=y
|
|
||||||
|
|
||||||
# Filesystems
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_FLASH_128=y
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_PAGESIZE=0x1000
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_EBSIZE=0x20000
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_BE=y
|
|
||||||
BR2_TARGET_ROOTFS_TAR=y
|
|
||||||
BR2_TARGET_ROOTFS_TAR_NONE=y
|
|
||||||
|
|
||||||
# Bootloader
|
|
||||||
BR2_TARGET_UBOOT=y
|
|
||||||
BR2_TARGET_UBOOT_BOARDNAME="atngw100"
|
|
||||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
||||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2010.09"
|
|
||||||
|
|
||||||
# Kernel. Locked to 3.9.x, because 3.10.x fails to build with
|
|
||||||
# relocation truncated to fit: R_AVR32_16N_PCREL against symbol
|
|
||||||
# `_ctype'
|
|
||||||
BR2_LINUX_KERNEL=y
|
|
||||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
||||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.11"
|
|
||||||
BR2_LINUX_KERNEL_DEFCONFIG="atngw100"
|
|
|
@ -1,26 +0,0 @@
|
||||||
# AVR32 is deprecated
|
|
||||||
BR2_DEPRECATED=y
|
|
||||||
|
|
||||||
# Architecture
|
|
||||||
BR2_avr32=y
|
|
||||||
|
|
||||||
# Lock to same version as kernel
|
|
||||||
BR2_KERNEL_HEADERS_VERSION=y
|
|
||||||
BR2_DEFAULT_KERNEL_VERSION="3.9.11"
|
|
||||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9=y
|
|
||||||
|
|
||||||
# U-Boot
|
|
||||||
BR2_TARGET_UBOOT=y
|
|
||||||
BR2_TARGET_UBOOT_BOARDNAME="atstk1002"
|
|
||||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
||||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2010.09"
|
|
||||||
|
|
||||||
# Kernel
|
|
||||||
BR2_LINUX_KERNEL=y
|
|
||||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
||||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.11"
|
|
||||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
|
||||||
BR2_LINUX_KERNEL_DEFCONFIG="atstk1002"
|
|
||||||
|
|
||||||
# Filesystem
|
|
||||||
BR2_TARGET_ROOTFS_TAR=y
|
|
25
configs/raspberrypi2_defconfig
Normal file
25
configs/raspberrypi2_defconfig
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
BR2_arm=y
|
||||||
|
BR2_cortex_a7=y
|
||||||
|
BR2_ARM_EABIHF=y
|
||||||
|
BR2_ARM_FPU_NEON_VFPV4=y
|
||||||
|
|
||||||
|
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
|
||||||
|
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||||
|
|
||||||
|
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
|
||||||
|
|
||||||
|
# Lock to 3.19 headers as the RPi2 kernel is based off the 3.19 branch
|
||||||
|
BR2_KERNEL_HEADERS_VERSION=y
|
||||||
|
BR2_DEFAULT_KERNEL_VERSION="3.19"
|
||||||
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=y
|
||||||
|
|
||||||
|
BR2_LINUX_KERNEL=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="23c76b7f608e51258c6fca02aebeb5d588583149"
|
||||||
|
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
|
||||||
|
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||||
|
|
||||||
|
# Install the DTB files, as the RPi2 uses the Device Tree
|
||||||
|
BR2_PACKAGE_RPI_FIRMWARE=y
|
||||||
|
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
|
|
@ -7,7 +7,7 @@
|
||||||
TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS))
|
TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS))
|
||||||
|
|
||||||
define ROOTFS_TAR_CMD
|
define ROOTFS_TAR_CMD
|
||||||
tar -c$(TAR_OPTS)f $@ -C $(TARGET_DIR) .
|
tar -c$(TAR_OPTS)f $@ --numeric-owner -C $(TARGET_DIR) .
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call ROOTFS_TARGET,tar))
|
$(eval $(call ROOTFS_TARGET,tar))
|
||||||
|
|
|
@ -21,7 +21,7 @@ choice
|
||||||
prompt "Kernel version"
|
prompt "Kernel version"
|
||||||
|
|
||||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||||
bool "3.18.6"
|
bool "3.19"
|
||||||
|
|
||||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||||
bool "Same as toolchain kernel headers"
|
bool "Same as toolchain kernel headers"
|
||||||
|
@ -109,7 +109,7 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH
|
||||||
|
|
||||||
config BR2_LINUX_KERNEL_VERSION
|
config BR2_LINUX_KERNEL_VERSION
|
||||||
string
|
string
|
||||||
default "3.18.6" if BR2_LINUX_KERNEL_LATEST_VERSION
|
default "3.19" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||||
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||||
|
@ -174,7 +174,7 @@ choice
|
||||||
config BR2_LINUX_KERNEL_UIMAGE
|
config BR2_LINUX_KERNEL_UIMAGE
|
||||||
bool "uImage"
|
bool "uImage"
|
||||||
depends on BR2_arc || BR2_arm || BR2_armeb || BR2_bfin || \
|
depends on BR2_arc || BR2_arm || BR2_armeb || BR2_bfin || \
|
||||||
BR2_powerpc || BR2_avr32 || BR2_sh || BR2_sh64 || \
|
BR2_powerpc || BR2_sh || BR2_sh64 || \
|
||||||
BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||||
select BR2_LINUX_KERNEL_UBOOT_IMAGE
|
select BR2_LINUX_KERNEL_UBOOT_IMAGE
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,10 @@ LINUX_MAKE_FLAGS = \
|
||||||
CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
|
CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
|
||||||
DEPMOD=$(HOST_DIR)/sbin/depmod
|
DEPMOD=$(HOST_DIR)/sbin/depmod
|
||||||
|
|
||||||
|
LINUX_MAKE_ENV = \
|
||||||
|
$(TARGET_MAKE_ENV) \
|
||||||
|
BR_BINARIES_DIR=$(BINARIES_DIR)
|
||||||
|
|
||||||
# Get the real Linux version, which tells us where kernel modules are
|
# Get the real Linux version, which tells us where kernel modules are
|
||||||
# going to be installed in the target filesystem.
|
# going to be installed in the target filesystem.
|
||||||
LINUX_VERSION_PROBED = $(shell $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelrelease)
|
LINUX_VERSION_PROBED = $(shell $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelrelease)
|
||||||
|
@ -139,11 +143,7 @@ LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
|
||||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
|
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
|
||||||
LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
|
LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
|
||||||
else
|
else
|
||||||
ifeq ($(KERNEL_ARCH),avr32)
|
|
||||||
LINUX_IMAGE_PATH = $(KERNEL_ARCH_PATH)/boot/images/$(LINUX_IMAGE_NAME)
|
|
||||||
else
|
|
||||||
LINUX_IMAGE_PATH = $(KERNEL_ARCH_PATH)/boot/$(LINUX_IMAGE_NAME)
|
LINUX_IMAGE_PATH = $(KERNEL_ARCH_PATH)/boot/$(LINUX_IMAGE_NAME)
|
||||||
endif
|
|
||||||
endif # BR2_LINUX_KERNEL_VMLINUX
|
endif # BR2_LINUX_KERNEL_VMLINUX
|
||||||
|
|
||||||
define LINUX_DOWNLOAD_PATCHES
|
define LINUX_DOWNLOAD_PATCHES
|
||||||
|
@ -173,13 +173,14 @@ LINUX_POST_PATCH_HOOKS += LINUX_APPLY_PATCHES
|
||||||
ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
|
ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
|
||||||
KERNEL_SOURCE_CONFIG = $(KERNEL_ARCH_PATH)/configs/$(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig
|
KERNEL_SOURCE_CONFIG = $(KERNEL_ARCH_PATH)/configs/$(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig
|
||||||
else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
|
else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
|
||||||
KERNEL_SOURCE_CONFIG = $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)
|
KERNEL_SOURCE_CONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define LINUX_CONFIGURE_CMDS
|
LINUX_KCONFIG_FILE = $(KERNEL_SOURCE_CONFIG)
|
||||||
$(INSTALL) -m 0644 $(KERNEL_SOURCE_CONFIG) $(KERNEL_ARCH_PATH)/configs/buildroot_defconfig
|
LINUX_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
|
||||||
$(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) buildroot_defconfig
|
LINUX_KCONFIG_OPTS = $(LINUX_MAKE_FLAGS)
|
||||||
rm $(KERNEL_ARCH_PATH)/configs/buildroot_defconfig
|
|
||||||
|
define LINUX_KCONFIG_FIXUP_CMDS
|
||||||
$(if $(BR2_arm)$(BR2_armeb),
|
$(if $(BR2_arm)$(BR2_armeb),
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_AEABI,$(@D)/.config))
|
$(call KCONFIG_ENABLE_OPT,CONFIG_AEABI,$(@D)/.config))
|
||||||
$(if $(BR2_TARGET_ROOTFS_CPIO),
|
$(if $(BR2_TARGET_ROOTFS_CPIO),
|
||||||
|
@ -190,7 +191,7 @@ define LINUX_CONFIGURE_CMDS
|
||||||
# rebuilt using the linux-rebuild-with-initramfs target.
|
# rebuilt using the linux-rebuild-with-initramfs target.
|
||||||
$(if $(BR2_TARGET_ROOTFS_INITRAMFS),
|
$(if $(BR2_TARGET_ROOTFS_INITRAMFS),
|
||||||
touch $(BINARIES_DIR)/rootfs.cpio
|
touch $(BINARIES_DIR)/rootfs.cpio
|
||||||
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,"$(BINARIES_DIR)/rootfs.cpio",$(@D)/.config)
|
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,"$${BR_BINARIES_DIR}/rootfs.cpio",$(@D)/.config)
|
||||||
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_UID,0,$(@D)/.config)
|
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_UID,0,$(@D)/.config)
|
||||||
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_GID,0,$(@D)/.config))
|
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_GID,0,$(@D)/.config))
|
||||||
$(if $(BR2_ROOTFS_DEVICE_CREATION_STATIC),,
|
$(if $(BR2_ROOTFS_DEVICE_CREATION_STATIC),,
|
||||||
|
@ -224,13 +225,12 @@ define LINUX_CONFIGURE_CMDS
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK,$(@D)/.config))
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK,$(@D)/.config))
|
||||||
$(if $(BR2_LINUX_KERNEL_APPENDED_DTB),
|
$(if $(BR2_LINUX_KERNEL_APPENDED_DTB),
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB,$(@D)/.config))
|
$(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB,$(@D)/.config))
|
||||||
yes '' | $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) oldconfig
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT),y)
|
ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT),y)
|
||||||
ifeq ($(BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT),)
|
ifeq ($(BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT),)
|
||||||
define LINUX_BUILD_DTB
|
define LINUX_BUILD_DTB
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(KERNEL_DTBS)
|
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(KERNEL_DTBS)
|
||||||
endef
|
endef
|
||||||
define LINUX_INSTALL_DTB
|
define LINUX_INSTALL_DTB
|
||||||
# dtbs moved from arch/<ARCH>/boot to arch/<ARCH>/boot/dts since 3.8-rc1
|
# dtbs moved from arch/<ARCH>/boot to arch/<ARCH>/boot/dts since 3.8-rc1
|
||||||
|
@ -277,9 +277,9 @@ endif
|
||||||
define LINUX_BUILD_CMDS
|
define LINUX_BUILD_CMDS
|
||||||
$(if $(BR2_LINUX_KERNEL_USE_CUSTOM_DTS),
|
$(if $(BR2_LINUX_KERNEL_USE_CUSTOM_DTS),
|
||||||
cp $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_PATH)) $(KERNEL_ARCH_PATH)/boot/dts/)
|
cp $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_PATH)) $(KERNEL_ARCH_PATH)/boot/dts/)
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME)
|
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME)
|
||||||
@if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
|
@if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) modules ; \
|
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) modules ; \
|
||||||
fi
|
fi
|
||||||
$(LINUX_BUILD_DTB)
|
$(LINUX_BUILD_DTB)
|
||||||
$(LINUX_APPEND_DTB)
|
$(LINUX_APPEND_DTB)
|
||||||
|
@ -312,7 +312,7 @@ define LINUX_INSTALL_TARGET_CMDS
|
||||||
# Install modules and remove symbolic links pointing to build
|
# Install modules and remove symbolic links pointing to build
|
||||||
# directories, not relevant on the target
|
# directories, not relevant on the target
|
||||||
@if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
|
@if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
|
||||||
$(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) modules_install; \
|
$(LINUX_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) modules_install; \
|
||||||
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/build ; \
|
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/build ; \
|
||||||
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/source ; \
|
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/source ; \
|
||||||
fi
|
fi
|
||||||
|
@ -321,36 +321,14 @@ endef
|
||||||
|
|
||||||
include $(sort $(wildcard linux/linux-ext-*.mk))
|
include $(sort $(wildcard linux/linux-ext-*.mk))
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(kconfig-package))
|
||||||
|
|
||||||
ifeq ($(BR2_LINUX_KERNEL),y)
|
|
||||||
linux-menuconfig linux-xconfig linux-gconfig linux-nconfig: linux-configure
|
|
||||||
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \
|
|
||||||
$(subst linux-,,$@)
|
|
||||||
rm -f $(LINUX_DIR)/.stamp_{built,target_installed,images_installed}
|
|
||||||
|
|
||||||
linux-savedefconfig: linux-configure
|
|
||||||
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \
|
|
||||||
$(subst linux-,,$@)
|
|
||||||
|
|
||||||
ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
|
|
||||||
linux-update-config: linux-configure $(LINUX_DIR)/.config
|
|
||||||
cp -f $(LINUX_DIR)/.config $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)
|
|
||||||
|
|
||||||
linux-update-defconfig: linux-savedefconfig
|
|
||||||
cp -f $(LINUX_DIR)/defconfig $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)
|
|
||||||
else
|
|
||||||
linux-update-config: ;
|
|
||||||
linux-update-defconfig: ;
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Support for rebuilding the kernel after the cpio archive has
|
# Support for rebuilding the kernel after the cpio archive has
|
||||||
# been generated in $(BINARIES_DIR)/rootfs.cpio.
|
# been generated in $(BINARIES_DIR)/rootfs.cpio.
|
||||||
$(LINUX_DIR)/.stamp_initramfs_rebuilt: $(LINUX_DIR)/.stamp_target_installed $(LINUX_DIR)/.stamp_images_installed $(BINARIES_DIR)/rootfs.cpio
|
$(LINUX_DIR)/.stamp_initramfs_rebuilt: $(LINUX_DIR)/.stamp_target_installed $(LINUX_DIR)/.stamp_images_installed $(BINARIES_DIR)/rootfs.cpio
|
||||||
@$(call MESSAGE,"Rebuilding kernel with initramfs")
|
@$(call MESSAGE,"Rebuilding kernel with initramfs")
|
||||||
# Build the kernel.
|
# Build the kernel.
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME)
|
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME)
|
||||||
$(LINUX_APPEND_DTB)
|
$(LINUX_APPEND_DTB)
|
||||||
# Copy the kernel image to its final destination
|
# Copy the kernel image to its final destination
|
||||||
cp $(LINUX_IMAGE_PATH) $(BINARIES_DIR)
|
cp $(LINUX_IMAGE_PATH) $(BINARIES_DIR)
|
||||||
|
|
|
@ -207,10 +207,12 @@ endif
|
||||||
source "package/fb-test-app/Config.in"
|
source "package/fb-test-app/Config.in"
|
||||||
source "package/fbterm/Config.in"
|
source "package/fbterm/Config.in"
|
||||||
source "package/fbv/Config.in"
|
source "package/fbv/Config.in"
|
||||||
|
source "package/freerdp/Config.in"
|
||||||
source "package/imagemagick/Config.in"
|
source "package/imagemagick/Config.in"
|
||||||
source "package/linux-fusion/Config.in"
|
source "package/linux-fusion/Config.in"
|
||||||
source "package/lite/Config.in"
|
source "package/lite/Config.in"
|
||||||
source "package/mesa3d/Config.in"
|
source "package/mesa3d/Config.in"
|
||||||
|
source "package/mesa3d-headers/Config.in"
|
||||||
source "package/ocrad/Config.in"
|
source "package/ocrad/Config.in"
|
||||||
source "package/psplash/Config.in"
|
source "package/psplash/Config.in"
|
||||||
source "package/sawman/Config.in"
|
source "package/sawman/Config.in"
|
||||||
|
@ -243,7 +245,6 @@ comment "X applications"
|
||||||
source "package/dillo/Config.in"
|
source "package/dillo/Config.in"
|
||||||
source "package/docker/Config.in"
|
source "package/docker/Config.in"
|
||||||
source "package/feh/Config.in"
|
source "package/feh/Config.in"
|
||||||
source "package/freerdp/Config.in"
|
|
||||||
source "package/gmpc/Config.in"
|
source "package/gmpc/Config.in"
|
||||||
source "package/gqview/Config.in"
|
source "package/gqview/Config.in"
|
||||||
source "package/gtkperf/Config.in"
|
source "package/gtkperf/Config.in"
|
||||||
|
@ -348,6 +349,7 @@ endif
|
||||||
source "package/minicom/Config.in"
|
source "package/minicom/Config.in"
|
||||||
source "package/nanocom/Config.in"
|
source "package/nanocom/Config.in"
|
||||||
source "package/neard/Config.in"
|
source "package/neard/Config.in"
|
||||||
|
source "package/nvidia-driver/Config.in"
|
||||||
source "package/ofono/Config.in"
|
source "package/ofono/Config.in"
|
||||||
source "package/ola/Config.in"
|
source "package/ola/Config.in"
|
||||||
source "package/on2-8170-modules/Config.in"
|
source "package/on2-8170-modules/Config.in"
|
||||||
|
@ -391,6 +393,7 @@ endif
|
||||||
source "package/usbmount/Config.in"
|
source "package/usbmount/Config.in"
|
||||||
source "package/usbutils/Config.in"
|
source "package/usbutils/Config.in"
|
||||||
source "package/w_scan/Config.in"
|
source "package/w_scan/Config.in"
|
||||||
|
source "package/wf111/Config.in"
|
||||||
source "package/wipe/Config.in"
|
source "package/wipe/Config.in"
|
||||||
source "package/xorriso/Config.in"
|
source "package/xorriso/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -443,6 +446,7 @@ menu "Lua libraries/modules"
|
||||||
source "package/lua-ev/Config.in"
|
source "package/lua-ev/Config.in"
|
||||||
source "package/lua-messagepack/Config.in"
|
source "package/lua-messagepack/Config.in"
|
||||||
source "package/lua-msgpack-native/Config.in"
|
source "package/lua-msgpack-native/Config.in"
|
||||||
|
source "package/lua-periphery/Config.in"
|
||||||
source "package/lua-testmore/Config.in"
|
source "package/lua-testmore/Config.in"
|
||||||
source "package/luabitop/Config.in"
|
source "package/luabitop/Config.in"
|
||||||
source "package/luacrypto/Config.in"
|
source "package/luacrypto/Config.in"
|
||||||
|
@ -510,6 +514,7 @@ menu "external python modules"
|
||||||
source "package/python-certifi/Config.in"
|
source "package/python-certifi/Config.in"
|
||||||
source "package/python-cffi/Config.in"
|
source "package/python-cffi/Config.in"
|
||||||
source "package/python-cheetah/Config.in"
|
source "package/python-cheetah/Config.in"
|
||||||
|
source "package/python-cherrypy/Config.in"
|
||||||
source "package/python-coherence/Config.in"
|
source "package/python-coherence/Config.in"
|
||||||
source "package/python-configobj/Config.in"
|
source "package/python-configobj/Config.in"
|
||||||
source "package/python-configshell-fb/Config.in"
|
source "package/python-configshell-fb/Config.in"
|
||||||
|
@ -534,6 +539,8 @@ menu "external python modules"
|
||||||
source "package/python-json-schema-validator/Config.in"
|
source "package/python-json-schema-validator/Config.in"
|
||||||
source "package/python-keyring/Config.in"
|
source "package/python-keyring/Config.in"
|
||||||
source "package/python-libconfig/Config.in"
|
source "package/python-libconfig/Config.in"
|
||||||
|
source "package/python-lxml/Config.in"
|
||||||
|
source "package/python-mako/Config.in"
|
||||||
source "package/python-mad/Config.in"
|
source "package/python-mad/Config.in"
|
||||||
source "package/python-markdown/Config.in"
|
source "package/python-markdown/Config.in"
|
||||||
source "package/python-markupsafe/Config.in"
|
source "package/python-markupsafe/Config.in"
|
||||||
|
@ -614,6 +621,7 @@ menu "Audio/Sound"
|
||||||
source "package/mp4v2/Config.in"
|
source "package/mp4v2/Config.in"
|
||||||
source "package/opencore-amr/Config.in"
|
source "package/opencore-amr/Config.in"
|
||||||
source "package/opus/Config.in"
|
source "package/opus/Config.in"
|
||||||
|
source "package/opusfile/Config.in"
|
||||||
source "package/portaudio/Config.in"
|
source "package/portaudio/Config.in"
|
||||||
source "package/speex/Config.in"
|
source "package/speex/Config.in"
|
||||||
source "package/taglib/Config.in"
|
source "package/taglib/Config.in"
|
||||||
|
@ -1042,11 +1050,13 @@ menu "Miscellaneous"
|
||||||
source "package/snowball-init/Config.in"
|
source "package/snowball-init/Config.in"
|
||||||
source "package/sound-theme-borealis/Config.in"
|
source "package/sound-theme-borealis/Config.in"
|
||||||
source "package/sound-theme-freedesktop/Config.in"
|
source "package/sound-theme-freedesktop/Config.in"
|
||||||
|
source "package/wine/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Networking applications"
|
menu "Networking applications"
|
||||||
source "package/aiccu/Config.in"
|
source "package/aiccu/Config.in"
|
||||||
source "package/aircrack-ng/Config.in"
|
source "package/aircrack-ng/Config.in"
|
||||||
|
source "package/apache/Config.in"
|
||||||
source "package/argus/Config.in"
|
source "package/argus/Config.in"
|
||||||
source "package/arptables/Config.in"
|
source "package/arptables/Config.in"
|
||||||
source "package/atftp/Config.in"
|
source "package/atftp/Config.in"
|
||||||
|
@ -1054,6 +1064,7 @@ menu "Networking applications"
|
||||||
source "package/avahi/Config.in"
|
source "package/avahi/Config.in"
|
||||||
source "package/axel/Config.in"
|
source "package/axel/Config.in"
|
||||||
source "package/bandwidthd/Config.in"
|
source "package/bandwidthd/Config.in"
|
||||||
|
source "package/batctl/Config.in"
|
||||||
source "package/bcusdk/Config.in"
|
source "package/bcusdk/Config.in"
|
||||||
source "package/bind/Config.in"
|
source "package/bind/Config.in"
|
||||||
source "package/bluez_utils/Config.in"
|
source "package/bluez_utils/Config.in"
|
||||||
|
@ -1086,6 +1097,7 @@ endif
|
||||||
source "package/fping/Config.in"
|
source "package/fping/Config.in"
|
||||||
source "package/gesftpserver/Config.in"
|
source "package/gesftpserver/Config.in"
|
||||||
source "package/gutenprint/Config.in"
|
source "package/gutenprint/Config.in"
|
||||||
|
source "package/hans/Config.in"
|
||||||
source "package/hiawatha/Config.in"
|
source "package/hiawatha/Config.in"
|
||||||
source "package/hostapd/Config.in"
|
source "package/hostapd/Config.in"
|
||||||
source "package/hplip/Config.in"
|
source "package/hplip/Config.in"
|
||||||
|
@ -1100,6 +1112,7 @@ endif
|
||||||
source "package/igh-ethercat/Config.in"
|
source "package/igh-ethercat/Config.in"
|
||||||
source "package/igmpproxy/Config.in"
|
source "package/igmpproxy/Config.in"
|
||||||
source "package/inadyn/Config.in"
|
source "package/inadyn/Config.in"
|
||||||
|
source "package/iodine/Config.in"
|
||||||
source "package/iperf/Config.in"
|
source "package/iperf/Config.in"
|
||||||
source "package/iperf3/Config.in"
|
source "package/iperf3/Config.in"
|
||||||
source "package/iproute2/Config.in"
|
source "package/iproute2/Config.in"
|
||||||
|
|
|
@ -4,12 +4,6 @@ config BR2_PACKAGE_AICCU
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
# Uses dn_skipname(), only available since 0.9.33
|
|
||||||
depends on !BR2_UCLIBC_VERSION_0_9_31
|
|
||||||
# AVR32 only has uClibc 0.9.31, so there's no way it can build
|
|
||||||
# due to the lack of dn_skipname(), even with external
|
|
||||||
# toolchains.
|
|
||||||
depends on !BR2_avr32
|
|
||||||
# Triggers the _gp link issue
|
# Triggers the _gp link issue
|
||||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
|
||||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
|
||||||
|
@ -31,6 +25,5 @@ config BR2_PACKAGE_AICCU
|
||||||
comment "aiccu needs a toolchain w/ IPv6, wchar, threads"
|
comment "aiccu needs a toolchain w/ IPv6, wchar, threads"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !(BR2_INET_IPV6 && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
|
depends on !(BR2_INET_IPV6 && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
|
||||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
|
||||||
|
|
|
@ -1,91 +0,0 @@
|
||||||
diff -urN alsa-lib-1.0.18-0rig//src/pcm/pcm_local.h alsa-lib-1.0.18/src/pcm/pcm_local.h
|
|
||||||
--- alsa-lib-1.0.18-0rig//src/pcm/pcm_local.h 2009-01-31 11:02:12.000000000 +0100
|
|
||||||
+++ alsa-lib-1.0.18/src/pcm/pcm_local.h 2009-01-31 11:03:24.000000000 +0100
|
|
||||||
@@ -611,6 +611,13 @@
|
|
||||||
snd_pcm_hw_param_t var);
|
|
||||||
int _snd_pcm_hw_param_set(snd_pcm_hw_params_t *params,
|
|
||||||
snd_pcm_hw_param_t var, unsigned int val, int dir);
|
|
||||||
+
|
|
||||||
+#if defined(AVR32_INLINE_BUG)
|
|
||||||
+int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
|
|
||||||
+ snd_pcm_format_t val);
|
|
||||||
+int _snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_t *params,
|
|
||||||
+ snd_pcm_subformat_t val);
|
|
||||||
+#else
|
|
||||||
static inline int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
|
|
||||||
snd_pcm_format_t val)
|
|
||||||
{
|
|
||||||
@@ -624,7 +631,7 @@
|
|
||||||
return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_SUBFORMAT,
|
|
||||||
(unsigned long) val, 0);
|
|
||||||
}
|
|
||||||
-
|
|
||||||
+#endif
|
|
||||||
int _snd_pcm_hw_param_set_min(snd_pcm_hw_params_t *params,
|
|
||||||
snd_pcm_hw_param_t var, unsigned int val, int dir);
|
|
||||||
int _snd_pcm_hw_param_set_max(snd_pcm_hw_params_t *params,
|
|
||||||
diff -urN alsa-lib-1.0.18-0rig//src/pcm/pcm_route.c alsa-lib-1.0.18/src/pcm/pcm_route.c
|
|
||||||
--- alsa-lib-1.0.18-0rig//src/pcm/pcm_route.c 2009-01-31 11:02:12.000000000 +0100
|
|
||||||
+++ alsa-lib-1.0.18/src/pcm/pcm_route.c 2009-01-31 11:03:18.000000000 +0100
|
|
||||||
@@ -26,6 +26,7 @@
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
+
|
|
||||||
#include <byteswap.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include "pcm_local.h"
|
|
||||||
@@ -106,6 +107,23 @@
|
|
||||||
|
|
||||||
#endif /* DOC_HIDDEN */
|
|
||||||
|
|
||||||
+
|
|
||||||
+#if defined(AVR32_INLINE_BUG)
|
|
||||||
+int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
|
|
||||||
+ snd_pcm_format_t val)
|
|
||||||
+{
|
|
||||||
+ return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_FORMAT,
|
|
||||||
+ (unsigned long) val, 0);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+int _snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_t *params,
|
|
||||||
+ snd_pcm_subformat_t val)
|
|
||||||
+{
|
|
||||||
+ return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_SUBFORMAT,
|
|
||||||
+ (unsigned long) val, 0);
|
|
||||||
+}
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
static void snd_pcm_route_convert1_zero(const snd_pcm_channel_area_t *dst_area,
|
|
||||||
snd_pcm_uframes_t dst_offset,
|
|
||||||
const snd_pcm_channel_area_t *src_areas ATTRIBUTE_UNUSED,
|
|
||||||
@@ -483,6 +501,8 @@
|
|
||||||
snd_pcm_uframes_t frames,
|
|
||||||
snd_pcm_route_params_t *params)
|
|
||||||
{
|
|
||||||
+#if defined(AVR32_INLINE_BUG)
|
|
||||||
+#endif
|
|
||||||
unsigned int dst_channel;
|
|
||||||
snd_pcm_route_ttable_dst_t *dstp;
|
|
||||||
const snd_pcm_channel_area_t *dst_area;
|
|
||||||
@@ -551,8 +571,20 @@
|
|
||||||
_snd_pcm_hw_param_set_mask(sparams, SND_PCM_HW_PARAM_ACCESS,
|
|
||||||
&saccess_mask);
|
|
||||||
if (route->sformat != SND_PCM_FORMAT_UNKNOWN) {
|
|
||||||
+#if defined(AVR32_INLINE_BUG)
|
|
||||||
+/* Start of of problem */
|
|
||||||
+#endif
|
|
||||||
_snd_pcm_hw_params_set_format(sparams, route->sformat);
|
|
||||||
_snd_pcm_hw_params_set_subformat(sparams, SND_PCM_SUBFORMAT_STD);
|
|
||||||
+#if 0
|
|
||||||
+ _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_FORMAT,
|
|
||||||
+ (unsigned long) route->sformat, 0);
|
|
||||||
+ _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_SUBFORMAT,
|
|
||||||
+ (unsigned long) SND_PCM_SUBFORMAT_STD, 0);
|
|
||||||
+#endif
|
|
||||||
+#if defined(AVR32_INLINE_BUG)
|
|
||||||
+/* End of problem */
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
if (route->schannels >= 0) {
|
|
||||||
_snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_CHANNELS,
|
|
|
@ -50,10 +50,6 @@ ifneq ($(BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS),y)
|
||||||
ALSA_LIB_CONF_OPTS += --disable-old-symbols
|
ALSA_LIB_CONF_OPTS += --disable-old-symbols
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_avr32),y)
|
|
||||||
ALSA_LIB_CFLAGS += -DAVR32_INLINE_BUG
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
|
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
|
||||||
ALSA_LIB_CONF_OPTS += \
|
ALSA_LIB_CONF_OPTS += \
|
||||||
--with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) \
|
--with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) \
|
||||||
|
|
63
package/apache/0001-cross-compile.patch
Normal file
63
package/apache/0001-cross-compile.patch
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
Fix cross-compilation
|
||||||
|
|
||||||
|
Fetched httpd-2.4.x-cross_compile.diff from upstream bugtracker:
|
||||||
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=51257#c6
|
||||||
|
|
||||||
|
which is a bundle of upstream revisions:
|
||||||
|
http://svn.apache.org/viewvc?view=revision&revision=1327907
|
||||||
|
http://svn.apache.org/viewvc?view=revision&revision=1328390
|
||||||
|
http://svn.apache.org/viewvc?view=revision&revision=1328714
|
||||||
|
|
||||||
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||||
|
|
||||||
|
Index: server/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- a/server/Makefile.in (revision 1328714)
|
||||||
|
+++ b/server/Makefile.in (working copy)
|
||||||
|
@@ -22,9 +22,14 @@
|
||||||
|
include $(top_builddir)/build/rules.mk
|
||||||
|
include $(top_srcdir)/build/library.mk
|
||||||
|
|
||||||
|
+ifdef CC_FOR_BUILD
|
||||||
|
+gen_test_char: gen_test_char.c
|
||||||
|
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DCROSS_COMPILE -o $@ $<
|
||||||
|
+else
|
||||||
|
gen_test_char_OBJECTS = gen_test_char.lo
|
||||||
|
gen_test_char: $(gen_test_char_OBJECTS)
|
||||||
|
$(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
|
||||||
|
+endif
|
||||||
|
|
||||||
|
test_char.h: gen_test_char
|
||||||
|
./gen_test_char > test_char.h
|
||||||
|
Index: configure.in
|
||||||
|
===================================================================
|
||||||
|
--- a/configure.in (revision 1328714)
|
||||||
|
+++ b/configure.in (working copy)
|
||||||
|
@@ -193,6 +193,14 @@
|
||||||
|
dnl Try to get c99 support for variadic macros
|
||||||
|
ifdef([AC_PROG_CC_C99], [AC_PROG_CC_C99])
|
||||||
|
|
||||||
|
+dnl In case of cross compilation we set CC_FOR_BUILD to cc unless
|
||||||
|
+dnl we got already CC_FOR_BUILD from environment.
|
||||||
|
+if test "x${build_alias}" != "x${host_alias}"; then
|
||||||
|
+ if test "x${CC_FOR_BUILD}" = "x"; then
|
||||||
|
+ CC_FOR_BUILD=cc
|
||||||
|
+ fi
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
if test "x${cache_file}" = "x/dev/null"; then
|
||||||
|
# Likewise, ensure that CC and CPP are passed through to the pcre
|
||||||
|
# configure script iff caching is disabled (the autoconf 2.5x default).
|
||||||
|
Index: acinclude.m4
|
||||||
|
===================================================================
|
||||||
|
--- a/acinclude.m4 (revision 1328714)
|
||||||
|
+++ ab/cinclude.m4 (working copy)
|
||||||
|
@@ -53,6 +53,8 @@
|
||||||
|
APACHE_SUBST(CPPFLAGS)
|
||||||
|
APACHE_SUBST(CFLAGS)
|
||||||
|
APACHE_SUBST(CXXFLAGS)
|
||||||
|
+ APACHE_SUBST(CC_FOR_BUILD)
|
||||||
|
+ APACHE_SUBST(CFLAGS_FOR_BUILD)
|
||||||
|
APACHE_SUBST(LTFLAGS)
|
||||||
|
APACHE_SUBST(LDFLAGS)
|
||||||
|
APACHE_SUBST(LT_LDFLAGS)
|
19
package/apache/Config.in
Normal file
19
package/apache/Config.in
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
config BR2_PACKAGE_APACHE
|
||||||
|
bool "apache"
|
||||||
|
select BR2_PACKAGE_APR_UTIL
|
||||||
|
select BR2_PACKAGE_PCRE
|
||||||
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
depends on BR2_USE_MMU # apr
|
||||||
|
help
|
||||||
|
The Apache HTTP Server Project is an effort to develop and maintain an
|
||||||
|
open-source HTTP server for modern operating systems including UNIX
|
||||||
|
and Windows NT. The goal of this project is to provide a secure,
|
||||||
|
efficient and extensible server that provides HTTP services in sync
|
||||||
|
with the current HTTP standards.
|
||||||
|
|
||||||
|
http://httpd.apache.org
|
||||||
|
|
||||||
|
comment "apache needs a toolchain w/ dynamic library, threads"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
2
package/apache/apache.hash
Normal file
2
package/apache/apache.hash
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# From http://www.apache.org/dist/httpd/httpd-2.4.12.tar.bz2.sha1
|
||||||
|
sha1 bc4681bfd63accec8d82d3cc440fbc8264ce0f17 httpd-2.4.12.tar.bz2
|
85
package/apache/apache.mk
Normal file
85
package/apache/apache.mk
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# apache
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
APACHE_VERSION = 2.4.12
|
||||||
|
APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2
|
||||||
|
APACHE_SITE = http://archive.apache.org/dist/httpd
|
||||||
|
APACHE_LICENSE = Apache-2.0
|
||||||
|
APACHE_LICENSE_FILES = LICENSE
|
||||||
|
# Needed for mod_php
|
||||||
|
APACHE_INSTALL_STAGING = YES
|
||||||
|
# We have a patch touching configure.in and Makefile.in,
|
||||||
|
# so we need to autoreconf:
|
||||||
|
APACHE_AUTORECONF = YES
|
||||||
|
APACHE_DEPENDENCIES = apr apr-util pcre
|
||||||
|
|
||||||
|
APACHE_CONF_ENV= \
|
||||||
|
ap_cv_void_ptr_lt_long=no \
|
||||||
|
PCRE_CONFIG=$(STAGING_DIR)/usr/bin/pcre-config
|
||||||
|
|
||||||
|
APACHE_CONF_OPTS = \
|
||||||
|
--sysconfdir=/etc/apache2 \
|
||||||
|
--with-apr=$(STAGING_DIR)/usr \
|
||||||
|
--with-apr-util=$(STAGING_DIR)/usr \
|
||||||
|
--with-pcre=$(STAGING_DIR)/usr/bin/pcre-config \
|
||||||
|
--enable-http \
|
||||||
|
--enable-dbd \
|
||||||
|
--enable-proxy \
|
||||||
|
--enable-mime-magic \
|
||||||
|
--without-suexec-bin \
|
||||||
|
--enable-mods-shared=all \
|
||||||
|
--with-mpm=worker \
|
||||||
|
--disable-lua \
|
||||||
|
--disable-luajit
|
||||||
|
|
||||||
|
ifeq ($(BR2_ARCH_HAS_ATOMICS),y)
|
||||||
|
APACHE_CONF_OPTS += --enable-nonportable-atomics=yes
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||||
|
APACHE_DEPENDENCIES += libxml2
|
||||||
|
# Apache wants the path to the header file, where it can find
|
||||||
|
# <libxml/parser.h>.
|
||||||
|
APACHE_CONF_OPTS += \
|
||||||
|
--enable-xml2enc \
|
||||||
|
--enable-proxy-html \
|
||||||
|
--with-libxml2=$(STAGING_DIR)/usr/include/libxml2
|
||||||
|
else
|
||||||
|
APACHE_CONF_OPTS += \
|
||||||
|
--disable-xml2enc \
|
||||||
|
--disable-proxy-html
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
|
APACHE_DEPENDENCIES += openssl
|
||||||
|
APACHE_CONF_OPTS += \
|
||||||
|
--enable-ssl \
|
||||||
|
--with-ssl=$(STAGING_DIR)/usr
|
||||||
|
else
|
||||||
|
APACHE_CONF_OPTS += --disable-ssl
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
|
APACHE_DEPENDENCIES += zlib
|
||||||
|
APACHE_CONF_OPTS += \
|
||||||
|
--enable-deflate \
|
||||||
|
--with-z=$(STAGING_DIR)/usr
|
||||||
|
else
|
||||||
|
APACHE_CONF_OPTS += --disable-deflate
|
||||||
|
endif
|
||||||
|
|
||||||
|
define APACHE_FIX_STAGING_APACHE_CONFIG
|
||||||
|
$(SED) 's%/usr/build%$(STAGING_DIR)/usr/build%' $(STAGING_DIR)/usr/bin/apxs
|
||||||
|
$(SED) 's%^prefix =.*%prefix = $(STAGING_DIR)/usr%' $(STAGING_DIR)/usr/build/config_vars.mk
|
||||||
|
endef
|
||||||
|
APACHE_POST_INSTALL_STAGING_HOOKS += APACHE_FIX_STAGING_APACHE_CONFIG
|
||||||
|
|
||||||
|
define APACHE_CLEANUP_TARGET
|
||||||
|
$(RM) -rf $(TARGET_DIR)/usr/manual $(TARGET_DIR)/usr/build
|
||||||
|
endef
|
||||||
|
APACHE_POST_INSTALL_TARGET_HOOKS += APACHE_CLEANUP_TARGET
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
13
package/autoconf-archive/autoconf-archive.mk
Normal file
13
package/autoconf-archive/autoconf-archive.mk
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# autoconf-archive
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
AUTOCONF_ARCHIVE_VERSION = 2015.02.04
|
||||||
|
AUTOCONF_ARCHIVE_SOURCE = autoconf-archive-$(AUTOCONF_ARCHIVE_VERSION).tar.xz
|
||||||
|
AUTOCONF_ARCHIVE_SITE = $(BR2_GNU_MIRROR)/autoconf-archive/
|
||||||
|
AUTOCONF_ARCHIVE_LICENSE = GPLv3+ with exception
|
||||||
|
AUTOCONF_ARCHIVE_LICENSE_FILES = COPYING COPYING.EXCEPTION
|
||||||
|
|
||||||
|
$(eval $(host-autotools-package))
|
|
@ -1,4 +1,2 @@
|
||||||
# From http://www.harding.motd.ca/autossh/autossh-1.4d.cksums
|
# From http://www.harding.motd.ca/autossh/autossh-1.4e.cksums
|
||||||
md5 89c09b50aa2d57814f808d727e937d0f autossh-1.4d.tgz
|
sha256 9e8e10a59d7619176f4b986e256f776097a364d1be012781ea52e08d04679156 autossh-1.4e.tgz
|
||||||
sha1 27da23c357f8d263aba6ecf3e8792a3552d90e50 autossh-1.4d.tgz
|
|
||||||
sha256 00008fe458bde4c94e98bfa96e1e6e18c4107a1f9fc8a538556b82e91ddedc16 autossh-1.4d.tgz
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
AUTOSSH_VERSION = 1.4d
|
AUTOSSH_VERSION = 1.4e
|
||||||
AUTOSSH_SITE = http://www.harding.motd.ca/autossh
|
AUTOSSH_SITE = http://www.harding.motd.ca/autossh
|
||||||
AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
|
AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
|
||||||
AUTOSSH_LICENSE = Modified BSD
|
AUTOSSH_LICENSE = Modified BSD
|
||||||
|
|
|
@ -8,7 +8,6 @@ config BR2_PACKAGE_AVRDUDE
|
||||||
depends on BR2_LARGEFILE # elfutils
|
depends on BR2_LARGEFILE # elfutils
|
||||||
depends on BR2_USE_WCHAR # elfutils
|
depends on BR2_USE_WCHAR # elfutils
|
||||||
depends on !BR2_STATIC_LIBS # elfutils
|
depends on !BR2_STATIC_LIBS # elfutils
|
||||||
depends on !BR2_avr32 # elfutils
|
|
||||||
depends on !BR2_bfin # elfutils
|
depends on !BR2_bfin # elfutils
|
||||||
help
|
help
|
||||||
avrdude is a programmer for Atmel AVR microcontrollers
|
avrdude is a programmer for Atmel AVR microcontrollers
|
||||||
|
@ -18,5 +17,4 @@ config BR2_PACKAGE_AVRDUDE
|
||||||
|
|
||||||
comment "avrdude needs a toolchain w/ threads, largefile, wchar, dynamic library"
|
comment "avrdude needs a toolchain w/ threads, largefile, wchar, dynamic library"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_bfin
|
depends on !BR2_bfin
|
||||||
|
|
12
package/batctl/Config.in
Normal file
12
package/batctl/Config.in
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
config BR2_PACKAGE_BATCTL
|
||||||
|
bool "batctl"
|
||||||
|
depends on BR2_INET_IPV6
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
||||||
|
select BR2_PACKAGE_LIBNL
|
||||||
|
help
|
||||||
|
Batctl is the configuration and debugging tool for batman-adv.
|
||||||
|
|
||||||
|
http://www.open-mesh.org/projects/batman-adv/wiki/Using-batctl
|
||||||
|
|
||||||
|
comment "batctl needs a toolchain w/ IPv6, threads"
|
||||||
|
depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
|
2
package/batctl/batctl.hash
Normal file
2
package/batctl/batctl.hash
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Locally calculated
|
||||||
|
sha256 77509ed70232ebc0b73e2fa9471ae13b12d6547d167dda0a82f7a7fad7252c36 batctl-2014.4.0.tar.gz
|
21
package/batctl/batctl.mk
Normal file
21
package/batctl/batctl.mk
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# batctl
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
BATCTL_VERSION = 2014.4.0
|
||||||
|
BATCTL_SITE = http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)
|
||||||
|
BATCTL_LICENSE = GPLv2
|
||||||
|
BATCTL_DEPENDENCIES = libnl host-pkgconf
|
||||||
|
|
||||||
|
define BATCTL_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
|
||||||
|
endef
|
||||||
|
|
||||||
|
define BATCTL_INSTALL_TARGET_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||||
|
PREFIX=/usr DESTDIR=$(TARGET_DIR) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
|
@ -1,13 +1,5 @@
|
||||||
config BR2_PACKAGE_BDWGC_ARCH_SUPPORTS
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
depends on BR2_arm || BR2_armeb || BR2_avr32 || BR2_i386 \
|
|
||||||
|| BR2_mips || BR2_mipsel || BR2_powerpc || BR2_sh \
|
|
||||||
|| BR2_sparc || BR2_x86_64
|
|
||||||
|
|
||||||
config BR2_PACKAGE_BDWGC
|
config BR2_PACKAGE_BDWGC
|
||||||
bool "bdwgc"
|
bool "bdwgc"
|
||||||
depends on BR2_PACKAGE_BDWGC_ARCH_SUPPORTS
|
|
||||||
depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
|
||||||
select BR2_PACKAGE_LIBATOMIC_OPS
|
select BR2_PACKAGE_LIBATOMIC_OPS
|
||||||
help
|
help
|
||||||
|
|
2
package/bdwgc/bdwgc.hash
Normal file
2
package/bdwgc/bdwgc.hash
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Locally computed
|
||||||
|
sha256 63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2 gc-7.4.2.tar.gz
|
|
@ -4,9 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# When bumping the version number, check if the list of supported architectures
|
BDWGC_VERSION = 7.4.2
|
||||||
# is still valid; see Config.log.
|
|
||||||
BDWGC_VERSION = 7.2f
|
|
||||||
BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz
|
BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz
|
||||||
BDWGC_SITE = http://www.hboehm.info/gc/gc_source
|
BDWGC_SITE = http://www.hboehm.info/gc/gc_source
|
||||||
BDWGC_INSTALL_STAGING = YES
|
BDWGC_INSTALL_STAGING = YES
|
||||||
|
|
|
@ -7,33 +7,31 @@ choice
|
||||||
help
|
help
|
||||||
Select the version of binutils you wish to use.
|
Select the version of binutils you wish to use.
|
||||||
|
|
||||||
config BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
|
|
||||||
depends on BR2_avr32
|
|
||||||
bool "binutils 2.18-avr32-1.0.1"
|
|
||||||
|
|
||||||
config BR2_BINUTILS_VERSION_2_22
|
config BR2_BINUTILS_VERSION_2_22
|
||||||
depends on !BR2_avr32 && !BR2_aarch64 && !BR2_microblaze && !BR2_powerpc64le
|
depends on !BR2_aarch64 && !BR2_microblaze && \
|
||||||
|
!BR2_powerpc64le && !BR2_nios2
|
||||||
bool "binutils 2.22"
|
bool "binutils 2.22"
|
||||||
|
|
||||||
# bfin disabled for newer binutils due to
|
# bfin disabled for newer binutils due to
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=17334
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=17334
|
||||||
config BR2_BINUTILS_VERSION_2_23_2
|
config BR2_BINUTILS_VERSION_2_23_2
|
||||||
depends on !BR2_avr32 && !BR2_aarch64 && !BR2_bfin && !BR2_microblaze && !BR2_powerpc64le
|
depends on !BR2_aarch64 && !BR2_bfin && !BR2_microblaze && \
|
||||||
|
!BR2_powerpc64le && !BR2_nios2
|
||||||
bool "binutils 2.23.2"
|
bool "binutils 2.23.2"
|
||||||
|
|
||||||
config BR2_BINUTILS_VERSION_2_24
|
config BR2_BINUTILS_VERSION_2_24
|
||||||
depends on !BR2_avr32 && !BR2_bfin
|
depends on !BR2_bfin
|
||||||
|
depends on !BR2_nios2 # supported, but broken on Nios-II
|
||||||
bool "binutils 2.24"
|
bool "binutils 2.24"
|
||||||
|
|
||||||
config BR2_BINUTILS_VERSION_2_25
|
config BR2_BINUTILS_VERSION_2_25
|
||||||
depends on !BR2_avr32 && !BR2_bfin
|
depends on !BR2_bfin
|
||||||
bool "binutils 2.25"
|
bool "binutils 2.25"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_BINUTILS_VERSION
|
config BR2_BINUTILS_VERSION
|
||||||
string
|
string
|
||||||
default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
|
|
||||||
default "arc-2014.12" if BR2_arc
|
default "arc-2014.12" if BR2_arc
|
||||||
default "2.22" if BR2_BINUTILS_VERSION_2_22
|
default "2.22" if BR2_BINUTILS_VERSION_2_22
|
||||||
default "2.23.2" if BR2_BINUTILS_VERSION_2_23_2
|
default "2.23.2" if BR2_BINUTILS_VERSION_2_23_2
|
||||||
|
|
|
@ -8,17 +8,9 @@
|
||||||
# If not, we do like other packages
|
# If not, we do like other packages
|
||||||
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
|
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
|
||||||
ifeq ($(BINUTILS_VERSION),)
|
ifeq ($(BINUTILS_VERSION),)
|
||||||
ifeq ($(BR2_avr32),y)
|
|
||||||
# avr32 uses a special version
|
|
||||||
BINUTILS_VERSION = 2.18-avr32-1.0.1
|
|
||||||
else
|
|
||||||
BINUTILS_VERSION = 2.22
|
BINUTILS_VERSION = 2.22
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(ARCH),avr32)
|
|
||||||
BINUTILS_SITE = ftp://www.at91.com/pub/buildroot
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_arc),y)
|
ifeq ($(BR2_arc),y)
|
||||||
BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION))
|
BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION))
|
||||||
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
|
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
|
||||||
|
|
|
@ -4,7 +4,7 @@ config BR2_PACKAGE_BLKTRACE
|
||||||
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
||||||
# Because of libaio arch depends
|
# Because of libaio arch depends
|
||||||
depends on \
|
depends on \
|
||||||
BR2_arm || BR2_armeb || BR2_avr32 || BR2_i386 || \
|
BR2_arm || BR2_armeb || BR2_i386 || \
|
||||||
BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
||||||
BR2_sparc || BR2_x86_64
|
BR2_sparc || BR2_x86_64
|
||||||
select BR2_PACKAGE_LIBAIO
|
select BR2_PACKAGE_LIBAIO
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
config BR2_PACKAGE_BLUEZ5_UTILS
|
config BR2_PACKAGE_BLUEZ5_UTILS
|
||||||
bool "bluez-utils 5.x"
|
bool "bluez-utils 5.x"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on BR2_USE_WCHAR # libglib2
|
depends on BR2_USE_WCHAR # libglib2
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
||||||
depends on BR2_USE_MMU # dbus
|
depends on BR2_USE_MMU # dbus
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
config BR2_PACKAGE_BLUEZ_UTILS
|
config BR2_PACKAGE_BLUEZ_UTILS
|
||||||
bool "bluez-utils"
|
bool "bluez-utils"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
depends on BR2_USE_WCHAR # libglib2
|
depends on BR2_USE_WCHAR # libglib2
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
|
||||||
|
@ -47,5 +46,5 @@ config BR2_PACKAGE_BLUEZ_UTILS_GATT
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "bluez-utils needs a toolchain w/ wchar, threads, dynamic library"
|
comment "bluez-utils needs a toolchain w/ wchar, threads, dynamic library"
|
||||||
depends on !BR2_avr32 && BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
From adcf320db5cc2844209d001f9484b0ff0cab4e0b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
|
||||||
Date: Tue, 11 Nov 2014 20:22:37 -0300
|
|
||||||
Subject: [PATCH] build: uclinux is also linux
|
|
||||||
|
|
||||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
|
||||||
---
|
|
||||||
Status: pull request in github
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 3059e52..10388fd 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -70,7 +70,7 @@ fi
|
|
||||||
PKG_CHECK_MODULES([CONFUSE], [libconfuse], [], AC_MSG_ERROR([requires libconfuse]))
|
|
||||||
|
|
||||||
case ${target_os} in
|
|
||||||
- linux*)
|
|
||||||
+ linux*|uclinux*)
|
|
||||||
PKG_CHECK_MODULES([LIBNL], [libnl-3.0], [], AC_MSG_ERROR([requires libnl3-dev]))
|
|
||||||
PKG_CHECK_MODULES([LIBNL_ROUTE], [libnl-route-3.0], [], AC_MSG_ERROR([requires libnl3-route]))
|
|
||||||
;;
|
|
||||||
--
|
|
||||||
2.0.4
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
# Locally calculated
|
# Locally calculated
|
||||||
sha256 78ab9e46840178fbc874cdbc94fde34e72e41a18a27383660b50b4c3cd0d1f9c bmon-3.5.tar.gz
|
sha256 62c8c20d00572a7670891d4c112924786cb69ec4ca92d5052951566f000d1514 bmon-3.6.tar.gz
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
BMON_VERSION = 3.5
|
BMON_VERSION = 3.6
|
||||||
BMON_SITE = https://github.com/tgraf/bmon/releases/download/v$(BMON_VERSION)/
|
BMON_SITE = https://github.com/tgraf/bmon/releases/download/v$(BMON_VERSION)/
|
||||||
BMON_DEPENDENCIES = host-pkgconf libconfuse libnl ncurses
|
BMON_DEPENDENCIES = host-pkgconf libconfuse libnl ncurses
|
||||||
BMON_LICENSE = BSD-2c
|
BMON_LICENSE = BSD-2c
|
||||||
|
|
|
@ -4,7 +4,6 @@ config BR2_PACKAGE_BTRFS_PROGS
|
||||||
depends on BR2_USE_WCHAR # util-linux
|
depends on BR2_USE_WCHAR # util-linux
|
||||||
depends on BR2_USE_MMU # util-linux
|
depends on BR2_USE_MMU # util-linux
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on !BR2_avr32 # toolchain issues
|
|
||||||
select BR2_PACKAGE_ACL
|
select BR2_PACKAGE_ACL
|
||||||
select BR2_PACKAGE_ATTR
|
select BR2_PACKAGE_ATTR
|
||||||
select BR2_PACKAGE_E2FSPROGS
|
select BR2_PACKAGE_E2FSPROGS
|
||||||
|
@ -20,6 +19,5 @@ config BR2_PACKAGE_BTRFS_PROGS
|
||||||
|
|
||||||
comment "btrfs-progs needs a toolchain w/ largefile, wchar, threads"
|
comment "btrfs-progs needs a toolchain w/ largefile, wchar, threads"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
|
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
|
||||||
!BR2_TOOLCHAIN_HAS_THREADS
|
!BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
|
@ -575,7 +575,7 @@ CONFIG_FEATURE_FDISK_WRITABLE=y
|
||||||
CONFIG_FEATURE_GPT_LABEL=y
|
CONFIG_FEATURE_GPT_LABEL=y
|
||||||
CONFIG_FEATURE_FDISK_ADVANCED=y
|
CONFIG_FEATURE_FDISK_ADVANCED=y
|
||||||
# CONFIG_FINDFS is not set
|
# CONFIG_FINDFS is not set
|
||||||
# CONFIG_FLOCK is not set
|
CONFIG_FLOCK=y
|
||||||
CONFIG_FREERAMDISK=y
|
CONFIG_FREERAMDISK=y
|
||||||
# CONFIG_FSCK_MINIX is not set
|
# CONFIG_FSCK_MINIX is not set
|
||||||
# CONFIG_MKFS_EXT2 is not set
|
# CONFIG_MKFS_EXT2 is not set
|
||||||
|
|
2
package/cmake/cmake.hash
Normal file
2
package/cmake/cmake.hash
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Locally calculated
|
||||||
|
sha256 45f4d3fa8a2f61cc092ae461aac4cac1bab4ac6706f98274ea7f314dd315c6d0 cmake-3.1.3.tar.gz
|
|
@ -4,8 +4,8 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
CMAKE_VERSION_MAJOR = 3.0
|
CMAKE_VERSION_MAJOR = 3.1
|
||||||
CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).2
|
CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
|
||||||
CMAKE_SITE = http://www.cmake.org/files/v$(CMAKE_VERSION_MAJOR)
|
CMAKE_SITE = http://www.cmake.org/files/v$(CMAKE_VERSION_MAJOR)
|
||||||
CMAKE_LICENSE = BSD-3c
|
CMAKE_LICENSE = BSD-3c
|
||||||
CMAKE_LICENSE_FILES = Copyright.txt
|
CMAKE_LICENSE_FILES = Copyright.txt
|
||||||
|
|
|
@ -251,7 +251,6 @@ config BR2_PACKAGE_COLLECTD_MYSQL
|
||||||
depends on BR2_INSTALL_LIBSTDCPP # mysql
|
depends on BR2_INSTALL_LIBSTDCPP # mysql
|
||||||
depends on BR2_USE_MMU # mysql
|
depends on BR2_USE_MMU # mysql
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
|
depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
|
||||||
depends on !BR2_avr32 # mysql
|
|
||||||
select BR2_PACKAGE_MYSQL
|
select BR2_PACKAGE_MYSQL
|
||||||
help
|
help
|
||||||
Connects to a MySQL database and issues a "show status" command.
|
Connects to a MySQL database and issues a "show status" command.
|
||||||
|
|
|
@ -3,7 +3,6 @@ config BR2_PACKAGE_CONNMAN
|
||||||
select BR2_PACKAGE_DBUS
|
select BR2_PACKAGE_DBUS
|
||||||
select BR2_PACKAGE_LIBGLIB2
|
select BR2_PACKAGE_LIBGLIB2
|
||||||
select BR2_PACKAGE_IPTABLES
|
select BR2_PACKAGE_IPTABLES
|
||||||
depends on !BR2_avr32 # no inotify_init1
|
|
||||||
depends on BR2_USE_WCHAR # libglib2
|
depends on BR2_USE_WCHAR # libglib2
|
||||||
depends on BR2_INET_IPV6
|
depends on BR2_INET_IPV6
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
||||||
|
@ -66,5 +65,5 @@ config BR2_PACKAGE_CONNMAN_CLIENT
|
||||||
endif # BR2_PACKAGE_CONNMAN
|
endif # BR2_PACKAGE_CONNMAN
|
||||||
|
|
||||||
comment "connman needs a toolchain w/ IPv6, wchar, threads, resolver, dynamic library"
|
comment "connman needs a toolchain w/ IPv6, wchar, threads, resolver, dynamic library"
|
||||||
depends on BR2_USE_MMU && !BR2_avr32
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
depends on !BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
From 2cabb2588da56735369131b709f191453c080be0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: "John W. Linville" <linville@tuxdriver.com>
|
|
||||||
Date: Fri, 14 Feb 2014 13:58:44 -0500
|
|
||||||
Subject: [PATCH 1/4] crda: Add DESTDIR support in install-libreg* rules in
|
|
||||||
Makefile
|
|
||||||
|
|
||||||
Also drop ldconfig call, as that causes problems when cross compiling /
|
|
||||||
installing as non-root.
|
|
||||||
|
|
||||||
Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|
||||||
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
|
|
||||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
|
||||||
---
|
|
||||||
Makefile | 8 ++++----
|
|
||||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 0b2f0d7..1f25509 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -120,13 +120,12 @@ $(LIBREG): regdb.h reglib.h reglib.c
|
|
||||||
|
|
||||||
install-libreg-headers:
|
|
||||||
$(NQ) ' INSTALL libreg-headers'
|
|
||||||
- $(Q)mkdir -p $(INCLUDE_DIR)
|
|
||||||
- $(Q)cp *.h $(INCLUDE_DIR)/
|
|
||||||
+ $(Q)mkdir -p $(DESTDIR)/$(INCLUDE_DIR)
|
|
||||||
+ $(Q)cp *.h $(DESTDIR)/$(INCLUDE_DIR)/
|
|
||||||
|
|
||||||
install-libreg:
|
|
||||||
$(NQ) ' INSTALL libreg'
|
|
||||||
- $(Q)mkdir -p $(LIBDIR)
|
|
||||||
- $(Q)cp $(LIBREG) $(LIBDIR)/
|
|
||||||
- $(Q)ldconfig
|
|
||||||
+ $(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
|
|
||||||
+ $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
|
|
||||||
|
|
||||||
%.o: %.c regdb.h $(LIBREG)
|
|
||||||
--
|
|
||||||
1.8.5.5
|
|
||||||
|
|
15
package/crda/0002-drop-ldconfig-call.patch
Normal file
15
package/crda/0002-drop-ldconfig-call.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Drop ldconfig call, it's useless for cross-compiling.
|
||||||
|
|
||||||
|
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||||
|
|
||||||
|
diff -Nura crda-3.18.orig/Makefile crda-3.18/Makefile
|
||||||
|
--- crda-3.18.orig/Makefile 2015-02-18 10:34:23.841259401 -0300
|
||||||
|
+++ crda-3.18/Makefile 2015-02-18 10:35:10.524201452 -0300
|
||||||
|
@@ -127,7 +127,6 @@
|
||||||
|
$(NQ) ' INSTALL libreg'
|
||||||
|
$(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
|
||||||
|
$(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
|
||||||
|
- $(Q)ldconfig
|
||||||
|
|
||||||
|
%.o: %.c regdb.h $(LIBREG)
|
||||||
|
$(NQ) ' CC ' $@
|
|
@ -1,2 +1,2 @@
|
||||||
# From https://www.kernel.org/pub/software/network/crda/sha256sums.asc
|
# From https://www.kernel.org/pub/software/network/crda/sha256sums.asc
|
||||||
sha256 2f85da7ab0170b140d6ed62596c8f268d4a7dedecf84cac7182ada979742ff59 crda-3.13.tar.xz
|
sha256 43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf crda-3.18.tar.xz
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
CRDA_VERSION = 3.13
|
CRDA_VERSION = 3.18
|
||||||
CRDA_SOURCE = crda-$(CRDA_VERSION).tar.xz
|
CRDA_SOURCE = crda-$(CRDA_VERSION).tar.xz
|
||||||
CRDA_SITE = $(BR2_KERNEL_MIRROR)/software/network/crda
|
CRDA_SITE = $(BR2_KERNEL_MIRROR)/software/network/crda
|
||||||
CRDA_DEPENDENCIES = host-pkgconf host-python-m2crypto \
|
CRDA_DEPENDENCIES = host-pkgconf host-python-m2crypto \
|
||||||
|
|
|
@ -1,83 +0,0 @@
|
||||||
From: Cosmin Paraschiv <cosmin.paraschiv@freescale.com>
|
|
||||||
To: <cryptodev-linux-devel@gna.org>
|
|
||||||
Subject: [Cryptodev-linux-devel] [PATCH v2] Replace INIT_COMPLETION with
|
|
||||||
reinit_completion.
|
|
||||||
|
|
||||||
In the 3.13-rc1 Linux kernel, the INIT_COMPLETION macro has been replaced
|
|
||||||
with an inline function, reinit_completion [1][2]. We are currently
|
|
||||||
using the 3.13-rc3 Linux kernel, which leads to the following error:
|
|
||||||
|
|
||||||
cryptlib.c:279:2: error: implicit declaration of function 'INIT_COMPLETION' [-Werror=implicit-function-declaration]
|
|
||||||
INIT_COMPLETION(cdata->async.result->completion);
|
|
||||||
|
|
||||||
[1] https://github.com/torvalds/linux/commit/c32f74ab2872994bc8336ed367313da3139350ca
|
|
||||||
[2] https://github.com/torvalds/linux/commit/62026aedaacedbe1ffe94a3599ad4acd8ecdf587
|
|
||||||
|
|
||||||
Signed-off-by: Cosmin Paraschiv <cosmin.paraschiv@freescale.com>
|
|
||||||
Reviewed-by: Cristian Stoica <cristian.stoica@freescale.com>
|
|
||||||
Tested-by: Cristian Stoica <cristian.stoica@freescale.com>
|
|
||||||
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
|
|
||||||
---
|
|
||||||
cryptlib.c | 8 ++++----
|
|
||||||
cryptodev_int.h | 6 ++++++
|
|
||||||
2 files changed, 10 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/cryptlib.c b/cryptlib.c
|
|
||||||
index e6c91fc..fe25563 100644
|
|
||||||
--- a/cryptlib.c
|
|
||||||
+++ b/cryptlib.c
|
|
||||||
@@ -276,7 +276,7 @@ ssize_t cryptodev_cipher_encrypt(struct cipher_data *cdata,
|
|
||||||
{
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
- INIT_COMPLETION(cdata->async.result->completion);
|
|
||||||
+ reinit_completion(&cdata->async.result->completion);
|
|
||||||
|
|
||||||
if (cdata->aead == 0) {
|
|
||||||
ablkcipher_request_set_crypt(cdata->async.request,
|
|
||||||
@@ -299,7 +299,7 @@ ssize_t cryptodev_cipher_decrypt(struct cipher_data *cdata,
|
|
||||||
{
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
- INIT_COMPLETION(cdata->async.result->completion);
|
|
||||||
+ reinit_completion(&cdata->async.result->completion);
|
|
||||||
if (cdata->aead == 0) {
|
|
||||||
ablkcipher_request_set_crypt(cdata->async.request,
|
|
||||||
(struct scatterlist *)src, dst,
|
|
||||||
@@ -410,7 +410,7 @@ ssize_t cryptodev_hash_update(struct hash_data *hdata,
|
|
||||||
{
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
- INIT_COMPLETION(hdata->async.result->completion);
|
|
||||||
+ reinit_completion(&hdata->async.result->completion);
|
|
||||||
ahash_request_set_crypt(hdata->async.request, sg, NULL, len);
|
|
||||||
|
|
||||||
ret = crypto_ahash_update(hdata->async.request);
|
|
||||||
@@ -422,7 +422,7 @@ int cryptodev_hash_final(struct hash_data *hdata, void* output)
|
|
||||||
{
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
- INIT_COMPLETION(hdata->async.result->completion);
|
|
||||||
+ reinit_completion(&hdata->async.result->completion);
|
|
||||||
ahash_request_set_crypt(hdata->async.request, NULL, output, 0);
|
|
||||||
|
|
||||||
ret = crypto_ahash_final(hdata->async.request);
|
|
||||||
diff --git a/cryptodev_int.h b/cryptodev_int.h
|
|
||||||
index eb2aabf..3834ef1 100644
|
|
||||||
--- a/cryptodev_int.h
|
|
||||||
+++ b/cryptodev_int.h
|
|
||||||
@@ -2,6 +2,12 @@
|
|
||||||
#ifndef CRYPTODEV_INT_H
|
|
||||||
# define CRYPTODEV_INT_H
|
|
||||||
|
|
||||||
+#include <linux/version.h>
|
|
||||||
+
|
|
||||||
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0))
|
|
||||||
+# define reinit_completion(x) INIT_COMPLETION(*(x))
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include <linux/init.h>
|
|
||||||
#include <linux/sched.h>
|
|
||||||
#include <linux/fs.h>
|
|
||||||
--
|
|
||||||
1.8.3.1
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
From 5054d20d45571cc85339351fde52f872eeb82206 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Phil Sutter <phil@nwl.cc>
|
||||||
|
Date: Tue, 10 Feb 2015 04:57:05 +0100
|
||||||
|
Subject: [PATCH] fix compilation against linux-3.19
|
||||||
|
|
||||||
|
Commit f938612dd97d481b8b5bf960c992ae577f081c17 in linux.git removes
|
||||||
|
get_unused_fd() macro. This patch changes the calling code to use it's
|
||||||
|
content 'get_unused_fd_flags(0)' instead. Checking for when
|
||||||
|
get_unused_fd_flags was introduced shows it's been there since 2.6.23 at
|
||||||
|
least, so probably no need to make this change conditional on the target
|
||||||
|
kernel version.
|
||||||
|
|
||||||
|
Original patch by Ricardo Ribalda Delgado for Open Embedded, reported by
|
||||||
|
Oleg Rakhmanov.
|
||||||
|
|
||||||
|
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||||
|
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||||
|
---
|
||||||
|
ioctl.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/ioctl.c b/ioctl.c
|
||||||
|
index 5a55a76..b23f5fd 100644
|
||||||
|
--- a/ioctl.c
|
||||||
|
+++ b/ioctl.c
|
||||||
|
@@ -546,7 +546,7 @@ static int
|
||||||
|
clonefd(struct file *filp)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
- ret = get_unused_fd();
|
||||||
|
+ ret = get_unused_fd_flags(0);
|
||||||
|
if (ret >= 0) {
|
||||||
|
get_file(filp);
|
||||||
|
fd_install(ret, filp);
|
||||||
|
--
|
||||||
|
2.0.5
|
||||||
|
|
2
package/cryptodev-linux/cryptodev-linux.hash
Normal file
2
package/cryptodev-linux/cryptodev-linux.hash
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Locally calculated after checking php signature
|
||||||
|
sha256 41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25 cryptodev-linux-1.7.tar.gz
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
CRYPTODEV_LINUX_VERSION = 1.6
|
CRYPTODEV_LINUX_VERSION = 1.7
|
||||||
CRYPTODEV_LINUX_SITE = http://download.gna.org/cryptodev-linux
|
CRYPTODEV_LINUX_SITE = http://download.gna.org/cryptodev-linux
|
||||||
CRYPTODEV_LINUX_DEPENDENCIES = linux
|
CRYPTODEV_LINUX_DEPENDENCIES = linux
|
||||||
CRYPTODEV_LINUX_INSTALL_STAGING = YES
|
CRYPTODEV_LINUX_INSTALL_STAGING = YES
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
config BR2_PACKAGE_CWIID
|
config BR2_PACKAGE_CWIID
|
||||||
bool "cwiid"
|
bool "cwiid"
|
||||||
depends on !BR2_avr32 # bluez_utils
|
|
||||||
depends on !BR2_STATIC_LIBS # bluez_utils
|
depends on !BR2_STATIC_LIBS # bluez_utils
|
||||||
depends on BR2_USE_WCHAR # bluez_utils -> libglib2
|
depends on BR2_USE_WCHAR # bluez_utils -> libglib2
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> dbus, alsa-lib, libglib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> dbus, alsa-lib, libglib2
|
||||||
|
@ -27,5 +26,4 @@ endif
|
||||||
|
|
||||||
comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar"
|
comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar"
|
||||||
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_USE_MMU
|
depends on !BR2_USE_MMU
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
config BR2_PACKAGE_DIALOG
|
config BR2_PACKAGE_DIALOG
|
||||||
bool "dialog"
|
bool "dialog"
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # fork()
|
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
select BR2_PACKAGE_NCURSES
|
select BR2_PACKAGE_NCURSES
|
||||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||||
|
@ -12,7 +11,3 @@ config BR2_PACKAGE_DIALOG
|
||||||
of a script to interact with the user in a much friendlier manner.
|
of a script to interact with the user in a much friendlier manner.
|
||||||
|
|
||||||
http://invisible-island.net/dialog/dialog.html
|
http://invisible-island.net/dialog/dialog.html
|
||||||
|
|
||||||
comment "dialog needs a toolchain w/ threads"
|
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
||||||
depends on BR2_USE_MMU
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
# Locally calculated after checking pgp signature
|
# Locally calculated after checking pgp signature
|
||||||
sha256 d054766fba3dac828851f1c9852e5992eb824fd0a0dd26d87ee517242027bafc dialog-1.2-20140911.tgz
|
sha256 1d98ec7cc81f11f9019fa0b90f1afdaa86579cae1ce8869a6fd61deb9d4b887a dialog-1.2-20150125.tgz
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
DIALOG_VERSION = 1.2-20140911
|
DIALOG_VERSION = 1.2-20150125
|
||||||
DIALOG_SOURCE = dialog-$(DIALOG_VERSION).tgz
|
DIALOG_SOURCE = dialog-$(DIALOG_VERSION).tgz
|
||||||
DIALOG_SITE = ftp://invisible-island.net/dialog
|
DIALOG_SITE = ftp://invisible-island.net/dialog
|
||||||
DIALOG_CONF_OPTS = --with-ncurses --with-curses-dir=$(STAGING_DIR)/usr \
|
DIALOG_CONF_OPTS = --with-ncurses --with-curses-dir=$(STAGING_DIR)/usr \
|
||||||
|
|
|
@ -11,7 +11,6 @@ DMRAID_SUBDIR = $(DMRAID_VERSION)/dmraid
|
||||||
# lib and tools race with parallel make
|
# lib and tools race with parallel make
|
||||||
DMRAID_MAKE = $(MAKE1)
|
DMRAID_MAKE = $(MAKE1)
|
||||||
DMRAID_INSTALL_STAGING = YES
|
DMRAID_INSTALL_STAGING = YES
|
||||||
DMRAID_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install
|
|
||||||
DMRAID_LICENSE = GPLv2
|
DMRAID_LICENSE = GPLv2
|
||||||
DMRAID_LICENSE_FILES = $(DMRAID_SUBDIR)/LICENSE_GPL $(DMRAID_SUBDIR)/LICENSE
|
DMRAID_LICENSE_FILES = $(DMRAID_SUBDIR)/LICENSE_GPL $(DMRAID_SUBDIR)/LICENSE
|
||||||
|
|
||||||
|
|
|
@ -24,13 +24,11 @@ config BR2_PACKAGE_DOVECOT_MYSQL
|
||||||
select BR2_PACKAGE_MYSQL
|
select BR2_PACKAGE_MYSQL
|
||||||
depends on BR2_INSTALL_LIBSTDCPP # mysql
|
depends on BR2_INSTALL_LIBSTDCPP # mysql
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
|
depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
|
||||||
depends on !BR2_avr32 # mysql
|
|
||||||
help
|
help
|
||||||
Enable MySQL support.
|
Enable MySQL support.
|
||||||
|
|
||||||
comment "mysql support needs a toolchain w/ C++, threads"
|
comment "mysql support needs a toolchain w/ C++, threads"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on !BR2_avr32
|
|
||||||
|
|
||||||
config BR2_PACKAGE_DOVECOT_OPENSSL
|
config BR2_PACKAGE_DOVECOT_OPENSSL
|
||||||
bool "openssl support"
|
bool "openssl support"
|
||||||
|
|
|
@ -53,9 +53,9 @@ endef
|
||||||
|
|
||||||
define DROPBEAR_INSTALL_INIT_SYSTEMD
|
define DROPBEAR_INSTALL_INIT_SYSTEMD
|
||||||
$(INSTALL) -D -m 644 package/dropbear/dropbear.service \
|
$(INSTALL) -D -m 644 package/dropbear/dropbear.service \
|
||||||
$(TARGET_DIR)/etc/systemd/system/dropbear.service
|
$(TARGET_DIR)/lib/systemd/system/dropbear.service
|
||||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||||
ln -fs ../dropbear.service \
|
ln -fs /lib/systemd/system/dropbear.service \
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dropbear.service
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dropbear.service
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,8 @@ DROPWATCH_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
# libbfd may be linked to libintl
|
# libbfd may be linked to libintl
|
||||||
# Ugly... but LDFLAGS are hardcoded anyway
|
# Ugly... but LDFLAGS are hardcoded anyway
|
||||||
#
|
|
||||||
# Also: always need to add -liberty to hardcoded LDFLAGS for avr32
|
|
||||||
DROPWATCH_LDFLAGS = \
|
DROPWATCH_LDFLAGS = \
|
||||||
$(TARGET_LDFLAGS) -lbfd -liberty -lreadline -lnl-3 -lnl-genl-3 \
|
$(TARGET_LDFLAGS) -lbfd -lreadline -lnl-3 -lnl-genl-3 \
|
||||||
-lpthread -lncurses -lm
|
-lpthread -lncurses -lm
|
||||||
|
|
||||||
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
When building for avr32, the build fails as follows.
|
|
||||||
|
|
||||||
cc1: error: unrecognized command line option "-Wno-packed-bitfield-compat"
|
|
||||||
|
|
||||||
An example of an autobuild failure arising from this is the following.
|
|
||||||
|
|
||||||
http://autobuild.buildroot.net/results/92e/92e472004812a3616f62d766a9ea07a997a66e89/
|
|
||||||
|
|
||||||
Clearly, not all toolchains provide a gcc that understands
|
|
||||||
the -Wno-packed-bitfield-compat flag; remove usage of this flag.
|
|
||||||
|
|
||||||
Signed-off-by: Simon Dawson <spdawson@gmail.com>
|
|
||||||
|
|
||||||
diff -Nurp a/util/scan/Makefile b/util/scan/Makefile
|
|
||||||
--- a/util/scan/Makefile 2013-11-24 17:04:10.000000000 +0000
|
|
||||||
+++ b/util/scan/Makefile 2013-12-13 09:37:11.967975173 +0000
|
|
||||||
@@ -14,7 +14,7 @@ inst_bin = $(binaries)
|
|
||||||
|
|
||||||
removing = atsc_psip_section.c atsc_psip_section.h
|
|
||||||
|
|
||||||
-CPPFLAGS += -Wno-packed-bitfield-compat -D__KERNEL_STRICT_NAMES
|
|
||||||
+CPPFLAGS += -D__KERNEL_STRICT_NAMES
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ config BR2_PACKAGE_E2FSPROGS_E2UNDO
|
||||||
|
|
||||||
config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
|
config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
|
||||||
bool "e4defrag"
|
bool "e4defrag"
|
||||||
depends on !BR2_avr32 && !BR2_nios2 # fallocate not implemented
|
depends on !BR2_nios2 # fallocate not implemented
|
||||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC # sync_file_range not impl
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # sync_file_range not impl
|
||||||
|
|
||||||
comment "e4defrag needs an (e)glibc or musl toolchain"
|
comment "e4defrag needs an (e)glibc or musl toolchain"
|
||||||
|
|
|
@ -9,7 +9,7 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
|
||||||
select BR2_PACKAGE_GETENT
|
select BR2_PACKAGE_GETENT
|
||||||
depends on BR2_USE_WCHAR # gettext
|
depends on BR2_USE_WCHAR # gettext
|
||||||
depends on BR2_USE_MMU # keyutils
|
depends on BR2_USE_MMU # keyutils
|
||||||
depends on !BR2_avr32 && !BR2_microblaze # keyutils
|
depends on !BR2_microblaze # keyutils
|
||||||
depends on BR2_LARGEFILE # libnss
|
depends on BR2_LARGEFILE # libnss
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
|
||||||
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
|
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
|
||||||
|
@ -31,7 +31,7 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
|
||||||
http://ecryptfs.org
|
http://ecryptfs.org
|
||||||
|
|
||||||
comment "ecryptfs-utils needs a toolchain w/ largefile, threads, wchar, dynamic library"
|
comment "ecryptfs-utils needs a toolchain w/ largefile, threads, wchar, dynamic library"
|
||||||
depends on !BR2_avr32 && !BR2_microblaze
|
depends on !BR2_microblaze
|
||||||
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
|
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
||||||
|
|
|
@ -5,7 +5,6 @@ config BR2_PACKAGE_EXPEDITE
|
||||||
select BR2_PACKAGE_LIBEET
|
select BR2_PACKAGE_LIBEET
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
|
||||||
depends on !BR2_avr32 # libevas
|
|
||||||
help
|
help
|
||||||
Expedite is the official Evas benchmark tool. It can test different
|
Expedite is the official Evas benchmark tool. It can test different
|
||||||
engines, such as X11, XRender, OpenGL (also ES variant), SDL,
|
engines, such as X11, XRender, OpenGL (also ES variant), SDL,
|
||||||
|
@ -15,4 +14,3 @@ config BR2_PACKAGE_EXPEDITE
|
||||||
comment "expedite needs a toolchain w/ C++, threads"
|
comment "expedite needs a toolchain w/ C++, threads"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP
|
depends on !BR2_INSTALL_LIBSTDCPP
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on !BR2_avr32
|
|
||||||
|
|
|
@ -39,10 +39,8 @@ config BR2_PACKAGE_LIBECORE_EVAS
|
||||||
bool "libecore Evas support"
|
bool "libecore Evas support"
|
||||||
select BR2_PACKAGE_LIBEVAS
|
select BR2_PACKAGE_LIBEVAS
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on !BR2_avr32 # libevas
|
|
||||||
|
|
||||||
comment "evas support needs a toolchain w/ threads"
|
comment "evas support needs a toolchain w/ threads"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on !BR2_avr32 # libevas
|
|
||||||
|
|
||||||
endif # BR2_PACKAGE_LIBECORE
|
endif # BR2_PACKAGE_LIBECORE
|
||||||
|
|
|
@ -16,7 +16,6 @@ if BR2_PACKAGE_LIBEDBUS
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBEDBUS_BLUEZ
|
config BR2_PACKAGE_LIBEDBUS_BLUEZ
|
||||||
bool "bluez support"
|
bool "bluez support"
|
||||||
depends on !BR2_avr32 # bluez_utils
|
|
||||||
depends on !BR2_STATIC_LIBS # bluez_utils
|
depends on !BR2_STATIC_LIBS # bluez_utils
|
||||||
depends on BR2_USE_WCHAR # bluez_utils -> glib2
|
depends on BR2_USE_WCHAR # bluez_utils -> glib2
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> glib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> glib2
|
||||||
|
@ -25,7 +24,6 @@ config BR2_PACKAGE_LIBEDBUS_BLUEZ
|
||||||
Bluetooth support.
|
Bluetooth support.
|
||||||
|
|
||||||
comment "bluez support needs a toolchain w/ wchar, threads, dynamic library"
|
comment "bluez support needs a toolchain w/ wchar, threads, dynamic library"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBEDBUS_CONNMAN
|
config BR2_PACKAGE_LIBEDBUS_CONNMAN
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
comment "libedje needs a toolchain w/ threads"
|
comment "libedje needs a toolchain w/ threads"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBEDJE
|
config BR2_PACKAGE_LIBEDJE
|
||||||
|
@ -11,7 +10,6 @@ config BR2_PACKAGE_LIBEDJE
|
||||||
select BR2_PACKAGE_LIBEMBRYO
|
select BR2_PACKAGE_LIBEMBRYO
|
||||||
select BR2_PACKAGE_LIBEVAS
|
select BR2_PACKAGE_LIBEVAS
|
||||||
select BR2_PACKAGE_LUA
|
select BR2_PACKAGE_LUA
|
||||||
depends on !BR2_avr32 # libevas
|
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
|
||||||
help
|
help
|
||||||
A graphical layout and animation library for animated
|
A graphical layout and animation library for animated
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
comment "libelementary needs a toolchain w/ threads"
|
comment "libelementary needs a toolchain w/ threads"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBELEMENTARY
|
config BR2_PACKAGE_LIBELEMENTARY
|
||||||
|
@ -8,7 +7,6 @@ config BR2_PACKAGE_LIBELEMENTARY
|
||||||
select BR2_PACKAGE_LIBEVAS
|
select BR2_PACKAGE_LIBEVAS
|
||||||
select BR2_PACKAGE_LIBECORE
|
select BR2_PACKAGE_LIBECORE
|
||||||
select BR2_PACKAGE_LIBEDJE
|
select BR2_PACKAGE_LIBEDJE
|
||||||
depends on !BR2_avr32 # libevas
|
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
|
||||||
help
|
help
|
||||||
Elementary is a widget toolkit and EFL wrapper and convenience
|
Elementary is a widget toolkit and EFL wrapper and convenience
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
comment "libethumb needs a toolchain w/ threads"
|
comment "libethumb needs a toolchain w/ threads"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBETHUMB
|
config BR2_PACKAGE_LIBETHUMB
|
||||||
|
@ -9,7 +8,6 @@ config BR2_PACKAGE_LIBETHUMB
|
||||||
select BR2_PACKAGE_LIBECORE
|
select BR2_PACKAGE_LIBECORE
|
||||||
select BR2_PACKAGE_LIBECORE_EVAS
|
select BR2_PACKAGE_LIBECORE_EVAS
|
||||||
select BR2_PACKAGE_LIBEDJE
|
select BR2_PACKAGE_LIBEDJE
|
||||||
depends on !BR2_avr32 # libevas
|
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
|
||||||
help
|
help
|
||||||
Ethumb is a library for generating thumbnail images of documents.
|
Ethumb is a library for generating thumbnail images of documents.
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
comment "libevas needs a toolchain w/ threads"
|
comment "libevas needs a toolchain w/ threads"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBEVAS
|
config BR2_PACKAGE_LIBEVAS
|
||||||
bool "libevas"
|
bool "libevas"
|
||||||
depends on !BR2_avr32 # no epoll_create1 or inotify_init1
|
|
||||||
# libevas should normally build without threads, but due to a
|
# libevas should normally build without threads, but due to a
|
||||||
# build issue when the async preloader is disabled, which is
|
# build issue when the async preloader is disabled, which is
|
||||||
# needed when no threads are available, we don't allow evas to
|
# needed when no threads are available, we don't allow evas to
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
comment "elfutils needs a toolchain w/ largefile, wchar, dynamic library"
|
comment "elfutils needs a toolchain w/ largefile, wchar, dynamic library"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on !BR2_bfin
|
depends on !BR2_bfin
|
||||||
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||||
|
|
||||||
|
@ -10,9 +9,6 @@ config BR2_PACKAGE_ELFUTILS
|
||||||
depends on BR2_LARGEFILE
|
depends on BR2_LARGEFILE
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
# canonicalize_file_name() not available on uClibc 0.9.31, used
|
|
||||||
# only for AVR32
|
|
||||||
depends on !BR2_avr32
|
|
||||||
# build issue caused by the _ prefix used on blackfin for
|
# build issue caused by the _ prefix used on blackfin for
|
||||||
# assembly symbols
|
# assembly symbols
|
||||||
depends on !BR2_bfin
|
depends on !BR2_bfin
|
||||||
|
|
|
@ -26,7 +26,6 @@ config BR2_PACKAGE_ENLIGHTENMENT
|
||||||
# libedbus -> dbus, efl libraries
|
# libedbus -> dbus, efl libraries
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_PACKAGE_XORG7
|
depends on BR2_PACKAGE_XORG7
|
||||||
depends on !BR2_avr32 # libevas
|
|
||||||
# libevas-generic-loaders-svg -> librsvg -> pango -> cairo
|
# libevas-generic-loaders-svg -> librsvg -> pango -> cairo
|
||||||
depends on BR2_ARCH_HAS_ATOMICS
|
depends on BR2_ARCH_HAS_ATOMICS
|
||||||
help
|
help
|
||||||
|
@ -42,4 +41,3 @@ comment "enlightenment needs a toolchain w/ wchar, C++, threads"
|
||||||
depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU
|
depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU
|
||||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_ARCH_HAS_ATOMICS
|
depends on BR2_ARCH_HAS_ATOMICS
|
||||||
depends on !BR2_avr32
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
config BR2_PACKAGE_EUDEV
|
config BR2_PACKAGE_EUDEV
|
||||||
bool "eudev"
|
bool "eudev"
|
||||||
depends on !BR2_avr32 # no epoll_create1
|
|
||||||
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
||||||
depends on BR2_USE_MMU # uses fork()
|
depends on BR2_USE_MMU # uses fork()
|
||||||
depends on BR2_LARGEFILE # util-linux
|
depends on BR2_LARGEFILE # util-linux
|
||||||
|
@ -32,11 +31,9 @@ config BR2_PACKAGE_EUDEV_RULES_GEN
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "eudev needs eudev /dev management"
|
comment "eudev needs eudev /dev management"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
||||||
|
|
||||||
comment "eudev needs a toolchain w/ largefile, wchar, dynamic library"
|
comment "eudev needs a toolchain w/ largefile, wchar, dynamic library"
|
||||||
depends on !BR2_avr32
|
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||||
|
|
2
package/exfat-utils/exfat-utils.hash
Normal file
2
package/exfat-utils/exfat-utils.hash
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# From https://code.google.com/p/exfat/wiki/Downloads?tm=2
|
||||||
|
sha1 ddf0819c27aeb3eaae5aae0423d4dafc54d477da exfat-utils-1.1.1.tar.gz
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
EXFAT_UTILS_VERSION = 1.1.0
|
EXFAT_UTILS_VERSION = 1.1.1
|
||||||
EXFAT_UTILS_SITE = http://distfiles.gentoo.org/distfiles
|
EXFAT_UTILS_SITE = http://distfiles.gentoo.org/distfiles
|
||||||
EXFAT_UTILS_DEPENDENCIES = host-scons
|
EXFAT_UTILS_DEPENDENCIES = host-scons
|
||||||
EXFAT_UTILS_LICENSE = GPLv3+
|
EXFAT_UTILS_LICENSE = GPLv3+
|
||||||
|
|
2
package/exfat/exfat.hash
Normal file
2
package/exfat/exfat.hash
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# From https://code.google.com/p/exfat/wiki/Downloads?tm=2
|
||||||
|
sha1 060560f74dbce4dc947c7e658e75fdf339bc10ff fuse-exfat-1.1.0.tar.gz
|
|
@ -1,48 +0,0 @@
|
||||||
diff -ur fbv-1.0b/fb_display.c fbv-1.0b-avr32/fb_display.c
|
|
||||||
--- fbv-1.0b/fb_display.c 2004-09-07 14:09:43.000000000 +0200
|
|
||||||
+++ fbv-1.0b-avr32/fb_display.c 2006-05-04 13:30:25.000000000 +0200
|
|
||||||
@@ -276,9 +276,6 @@
|
|
||||||
for(i = 0; i < yc; i++, fbptr += scr_xs * cpp, imptr += pic_xs * cpp)
|
|
||||||
memcpy(fbptr, imptr, xc * cpp);
|
|
||||||
|
|
||||||
- if(cpp == 1)
|
|
||||||
- set8map(fh, &map_back);
|
|
||||||
-
|
|
||||||
munmap(fb, scr_xs * scr_ys * cpp);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -293,17 +290,17 @@
|
|
||||||
inline static unsigned short make15color(unsigned char r, unsigned char g, unsigned char b)
|
|
||||||
{
|
|
||||||
return (
|
|
||||||
- (((r >> 3) & 31) << 10) |
|
|
||||||
+ (((r >> 3) & 31)) |
|
|
||||||
(((g >> 3) & 31) << 5) |
|
|
||||||
- ((b >> 3) & 31) );
|
|
||||||
+ ((b >> 3) & 31) << 10);
|
|
||||||
}
|
|
||||||
|
|
||||||
inline static unsigned short make16color(unsigned char r, unsigned char g, unsigned char b)
|
|
||||||
{
|
|
||||||
return (
|
|
||||||
- (((r >> 3) & 31) << 11) |
|
|
||||||
- (((g >> 2) & 63) << 5) |
|
|
||||||
- ((b >> 3) & 31) );
|
|
||||||
+ (((r >> 3) & 31)) |
|
|
||||||
+ (((g >> 3) & 31) << 5) |
|
|
||||||
+ ((b >> 3) & 31) << 10);
|
|
||||||
}
|
|
||||||
|
|
||||||
void* convertRGB2FB(int fh, unsigned char *rgbbuff, unsigned long count, int bpp, int *cpp)
|
|
||||||
@@ -342,9 +339,9 @@
|
|
||||||
*cpp = 4;
|
|
||||||
i_fbbuff = (unsigned int *) malloc(count * sizeof(unsigned int));
|
|
||||||
for(i = 0; i < count ; i++)
|
|
||||||
- i_fbbuff[i] = ((rgbbuff[i*3] << 16) & 0xFF0000) |
|
|
||||||
+ i_fbbuff[i] = ((rgbbuff[i*3+2] << 16) & 0xFF0000) |
|
|
||||||
((rgbbuff[i*3+1] << 8) & 0xFF00) |
|
|
||||||
- (rgbbuff[i*3+2] & 0xFF);
|
|
||||||
+ (rgbbuff[i*3] & 0xFF);
|
|
||||||
fbbuff = (void *) i_fbbuff;
|
|
||||||
break;
|
|
||||||
default:
|
|
|
@ -1,2 +1,2 @@
|
||||||
# Locally calculated
|
# Locally calculated
|
||||||
sha256 9d383d7ef9dffe6980849a93accfef848e197fdac9b1fbd02fca2798f863411a ffmpeg-2.5.3.tar.bz2
|
sha256 cc91c166c2b0ad9aacc533e4d5637912df583b43834c68aeec12ded7e082a286 ffmpeg-2.5.4.tar.bz2
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
FFMPEG_VERSION = 2.5.3
|
FFMPEG_VERSION = 2.5.4
|
||||||
FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.bz2
|
FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.bz2
|
||||||
FFMPEG_SITE = http://ffmpeg.org/releases
|
FFMPEG_SITE = http://ffmpeg.org/releases
|
||||||
FFMPEG_INSTALL_STAGING = YES
|
FFMPEG_INSTALL_STAGING = YES
|
||||||
|
|
|
@ -7,10 +7,8 @@ config BR2_PACKAGE_FIO
|
||||||
# release of uClibc, but is part of uClibc Git, and backported
|
# release of uClibc, but is part of uClibc Git, and backported
|
||||||
# in Buildroot patch set of uClibc 0.9.33. Therefore, we
|
# in Buildroot patch set of uClibc 0.9.33. Therefore, we
|
||||||
# disable the build of fio for external uClibc toolchains
|
# disable the build of fio for external uClibc toolchains
|
||||||
# (which use an unknown uClibc version) and for 0.9.31 which
|
# (which use an unknown uClibc version)
|
||||||
# don't have posix_madvise().
|
depends on !BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
||||||
depends on !BR2_TOOLCHAIN_EXTERNAL_UCLIBC && \
|
|
||||||
!BR2_UCLIBC_VERSION_0_9_31
|
|
||||||
# fio uses fallocate() which becomes fallocate64() while compiling
|
# fio uses fallocate() which becomes fallocate64() while compiling
|
||||||
# with BR2_LARGEFILE but fallocate64() is not available on nios2
|
# with BR2_LARGEFILE but fallocate64() is not available on nios2
|
||||||
depends on !BR2_nios2
|
depends on !BR2_nios2
|
||||||
|
|
4
package/fltk/fltk.hash
Normal file
4
package/fltk/fltk.hash
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# From http://www.fltk.org/software.php?VERSION=1.3.3
|
||||||
|
md5 9ccdb0d19dc104b87179bd9fd10822e3 fltk-1.3.3-source.tar.gz
|
||||||
|
# Locally generated
|
||||||
|
sha256 f8398d98d7221d40e77bc7b19e761adaf2f1ef8bb0c30eceb7beb4f2273d0d97 fltk-1.3.3-source.tar.gz
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
FLTK_VERSION = 1.3.2
|
FLTK_VERSION = 1.3.3
|
||||||
FLTK_SOURCE = fltk-$(FLTK_VERSION)-source.tar.gz
|
FLTK_SOURCE = fltk-$(FLTK_VERSION)-source.tar.gz
|
||||||
FLTK_SITE = http://fltk.org/pub/fltk/$(FLTK_VERSION)
|
FLTK_SITE = http://fltk.org/pub/fltk/$(FLTK_VERSION)
|
||||||
FLTK_INSTALL_STAGING = YES
|
FLTK_INSTALL_STAGING = YES
|
||||||
|
@ -27,6 +27,20 @@ FLTK_CONF_OPTS += --enable-cairo
|
||||||
FLTK_DEPENDENCIES += cairo
|
FLTK_DEPENDENCIES += cairo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
|
||||||
|
FLTK_DEPENDENCIES += xlib_libXcursor
|
||||||
|
FLTK_CONF_OPTS += --enable-xcursor
|
||||||
|
else
|
||||||
|
FLTK_CONF_OPTS += --disable-xcursor
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
|
||||||
|
FLTK_DEPENDENCIES += xlib_libXfixes
|
||||||
|
FLTK_CONF_OPTS += --enable-xfixes
|
||||||
|
else
|
||||||
|
FLTK_CONF_OPTS += --disable-xfixes
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
|
||||||
FLTK_CONF_ENV += ac_cv_path_FTCONFIG=$(STAGING_DIR)/usr/bin/freetype-config
|
FLTK_CONF_ENV += ac_cv_path_FTCONFIG=$(STAGING_DIR)/usr/bin/freetype-config
|
||||||
FLTK_DEPENDENCIES += xlib_libXft
|
FLTK_DEPENDENCIES += xlib_libXft
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
# Locally computed:
|
# Locally computed:
|
||||||
sha256 05cc2149b79155121cb0fff6d4fd0289e3edb669390714e0b54071bec987e686 fluxbox-1.3.6.tar.bz2
|
sha256 fc8c75fe94c54ed5a5dd3fd4a752109f8949d6df67a48e5b11a261403c382ec0 fluxbox-1.3.7.tar.xz
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
FLUXBOX_VERSION = 1.3.6
|
FLUXBOX_VERSION = 1.3.7
|
||||||
FLUXBOX_SOURCE = fluxbox-$(FLUXBOX_VERSION).tar.bz2
|
FLUXBOX_SOURCE = fluxbox-$(FLUXBOX_VERSION).tar.xz
|
||||||
FLUXBOX_SITE = http://downloads.sourceforge.net/project/fluxbox/fluxbox/$(FLUXBOX_VERSION)
|
FLUXBOX_SITE = http://downloads.sourceforge.net/project/fluxbox/fluxbox/$(FLUXBOX_VERSION)
|
||||||
FLUXBOX_LICENSE = MIT
|
FLUXBOX_LICENSE = MIT
|
||||||
FLUXBOX_LICENSE_FILES = COPYING
|
FLUXBOX_LICENSE_FILES = COPYING
|
||||||
|
|
|
@ -1,14 +1,43 @@
|
||||||
config BR2_PACKAGE_FREERDP
|
config BR2_PACKAGE_FREERDP
|
||||||
bool "freerdp"
|
bool "freerdp"
|
||||||
|
depends on BR2_USE_WCHAR
|
||||||
select BR2_PACKAGE_OPENSSL
|
select BR2_PACKAGE_OPENSSL
|
||||||
select BR2_PACKAGE_XLIB_LIBX11
|
|
||||||
select BR2_PACKAGE_XLIB_LIBXT
|
|
||||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
||||||
select BR2_PACKAGE_XLIB_LIBXCURSOR
|
|
||||||
select BR2_PACKAGE_ZLIB
|
select BR2_PACKAGE_ZLIB
|
||||||
depends on BR2_PACKAGE_XORG7
|
|
||||||
help
|
help
|
||||||
FreeRDP is a free implementation of the Remote Desktop
|
FreeRDP is a free implementation of the Remote Desktop
|
||||||
Protocol (RDP), released under the Apache license
|
Protocol (RDP), released under the Apache license
|
||||||
|
|
||||||
|
This only installs the freerdp library.
|
||||||
|
|
||||||
http://www.freerdp.com/
|
http://www.freerdp.com/
|
||||||
|
|
||||||
|
Note: this also installs a key and certificate in
|
||||||
|
/etc/freerdp/keys/ . These are publicly-known, as they
|
||||||
|
are present in FreeRDP's source tree. It is strongly
|
||||||
|
suggested that you overwrite them with your own set,
|
||||||
|
either in an overlay rootfs or in a post-build script.
|
||||||
|
|
||||||
|
if BR2_PACKAGE_FREERDP
|
||||||
|
|
||||||
|
config BR2_PACKAGE_FREERDP_SERVER
|
||||||
|
bool "build server"
|
||||||
|
depends on BR2_PACKAGE_XORG7
|
||||||
|
select BR2_PACKAGE_XLIB_LIBX11
|
||||||
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
||||||
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||||
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
||||||
|
|
||||||
|
config BR2_PACKAGE_FREERDP_CLIENT
|
||||||
|
bool "build client"
|
||||||
|
default y
|
||||||
|
depends on BR2_PACKAGE_XORG7
|
||||||
|
select BR2_PACKAGE_XLIB_LIBX11
|
||||||
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||||
|
|
||||||
|
comment "freerdp server and client need X.Org"
|
||||||
|
depends on !BR2_PACKAGE_XORG7
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
comment "freerdp needs a toolchain w/ wchar"
|
||||||
|
depends on !BR2_USE_WCHAR
|
||||||
|
|
23
package/freerdp/freerdp-0002-fix-building-shared-libs.patch
Normal file
23
package/freerdp/freerdp-0002-fix-building-shared-libs.patch
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
winpr/tools: fix building shared libs
|
||||||
|
|
||||||
|
libwinpr-makecert-tool.a is used to build libxfreerdp-server.so, so even
|
||||||
|
if we are building a static libwinpr-makecert-tool.a library, we need to
|
||||||
|
build it with -fPIC.
|
||||||
|
|
||||||
|
Patch and commit log suggested by Samuel MARTIN.
|
||||||
|
|
||||||
|
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||||
|
Cc: Samuel Martin <s.martin49@gmail.com>
|
||||||
|
|
||||||
|
diff -durN freerdp-440916eae2e07463912d5fe507677e67096eb083.orig/winpr/tools/makecert/CMakeLists.txt freerdp-440916eae2e07463912d5fe507677e67096eb083/winpr/tools/makecert/CMakeLists.txt
|
||||||
|
--- freerdp-440916eae2e07463912d5fe507677e67096eb083.orig/winpr/tools/makecert/CMakeLists.txt 2014-08-25 06:52:43.000000000 -0700
|
||||||
|
+++ freerdp-440916eae2e07463912d5fe507677e67096eb083/winpr/tools/makecert/CMakeLists.txt 2014-10-24 15:39:39.600319523 -0700
|
||||||
|
@@ -43,3 +43,8 @@
|
||||||
|
|
||||||
|
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Tools")
|
||||||
|
|
||||||
|
+if(BUILD_SHARED_LIBS)
|
||||||
|
+ # build libwinpr-makecert-tool.a with PIC because it is used to build
|
||||||
|
+ # the shared library libxfreerdp-server.so.
|
||||||
|
+ set_property(TARGET ${MODULE_NAME} PROPERTY POSITION_INDEPENDENT_CODE TRUE)
|
||||||
|
+endif()
|
|
@ -5,14 +5,22 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Changeset on the stable-1.1 branch
|
# Changeset on the stable-1.1 branch
|
||||||
FREERDP_VERSION = 440916eae2e07463912d5fe507677e67096eb083
|
FREERDP_VERSION = b21ff842ef3de5837513042dc30488b12bd9cf9d
|
||||||
FREERDP_SITE = $(call github,FreeRDP,FreeRDP,$(FREERDP_VERSION))
|
FREERDP_SITE = $(call github,FreeRDP,FreeRDP,$(FREERDP_VERSION))
|
||||||
FREERDP_DEPENDENCIES = openssl zlib \
|
FREERDP_DEPENDENCIES = openssl zlib
|
||||||
xlib_libX11 xlib_libXt xlib_libXext xlib_libXcursor
|
|
||||||
FREERDP_LICENSE = Apache-2.0
|
FREERDP_LICENSE = Apache-2.0
|
||||||
FREERDP_LICENSE_FILES = LICENSE
|
FREERDP_LICENSE_FILES = LICENSE
|
||||||
|
|
||||||
FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF
|
FREERDP_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF -Wno-dev
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GSTREAMER),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_GSTREAMER=ON
|
||||||
|
FREERDP_DEPENDENCIES += gstreamer
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_GSTREAMER=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_CUPS),y)
|
ifeq ($(BR2_PACKAGE_CUPS),y)
|
||||||
FREERDP_CONF_OPTS += -DWITH_CUPS=ON
|
FREERDP_CONF_OPTS += -DWITH_CUPS=ON
|
||||||
|
@ -42,27 +50,6 @@ else
|
||||||
FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF
|
FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
|
||||||
FREERDP_CONF_OPTS += -DWITH_XINERAMA=ON
|
|
||||||
FREERDP_DEPENDENCIES += xlib_libXinerama
|
|
||||||
else
|
|
||||||
FREERDP_CONF_OPTS += -DWITH_XINERAMA=OFF
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y)
|
|
||||||
FREERDP_CONF_OPTS += -DWITH_XKBFILE=ON
|
|
||||||
FREERDP_DEPENDENCIES += xlib_libxkbfile
|
|
||||||
else
|
|
||||||
FREERDP_CONF_OPTS += -DWITH_XKBFILE=OFF
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
|
|
||||||
FREERDP_CONF_OPTS += -DWITH_XV=ON
|
|
||||||
FREERDP_DEPENDENCIES += xlib_libXv
|
|
||||||
else
|
|
||||||
FREERDP_CONF_OPTS += -DWITH_XV=OFF
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
||||||
FREERDP_CONF_OPTS += -DWITH_NEON=ON
|
FREERDP_CONF_OPTS += -DWITH_NEON=ON
|
||||||
else
|
else
|
||||||
|
@ -79,4 +66,121 @@ ifeq ($(BR2_arm)$(BR2_armeb),y)
|
||||||
FREERDP_CONF_OPTS += -DARM_FP_ABI=$(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
|
FREERDP_CONF_OPTS += -DARM_FP_ABI=$(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#---------------------------------------
|
||||||
|
# Enabling server and/or client
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_FREERDP_SERVER),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_SERVER=ON -DWITH_SERVER_INTERFACE=ON
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_SERVER=OFF -DWITH_SERVER_INTERFACE=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_FREERDP_CLIENT),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_CLIENT=ON -DWITH_CLIENT_INTERFACE=ON
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_CLIENT=OFF -DWITH_CLIENT_INTERFACE=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
#---------------------------------------
|
||||||
|
# X.Org libs for client and/or server
|
||||||
|
|
||||||
|
ifneq ($(BR2_PACKAGE_FREERDP_SERVER)$(BR2_PACKAGE_FREERDP_CLIENT),)
|
||||||
|
|
||||||
|
# Those two are mandatory for both the server and the client
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXext
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_X11=ON
|
||||||
|
|
||||||
|
# The following libs are either optional or mandatory only for either
|
||||||
|
# the server or the client. A mandatory library for either one is
|
||||||
|
# selected from Kconfig, so we can make it conditional here
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XCURSOR=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXcursor
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XCURSOR=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XDAMAGE=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXdamage
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XDAMAGE=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XFIXES=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXfixes
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XFIXES=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XI=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXi
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XI=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XINERAMA=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXinerama
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XINERAMA=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XKBFILE=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libxkbfile
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XKBFILE=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XRANDR=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXrandr
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XRANDR=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XRENDER=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXrender
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XRENDER=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXTST),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XTEST=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXtst
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XTEST=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XV=ON
|
||||||
|
FREERDP_DEPENDENCIES += xlib_libXv
|
||||||
|
else
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_XV=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
else # ! SERVER && ! CLIENT
|
||||||
|
|
||||||
|
FREERDP_CONF_OPTS += -DWITH_X11=OFF
|
||||||
|
|
||||||
|
endif # ! SERVER && ! CLIENT
|
||||||
|
|
||||||
|
# Install the server key and certificate, so that a client can connect.
|
||||||
|
# A user can override them with its own in a post-build script, if needed.
|
||||||
|
# We install them even if the server is not enabled, since another server
|
||||||
|
# can be built and linked with libfreerdp (e.g. weston with the RDP
|
||||||
|
# backend). Key and cert are installed world-readable, so non-root users
|
||||||
|
# can start a server.
|
||||||
|
define FREERDP_INSTALL_KEYS
|
||||||
|
$(INSTALL) -m 0644 -D $(@D)/server/X11/server.key \
|
||||||
|
$(TARGET_DIR)/etc/freerdp/keys/server.key
|
||||||
|
$(INSTALL) -m 0644 -D $(@D)/server/X11/server.crt \
|
||||||
|
$(TARGET_DIR)/etc/freerdp/keys/server.crt
|
||||||
|
endef
|
||||||
|
FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_INSTALL_KEYS
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
|
|
@ -11,7 +11,7 @@ config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
|
||||||
select BR2_PACKAGE_LIBAIO
|
select BR2_PACKAGE_LIBAIO
|
||||||
# libaio is available only on few architectures
|
# libaio is available only on few architectures
|
||||||
depends on \
|
depends on \
|
||||||
BR2_arm || BR2_armeb || BR2_avr32 || BR2_i386 || \
|
BR2_arm || BR2_armeb || BR2_i386 || \
|
||||||
BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
||||||
BR2_sparc || BR2_x86_64
|
BR2_sparc || BR2_x86_64
|
||||||
help
|
help
|
||||||
|
|
|
@ -1,49 +0,0 @@
|
||||||
--- gcc-4.2.4/gcc/unwind-sjlj.c.khem 2010-08-11 12:45:28.000000000 -0700
|
|
||||||
+++ gcc-4.2.4/gcc/unwind-sjlj.c 2010-08-11 12:45:50.000000000 -0700
|
|
||||||
@@ -28,6 +28,8 @@
|
|
||||||
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
|
||||||
02110-1301, USA. */
|
|
||||||
|
|
||||||
+#ifndef inhibit_libc
|
|
||||||
+
|
|
||||||
#include "tconfig.h"
|
|
||||||
#include "tsystem.h"
|
|
||||||
#include "coretypes.h"
|
|
||||||
@@ -326,3 +328,4 @@ uw_identify_context (struct _Unwind_Cont
|
|
||||||
#include "unwind.inc"
|
|
||||||
|
|
||||||
#endif /* USING_SJLJ_EXCEPTIONS */
|
|
||||||
+#endif
|
|
||||||
--- gcc-4.2.4/gcc/unwind-dw2.c.khem 2010-08-11 12:42:45.000000000 -0700
|
|
||||||
+++ gcc-4.2.4/gcc/unwind-dw2.c 2010-08-11 12:43:17.000000000 -0700
|
|
||||||
@@ -28,6 +28,8 @@
|
|
||||||
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
|
||||||
02110-1301, USA. */
|
|
||||||
|
|
||||||
+#ifndef inhibit_libc
|
|
||||||
+
|
|
||||||
#include "tconfig.h"
|
|
||||||
#include "tsystem.h"
|
|
||||||
#include "coretypes.h"
|
|
||||||
@@ -1537,3 +1539,5 @@ alias (_Unwind_SetIP);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* !USING_SJLJ_EXCEPTIONS */
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
--- gcc-4.2.4/gcc/unwind-dw2-fde-glibc.c.khem 2010-08-11 12:44:25.000000000 -0700
|
|
||||||
+++ gcc-4.2.4/gcc/unwind-dw2-fde-glibc.c 2010-08-11 12:44:48.000000000 -0700
|
|
||||||
@@ -29,6 +29,8 @@
|
|
||||||
segment and dl_iterate_phdr to avoid register/deregister calls at
|
|
||||||
DSO load/unload. */
|
|
||||||
|
|
||||||
+#ifndef inhibit_libc
|
|
||||||
+
|
|
||||||
#ifndef _GNU_SOURCE
|
|
||||||
#define _GNU_SOURCE 1
|
|
||||||
#endif
|
|
||||||
@@ -438,3 +440,4 @@ _Unwind_Find_FDE (void *pc, struct dwarf
|
|
||||||
#if defined (USE_GAS_SYMVER) && defined (SHARED) && defined (USE_LIBUNWIND_EXCEPTIONS)
|
|
||||||
alias (_Unwind_Find_FDE);
|
|
||||||
#endif
|
|
||||||
+#endif
|
|
|
@ -1,16 +0,0 @@
|
||||||
Index: trunk/gcc/config/avr32/avr32.c
|
|
||||||
===================================================================
|
|
||||||
--- trunk/gcc/config/avr32/avr32.c (revision 43495)
|
|
||||||
+++ trunk/gcc/config/avr32/avr32.c (revision 43496)
|
|
||||||
@@ -6499,6 +6499,11 @@
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ /* Check if we have a call and the register is used as an argument. */
|
|
||||||
+ if (CALL_P (scan)
|
|
||||||
+ && find_reg_fusage (scan, USE, reg) )
|
|
||||||
+ break;
|
|
||||||
+
|
|
||||||
if (!reg_mentioned_p (reg, PATTERN (scan)))
|
|
||||||
continue;
|
|
||||||
|
|
|
@ -1,150 +0,0 @@
|
||||||
Index: gcc-4.2.2/gcc/config/avr32/avr32.c
|
|
||||||
===================================================================
|
|
||||||
--- gcc-4.2.2.orig/gcc/config/avr32/avr32.c 2008-09-19 14:29:20.000000000 +0200
|
|
||||||
+++ gcc-4.2.2/gcc/config/avr32/avr32.c 2008-09-19 14:30:02.000000000 +0200
|
|
||||||
@@ -1788,7 +1788,7 @@
|
|
||||||
{
|
|
||||||
if (TREE_CODE (*node) != FUNCTION_DECL)
|
|
||||||
{
|
|
||||||
- warning ("`%s' attribute only applies to functions",
|
|
||||||
+ warning (OPT_Wattributes,"`%s' attribute only applies to functions",
|
|
||||||
IDENTIFIER_POINTER (name));
|
|
||||||
*no_add_attrs = true;
|
|
||||||
}
|
|
||||||
@@ -1802,7 +1802,7 @@
|
|
||||||
{
|
|
||||||
if (avr32_isr_value (args) == AVR32_FT_UNKNOWN)
|
|
||||||
{
|
|
||||||
- warning ("`%s' attribute ignored", IDENTIFIER_POINTER (name));
|
|
||||||
+ warning (OPT_Wattributes,"`%s' attribute ignored", IDENTIFIER_POINTER (name));
|
|
||||||
*no_add_attrs = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1829,7 +1829,7 @@
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
- warning ("`%s' attribute ignored", IDENTIFIER_POINTER (name));
|
|
||||||
+ warning (OPT_Wattributes,"`%s' attribute ignored", IDENTIFIER_POINTER (name));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1847,7 +1847,7 @@
|
|
||||||
{
|
|
||||||
if (TREE_CODE (*node) != FUNCTION_DECL)
|
|
||||||
{
|
|
||||||
- warning ("%qs attribute only applies to functions",
|
|
||||||
+ warning (OPT_Wattributes,"%qs attribute only applies to functions",
|
|
||||||
IDENTIFIER_POINTER (name));
|
|
||||||
*no_add_attrs = true;
|
|
||||||
}
|
|
||||||
@@ -1866,13 +1866,13 @@
|
|
||||||
{
|
|
||||||
if (TREE_CODE (*node) == FUNCTION_TYPE || TREE_CODE (*node) == METHOD_TYPE)
|
|
||||||
{
|
|
||||||
- warning ("`%s' attribute not yet supported...",
|
|
||||||
+ warning (OPT_Wattributes,"`%s' attribute not yet supported...",
|
|
||||||
IDENTIFIER_POINTER (name));
|
|
||||||
*no_add_attrs = true;
|
|
||||||
return NULL_TREE;
|
|
||||||
}
|
|
||||||
|
|
||||||
- warning ("`%s' attribute only applies to functions",
|
|
||||||
+ warning (OPT_Wattributes,"`%s' attribute only applies to functions",
|
|
||||||
IDENTIFIER_POINTER (name));
|
|
||||||
*no_add_attrs = true;
|
|
||||||
return NULL_TREE;
|
|
||||||
@@ -4215,51 +4215,6 @@
|
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
-avr32_asm_output_ascii (FILE * stream, char *ptr, int len)
|
|
||||||
-{
|
|
||||||
- int i, i_new = 0;
|
|
||||||
- char *new_ptr = xmalloc (4 * len);
|
|
||||||
- if (new_ptr == NULL)
|
|
||||||
- internal_error ("Out of memory.");
|
|
||||||
-
|
|
||||||
- for (i = 0; i < len; i++)
|
|
||||||
- {
|
|
||||||
- if (ptr[i] == '\n')
|
|
||||||
- {
|
|
||||||
- new_ptr[i_new++] = '\\';
|
|
||||||
- new_ptr[i_new++] = '0';
|
|
||||||
- new_ptr[i_new++] = '1';
|
|
||||||
- new_ptr[i_new++] = '2';
|
|
||||||
- }
|
|
||||||
- else if (ptr[i] == '\"')
|
|
||||||
- {
|
|
||||||
- new_ptr[i_new++] = '\\';
|
|
||||||
- new_ptr[i_new++] = '\"';
|
|
||||||
- }
|
|
||||||
- else if (ptr[i] == '\\')
|
|
||||||
- {
|
|
||||||
- new_ptr[i_new++] = '\\';
|
|
||||||
- new_ptr[i_new++] = '\\';
|
|
||||||
- }
|
|
||||||
- else if (ptr[i] == '\0' && i + 1 < len)
|
|
||||||
- {
|
|
||||||
- new_ptr[i_new++] = '\\';
|
|
||||||
- new_ptr[i_new++] = '0';
|
|
||||||
- }
|
|
||||||
- else
|
|
||||||
- {
|
|
||||||
- new_ptr[i_new++] = ptr[i];
|
|
||||||
- }
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
- /* Terminate new_ptr. */
|
|
||||||
- new_ptr[i_new] = '\0';
|
|
||||||
- fprintf (stream, "\t.ascii\t\"%s\"\n", new_ptr);
|
|
||||||
- free (new_ptr);
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-void
|
|
||||||
avr32_asm_output_label (FILE * stream, const char *name)
|
|
||||||
{
|
|
||||||
name = avr32_strip_name_encoding (name);
|
|
||||||
@@ -4444,12 +4399,15 @@
|
|
||||||
rtx cmp;
|
|
||||||
rtx cmp_op0, cmp_op1;
|
|
||||||
rtx cond;
|
|
||||||
+ rtx dest;
|
|
||||||
+
|
|
||||||
if ( GET_CODE (exp) == COND_EXEC )
|
|
||||||
{
|
|
||||||
cmp_op0 = XEXP (COND_EXEC_TEST (exp), 0);
|
|
||||||
cmp_op1 = XEXP (COND_EXEC_TEST (exp), 1);
|
|
||||||
cond = COND_EXEC_TEST (exp);
|
|
||||||
- }
|
|
||||||
+ dest = SET_DEST (COND_EXEC_CODE (exp));
|
|
||||||
+ }
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* If then else conditional. compare operands are in operands
|
|
||||||
@@ -4457,6 +4415,7 @@
|
|
||||||
cmp_op0 = recog_data.operand[4];
|
|
||||||
cmp_op1 = recog_data.operand[5];
|
|
||||||
cond = recog_data.operand[1];
|
|
||||||
+ dest = SET_DEST (exp);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( GET_CODE (cmp_op0) == AND )
|
|
||||||
@@ -4466,7 +4425,15 @@
|
|
||||||
cmp_op0,
|
|
||||||
cmp_op1);
|
|
||||||
|
|
||||||
- if (is_compare_redundant (cmp, cond) == NULL_RTX)
|
|
||||||
+ /* Check if the conditional insns updates a register present
|
|
||||||
+ in the comparison, if so then we must reset the cc_status. */
|
|
||||||
+ if (REG_P (dest)
|
|
||||||
+ && (reg_mentioned_p (dest, cmp_op0)
|
|
||||||
+ || reg_mentioned_p (dest, cmp_op1)))
|
|
||||||
+ {
|
|
||||||
+ CC_STATUS_INIT;
|
|
||||||
+ }
|
|
||||||
+ else if (is_compare_redundant (cmp, cond) == NULL_RTX)
|
|
||||||
{
|
|
||||||
/* Reset the nonstandard flag */
|
|
||||||
CC_STATUS_INIT;
|
|
|
@ -1,31 +0,0 @@
|
||||||
Index: gcc-4.2.2/gcc/config/avr32/avr32.md
|
|
||||||
===================================================================
|
|
||||||
--- gcc-4.2.2.orig/gcc/config/avr32/avr32.md 2008-09-19 14:23:34.000000000 +0200
|
|
||||||
+++ gcc-4.2.2/gcc/config/avr32/avr32.md 2008-09-19 14:30:18.000000000 +0200
|
|
||||||
@@ -803,14 +803,22 @@
|
|
||||||
(define_insn "*movsf_internal"
|
|
||||||
[(set (match_operand:SF 0 "nonimmediate_operand" "=r,r,r,r,m")
|
|
||||||
(match_operand:SF 1 "general_operand" "r, G,F,m,r"))]
|
|
||||||
- "TARGET_SOFT_FLOAT
|
|
||||||
- && (register_operand (operands[0], SFmode)
|
|
||||||
- || register_operand (operands[1], SFmode))"
|
|
||||||
+ "(register_operand (operands[0], SFmode)
|
|
||||||
+ || register_operand (operands[1], SFmode))"
|
|
||||||
{
|
|
||||||
switch (which_alternative) {
|
|
||||||
case 0:
|
|
||||||
case 1: return "mov\t%0, %1";
|
|
||||||
- case 2: return "mov\t%0, lo(%1)\;orh\t%0, hi(%1)";
|
|
||||||
+ case 2:
|
|
||||||
+ {
|
|
||||||
+ HOST_WIDE_INT target_float[2];
|
|
||||||
+ real_to_target (target_float, CONST_DOUBLE_REAL_VALUE (operands[1]), SFmode);
|
|
||||||
+ if ( TARGET_V2_INSNS
|
|
||||||
+ && avr32_hi16_immediate_operand (GEN_INT (target_float[0]), VOIDmode) )
|
|
||||||
+ return "movh\t%0, hi(%1)";
|
|
||||||
+ else
|
|
||||||
+ return "mov\t%0, lo(%1)\;orh\t%0, hi(%1)";
|
|
||||||
+ }
|
|
||||||
case 3:
|
|
||||||
if ( (REG_P(XEXP(operands[1], 0))
|
|
||||||
&& REGNO(XEXP(operands[1], 0)) == SP_REGNUM)
|
|
|
@ -1,20 +0,0 @@
|
||||||
libstdc++-v3: fix the effects of pre-applied 300-libstdc++-pic.patch
|
|
||||||
|
|
||||||
This version of GCC comes with a number of pre-applied patches, among which is
|
|
||||||
300-libstdc++-pic.patch that makes a PIC version of libstdc++. The resulting
|
|
||||||
Makefile.in incorrectly refers to object files that should be insde the library.
|
|
||||||
|
|
||||||
Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
|
|
||||||
|
|
||||||
diff -uNrp host-gcc-final-4.2.2-avr32-2.1.5.orig/libstdc++-v3/src/Makefile.in host-gcc-final-4.2.2-avr32-2.1.5/libstdc++-v3/src/Makefile.in
|
|
||||||
--- host-gcc-final-4.2.2-avr32-2.1.5.orig/libstdc++-v3/src/Makefile.in 2008-07-04 00:18:42.000000000 +0300
|
|
||||||
+++ host-gcc-final-4.2.2-avr32-2.1.5/libstdc++-v3/src/Makefile.in 2013-08-08 16:15:56.201258882 +0300
|
|
||||||
@@ -804,7 +804,7 @@ install_debug:
|
|
||||||
|
|
||||||
install-exec-local:
|
|
||||||
ifeq ($(enable_shared),yes)
|
|
||||||
- $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
|
|
||||||
+ $(AR) cru libstdc++_pic.a .libs/*.o $(top_builddir)/libsupc++/*.o
|
|
||||||
$(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
|
|
||||||
endif
|
|
||||||
|
|
12
package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch
Normal file
12
package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Upstream status: In progress
|
||||||
|
|
||||||
|
--- a/libgcc/config/nios2/linux-atomic.c
|
||||||
|
+++ b/libgcc/config/nios2/linux-atomic.c
|
||||||
|
@@ -20,7 +20,6 @@
|
||||||
|
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||||
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
-#include <asm/unistd.h>
|
||||||
|
#define EFAULT 14
|
||||||
|
#define EBUSY 16
|
||||||
|
#define ENOSYS 38
|
|
@ -8,7 +8,6 @@ config BR2_GCC_SUPPORTS_GRAPHITE
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "GCC compiler Version"
|
prompt "GCC compiler Version"
|
||||||
default BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 if BR2_avr32
|
|
||||||
default BR2_GCC_VERSION_4_8_ARC if BR2_arc
|
default BR2_GCC_VERSION_4_8_ARC if BR2_arc
|
||||||
default BR2_GCC_VERSION_4_9_X if BR2_microblaze || BR2_powerpc64le
|
default BR2_GCC_VERSION_4_9_X if BR2_microblaze || BR2_powerpc64le
|
||||||
default BR2_GCC_VERSION_4_5_X if BR2_bfin
|
default BR2_GCC_VERSION_4_5_X if BR2_bfin
|
||||||
|
@ -16,16 +15,11 @@ choice
|
||||||
help
|
help
|
||||||
Select the version of gcc you wish to use.
|
Select the version of gcc you wish to use.
|
||||||
|
|
||||||
config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
|
|
||||||
bool "gcc 4.2.2-avr32-2.1.5"
|
|
||||||
# Only supported architecture
|
|
||||||
depends on BR2_avr32
|
|
||||||
|
|
||||||
config BR2_GCC_VERSION_4_5_X
|
config BR2_GCC_VERSION_4_5_X
|
||||||
bool "gcc 4.5.x"
|
bool "gcc 4.5.x"
|
||||||
# Broken or unsupported architectures
|
# Broken or unsupported architectures
|
||||||
depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
|
depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
|
||||||
&& !BR2_avr32 && !BR2_powerpc64le
|
&& !BR2_powerpc64le && !BR2_nios2
|
||||||
# Broken or unsupported ARM cores
|
# Broken or unsupported ARM cores
|
||||||
depends on !BR2_cortex_a7 && !BR2_cortex_a12 && \
|
depends on !BR2_cortex_a7 && !BR2_cortex_a12 && \
|
||||||
!BR2_cortex_a15 && !BR2_fa526 && !BR2_pj4
|
!BR2_cortex_a15 && !BR2_fa526 && !BR2_pj4
|
||||||
|
@ -46,7 +40,7 @@ choice
|
||||||
bool "gcc 4.7.x"
|
bool "gcc 4.7.x"
|
||||||
# Broken or unsupported architectures
|
# Broken or unsupported architectures
|
||||||
depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
|
depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
|
||||||
&& !BR2_avr32 && !BR2_bfin && !BR2_powerpc64le
|
&& !BR2_bfin && !BR2_powerpc64le && !BR2_nios2
|
||||||
# Broken or unsupported ARM cores
|
# Broken or unsupported ARM cores
|
||||||
depends on !BR2_cortex_a12 && !BR2_pj4
|
depends on !BR2_cortex_a12 && !BR2_pj4
|
||||||
# Broken or unsupported PPC cores
|
# Broken or unsupported PPC cores
|
||||||
|
@ -61,8 +55,8 @@ choice
|
||||||
config BR2_GCC_VERSION_4_8_X
|
config BR2_GCC_VERSION_4_8_X
|
||||||
bool "gcc 4.8.x"
|
bool "gcc 4.8.x"
|
||||||
# Broken or unsupported architectures
|
# Broken or unsupported architectures
|
||||||
depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 \
|
depends on !BR2_microblaze && !BR2_arc \
|
||||||
&& !BR2_bfin && !BR2_powerpc64le
|
&& !BR2_bfin && !BR2_powerpc64le && !BR2_nios2
|
||||||
# Broken or unsupported ARM cores
|
# Broken or unsupported ARM cores
|
||||||
depends on !BR2_cortex_a12
|
depends on !BR2_cortex_a12
|
||||||
# Broken or unsupported PPC cores
|
# Broken or unsupported PPC cores
|
||||||
|
@ -79,7 +73,7 @@ choice
|
||||||
config BR2_GCC_VERSION_4_9_X
|
config BR2_GCC_VERSION_4_9_X
|
||||||
bool "gcc 4.9.x"
|
bool "gcc 4.9.x"
|
||||||
# Broken or unsupported architectures
|
# Broken or unsupported architectures
|
||||||
depends on !BR2_arc && !BR2_avr32 && !BR2_bfin
|
depends on !BR2_arc && !BR2_bfin
|
||||||
# PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
|
# PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
|
||||||
select BR2_GCC_NEEDS_MPC
|
select BR2_GCC_NEEDS_MPC
|
||||||
select BR2_GCC_SUPPORTS_GRAPHITE
|
select BR2_GCC_SUPPORTS_GRAPHITE
|
||||||
|
@ -88,11 +82,10 @@ endchoice
|
||||||
|
|
||||||
config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
|
config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
|
||||||
bool
|
bool
|
||||||
default y if !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
|
default y
|
||||||
|
|
||||||
config BR2_GCC_VERSION
|
config BR2_GCC_VERSION
|
||||||
string
|
string
|
||||||
default "4.2.2-avr32-2.1.5" if BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
|
|
||||||
default "4.5.4" if BR2_GCC_VERSION_4_5_X
|
default "4.5.4" if BR2_GCC_VERSION_4_5_X
|
||||||
default "4.7.4" if BR2_GCC_VERSION_4_7_X
|
default "4.7.4" if BR2_GCC_VERSION_4_7_X
|
||||||
default "4.8.4" if BR2_GCC_VERSION_4_8_X
|
default "4.8.4" if BR2_GCC_VERSION_4_8_X
|
||||||
|
@ -110,16 +103,11 @@ config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
||||||
config BR2_TOOLCHAIN_BUILDROOT_CXX
|
config BR2_TOOLCHAIN_BUILDROOT_CXX
|
||||||
bool "Enable C++ support"
|
bool "Enable C++ support"
|
||||||
select BR2_INSTALL_LIBSTDCPP
|
select BR2_INSTALL_LIBSTDCPP
|
||||||
depends on !(BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 && \
|
|
||||||
BR2_TOOLCHAIN_BUILDROOT_LOCALE)
|
|
||||||
help
|
help
|
||||||
Enable this option if you want your toolchain to support the
|
Enable this option if you want your toolchain to support the
|
||||||
C++ language and you want C++ libraries to be installed on
|
C++ language and you want C++ libraries to be installed on
|
||||||
your target system.
|
your target system.
|
||||||
|
|
||||||
comment "C++ support broken in uClibc with locale enabled with gcc 4.2"
|
|
||||||
depends on BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 && BR2_TOOLCHAIN_BUILDROOT_LOCALE
|
|
||||||
|
|
||||||
config BR2_GCC_ENABLE_TLS
|
config BR2_GCC_ENABLE_TLS
|
||||||
bool "Enable compiler tls support" if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
|
bool "Enable compiler tls support" if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
|
||||||
default y
|
default y
|
||||||
|
@ -130,7 +118,7 @@ config BR2_GCC_ENABLE_TLS
|
||||||
|
|
||||||
config BR2_GCC_ENABLE_OPENMP
|
config BR2_GCC_ENABLE_OPENMP
|
||||||
bool "Enable compiler OpenMP support"
|
bool "Enable compiler OpenMP support"
|
||||||
depends on !BR2_PTHREADS_NONE && !BR2_avr32 && !BR2_arc && !BR2_microblaze
|
depends on !BR2_PTHREADS_NONE && !BR2_arc && !BR2_microblaze
|
||||||
help
|
help
|
||||||
Enable OpenMP support for the compiler
|
Enable OpenMP support for the compiler
|
||||||
|
|
||||||
|
@ -138,7 +126,7 @@ config BR2_GCC_ENABLE_LIBMUDFLAP
|
||||||
bool "Enable libmudflap support"
|
bool "Enable libmudflap support"
|
||||||
# There are architectures, or specific configurations for
|
# There are architectures, or specific configurations for
|
||||||
# which mudflap is not supported.
|
# which mudflap is not supported.
|
||||||
depends on !BR2_avr32 && !BR2_bfin && !BR2_ARM_INSTRUCTIONS_THUMB && !BR2_powerpc_SPE
|
depends on !BR2_bfin && !BR2_ARM_INSTRUCTIONS_THUMB && !BR2_powerpc_SPE
|
||||||
depends on !BR2_GCC_VERSION_4_9_X
|
depends on !BR2_GCC_VERSION_4_9_X
|
||||||
help
|
help
|
||||||
libmudflap is a gcc library used for the mudflap pointer
|
libmudflap is a gcc library used for the mudflap pointer
|
||||||
|
|
|
@ -10,9 +10,7 @@
|
||||||
|
|
||||||
GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION))
|
GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION))
|
||||||
|
|
||||||
ifeq ($(findstring avr32,$(GCC_VERSION)),avr32)
|
ifeq ($(BR2_arc),y)
|
||||||
GCC_SITE = ftp://www.at91.com/pub/buildroot
|
|
||||||
else ifeq ($(BR2_arc),y)
|
|
||||||
GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
|
GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
|
||||||
GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
|
GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
|
||||||
else
|
else
|
||||||
|
|
|
@ -40,10 +40,10 @@ config BR2_PACKAGE_GDB_DEBUGGER
|
||||||
bool "full debugger"
|
bool "full debugger"
|
||||||
select BR2_PACKAGE_NCURSES
|
select BR2_PACKAGE_NCURSES
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin
|
depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze && !BR2_bfin
|
||||||
|
|
||||||
comment "full gdb on target needs a toolchain w/ wchar"
|
comment "full gdb on target needs a toolchain w/ wchar"
|
||||||
depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin
|
depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze && !BR2_bfin
|
||||||
depends on !BR2_USE_WCHAR
|
depends on !BR2_USE_WCHAR
|
||||||
|
|
||||||
if BR2_PACKAGE_GDB_DEBUGGER
|
if BR2_PACKAGE_GDB_DEBUGGER
|
||||||
|
|
|
@ -27,15 +27,10 @@ choice
|
||||||
prompt "GDB debugger Version"
|
prompt "GDB debugger Version"
|
||||||
depends on !BR2_arc
|
depends on !BR2_arc
|
||||||
depends on !BR2_microblaze
|
depends on !BR2_microblaze
|
||||||
default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
|
|
||||||
default BR2_GDB_VERSION_7_7
|
default BR2_GDB_VERSION_7_7
|
||||||
help
|
help
|
||||||
Select the version of gdb you wish to use.
|
Select the version of gdb you wish to use.
|
||||||
|
|
||||||
config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
|
|
||||||
depends on BR2_avr32
|
|
||||||
bool "gdb 6.7.1-avr32-2.1.5"
|
|
||||||
|
|
||||||
config BR2_GDB_VERSION_7_7
|
config BR2_GDB_VERSION_7_7
|
||||||
bool "gdb 7.7.x"
|
bool "gdb 7.7.x"
|
||||||
|
|
||||||
|
@ -50,8 +45,6 @@ endif
|
||||||
config BR2_GDB_VERSION
|
config BR2_GDB_VERSION
|
||||||
string
|
string
|
||||||
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
|
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
|
||||||
default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 || \
|
|
||||||
(!BR2_PACKAGE_HOST_GDB && BR2_avr32)
|
|
||||||
default "arc-2014.12-gdb" if BR2_arc
|
default "arc-2014.12-gdb" if BR2_arc
|
||||||
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
||||||
default "7.7.1" if BR2_GDB_VERSION_7_7 || !BR2_PACKAGE_HOST_GDB
|
default "7.7.1" if BR2_GDB_VERSION_7_7 || !BR2_PACKAGE_HOST_GDB
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue