Merge branch 'next'
This commit is contained in:
commit
1ba51d2fbd
@ -1,252 +0,0 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_DEFAULT_HOSTNAME="beaglebone"
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||
CONFIG_FHANDLE=y
|
||||
CONFIG_SPARSE_IRQ=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_SYSCTL_SYSCALL=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_OPROFILE=m
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_BLK_DEV_INTEGRITY=y
|
||||
CONFIG_ARCH_OMAP=y
|
||||
CONFIG_OMAP_MUX_DEBUG=y
|
||||
CONFIG_OMAP_MBOX_FWK=y
|
||||
# CONFIG_OMAP_32K_TIMER is not set
|
||||
# CONFIG_MACH_OMAP_GENERIC is not set
|
||||
# CONFIG_ARCH_OMAP2 is not set
|
||||
# CONFIG_ARCH_OMAP4 is not set
|
||||
# CONFIG_SOC_OMAP3430 is not set
|
||||
# CONFIG_MACH_OMAP3_BEAGLE is not set
|
||||
# CONFIG_MACH_DEVKIT8000 is not set
|
||||
# CONFIG_MACH_OMAP_LDP is not set
|
||||
# CONFIG_MACH_OMAP3530_LV_SOM is not set
|
||||
# CONFIG_MACH_OMAP3_TORPEDO is not set
|
||||
# CONFIG_MACH_ENCORE is not set
|
||||
# CONFIG_MACH_OVERO is not set
|
||||
# CONFIG_MACH_OMAP3EVM is not set
|
||||
# CONFIG_MACH_OMAP3517EVM is not set
|
||||
# CONFIG_MACH_OMAP3_PANDORA is not set
|
||||
# CONFIG_MACH_OMAP3_TOUCHBOOK is not set
|
||||
# CONFIG_MACH_OMAP_3430SDP is not set
|
||||
# CONFIG_MACH_NOKIA_RM680 is not set
|
||||
# CONFIG_MACH_NOKIA_RX51 is not set
|
||||
# CONFIG_MACH_OMAP_ZOOM2 is not set
|
||||
# CONFIG_MACH_OMAP_ZOOM3 is not set
|
||||
# CONFIG_MACH_CM_T35 is not set
|
||||
# CONFIG_MACH_CM_T3517 is not set
|
||||
# CONFIG_MACH_IGEP0020 is not set
|
||||
# CONFIG_MACH_IGEP0030 is not set
|
||||
# CONFIG_MACH_SBC3530 is not set
|
||||
# CONFIG_MACH_OMAP_3630SDP is not set
|
||||
# CONFIG_MACH_TI8168EVM is not set
|
||||
# CONFIG_MACH_TI8148EVM is not set
|
||||
# CONFIG_MACH_AM335XIAEVM is not set
|
||||
CONFIG_OMAP3_EDMA=y
|
||||
CONFIG_ARM_THUMBEE=y
|
||||
CONFIG_ARM_ERRATA_430973=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_THUMB2_KERNEL=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_CMDLINE=" debug "
|
||||
CONFIG_AUTO_ZRELADDR=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_STAT_DETAILS=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||
CONFIG_BINFMT_MISC=y
|
||||
# CONFIG_SUSPEND is not set
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_XFRM_USER=y
|
||||
CONFIG_NET_KEY=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_RFKILL_REGULATOR=m
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_CONNECTOR=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=2
|
||||
CONFIG_BLK_DEV_RAM_SIZE=65536
|
||||
CONFIG_MISC_DEVICES=y
|
||||
CONFIG_BMP085=m
|
||||
CONFIG_EEPROM_AT24=y
|
||||
CONFIG_EEPROM_93CX6=m
|
||||
CONFIG_SENSORS_LIS3_I2C=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MII=y
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
CONFIG_TI_CPSW=y
|
||||
CONFIG_SMSC_PHY=y
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
# CONFIG_KEYBOARD_ATKBD is not set
|
||||
CONFIG_KEYBOARD_GPIO=y
|
||||
# CONFIG_MOUSE_PS2 is not set
|
||||
CONFIG_INPUT_MISC=y
|
||||
CONFIG_INPUT_AD714X=m
|
||||
CONFIG_INPUT_BMA150=m
|
||||
CONFIG_INPUT_MMA8450=m
|
||||
CONFIG_INPUT_MPU3050=m
|
||||
CONFIG_INPUT_ATI_REMOTE2=m
|
||||
CONFIG_INPUT_KEYSPAN_REMOTE=m
|
||||
CONFIG_INPUT_KXTJ9=m
|
||||
CONFIG_INPUT_POWERMATE=m
|
||||
CONFIG_INPUT_YEALINK=m
|
||||
CONFIG_INPUT_CM109=m
|
||||
CONFIG_INPUT_TWL4030_PWRBUTTON=y
|
||||
CONFIG_INPUT_TWL4030_VIBRA=m
|
||||
CONFIG_INPUT_TWL6040_VIBRA=m
|
||||
CONFIG_INPUT_UINPUT=m
|
||||
CONFIG_INPUT_PCF8574=m
|
||||
CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
|
||||
CONFIG_INPUT_ADXL34X=m
|
||||
CONFIG_INPUT_CMA3000=m
|
||||
CONFIG_INPUT_CMA3000_I2C=m
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=32
|
||||
CONFIG_SERIAL_8250_EXTENDED=y
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_SHARE_IRQ=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_RAW_DRIVER=m
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_GPIO=m
|
||||
CONFIG_SPI_OMAP24XX=y
|
||||
CONFIG_SPI_SPIDEV=m
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_TWL4030=y
|
||||
CONFIG_GENERIC_PWM=y
|
||||
CONFIG_DAVINCI_EHRPWM=y
|
||||
CONFIG_ECAP_PWM=y
|
||||
CONFIG_POWER_SUPPLY=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_OMAP_WATCHDOG=y
|
||||
CONFIG_TWL4030_WATCHDOG=y
|
||||
CONFIG_MFD_TPS65217=y
|
||||
CONFIG_REGULATOR_DUMMY=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_REGULATOR_VIRTUAL_CONSUMER=y
|
||||
CONFIG_REGULATOR_USERSPACE_CONSUMER=y
|
||||
CONFIG_REGULATOR_GPIO=y
|
||||
CONFIG_REGULATOR_TWL4030=y
|
||||
CONFIG_REGULATOR_TPS65023=y
|
||||
CONFIG_REGULATOR_TPS6507X=y
|
||||
CONFIG_REGULATOR_TPS65217=y
|
||||
CONFIG_DISPLAY_SUPPORT=y
|
||||
CONFIG_HIDRAW=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_DEVICEFS=y
|
||||
CONFIG_USB_MUSB_HDRC=y
|
||||
CONFIG_USB_MUSB_TI81XX_GLUE=y
|
||||
CONFIG_USB_TI_CPPI41_DMA_HW=y
|
||||
CONFIG_USB_ACM=y
|
||||
CONFIG_USB_LIBUSUAL=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MUSB_HDRC=y
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_USB_MASS_STORAGE=m
|
||||
CONFIG_USB_G_SERIAL=m
|
||||
CONFIG_USB_CDC_COMPOSITE=m
|
||||
CONFIG_USB_G_MULTI=m
|
||||
CONFIG_USB_G_HID=m
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_UNSAFE_RESUME=y
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_UIO=m
|
||||
CONFIG_UIO_PDRV=m
|
||||
CONFIG_UIO_PDRV_GENIRQ=m
|
||||
CONFIG_UIO_PRUSS=m
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_IIO=y
|
||||
CONFIG_IIO_BUFFER=y
|
||||
CONFIG_IIO_SW_RING=y
|
||||
CONFIG_IIO_KFIFO_BUF=y
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_PM_DEVFREQ=y
|
||||
CONFIG_DEVFREQ_GOV_USERSPACE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_NLS_UTF8=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
CONFIG_SCHEDSTATS=y
|
||||
CONFIG_TIMER_STATS=y
|
||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
||||
# CONFIG_FTRACE is not set
|
||||
CONFIG_DEBUG_LL=y
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_DEBUG_JTAG_ENABLE=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
# CONFIG_CRYPTO_HW is not set
|
203
board/beaglebone/linux-3.8.config
Normal file
203
board/beaglebone/linux-3.8.config
Normal file
@ -0,0 +1,203 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_DEFAULT_HOSTNAME="beaglebone"
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=16
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_OPROFILE=m
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_ARCH_OMAP=y
|
||||
CONFIG_OMAP_RESET_CLOCKS=y
|
||||
CONFIG_OMAP_MUX_DEBUG=y
|
||||
# CONFIG_ARCH_OMAP2 is not set
|
||||
# CONFIG_ARCH_OMAP3 is not set
|
||||
# CONFIG_ARCH_OMAP4 is not set
|
||||
CONFIG_ARM_THUMBEE=y
|
||||
CONFIG_ARM_ERRATA_720789=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200"
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_AUTO_ZRELADDR=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
||||
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||
CONFIG_NEON=y
|
||||
CONFIG_BINFMT_MISC=y
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_XFRM_USER=y
|
||||
CONFIG_NET_KEY=y
|
||||
CONFIG_NET_KEY_MIGRATE=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_IP_PNP_RARP=y
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_OMAP_OCP2SCP=y
|
||||
CONFIG_OMAP_INTERCONNECT=y
|
||||
CONFIG_CONNECTOR=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=16384
|
||||
CONFIG_EEPROM_93CX6=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_MULTI_LUN=y
|
||||
CONFIG_SCSI_SCAN_ASYNC=y
|
||||
CONFIG_ATA=y
|
||||
# CONFIG_SATA_PMP is not set
|
||||
CONFIG_SATA_AHCI_PLATFORM=m
|
||||
# CONFIG_ATA_SFF is not set
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MII=y
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CIRRUS is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
CONFIG_TI_CPSW=y
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
CONFIG_SMSC_PHY=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_POLLDEV=m
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_INPUT_MISC=y
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=32
|
||||
CONFIG_SERIAL_8250_EXTENDED=y
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_SHARE_IRQ=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_OMAP24XX=y
|
||||
CONFIG_DEBUG_PINCTRL=y
|
||||
CONFIG_PINCTRL_SINGLE=y
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_W1=y
|
||||
CONFIG_POWER_SUPPLY=y
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_THERMAL_GOV_FAIR_SHARE=y
|
||||
CONFIG_THERMAL_GOV_USER_SPACE=y
|
||||
CONFIG_CPU_THERMAL=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_OMAP_WATCHDOG=y
|
||||
CONFIG_MFD_TPS65217=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_REGULATOR_TPS65023=y
|
||||
CONFIG_REGULATOR_TPS6507X=y
|
||||
CONFIG_REGULATOR_TPS65217=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_SUSPEND=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_MUSB_HDRC=m
|
||||
CONFIG_USB_MUSB_AM35X=m
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_TEST=y
|
||||
CONFIG_OMAP_USB2=m
|
||||
CONFIG_OMAP_USB3=m
|
||||
CONFIG_OMAP_CONTROL_USB=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_DEBUG=y
|
||||
CONFIG_USB_GADGET_DEBUG_FILES=y
|
||||
CONFIG_USB_GADGET_DEBUG_FS=y
|
||||
CONFIG_USB_ZERO=m
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_USB_ETH_EEM=y
|
||||
CONFIG_USB_MASS_STORAGE=m
|
||||
CONFIG_USB_G_MULTI=m
|
||||
CONFIG_USB_G_MULTI_CDC=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_UNSAFE_RESUME=y
|
||||
CONFIG_SDIO_UART=y
|
||||
CONFIG_MMC_OMAP=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_CPU=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_OMAP=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_TI_EDMA=y
|
||||
CONFIG_DMA_OMAP=y
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_FS_XATTR is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_QUOTA=y
|
||||
CONFIG_QFMT_V2=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_SCHEDSTATS=y
|
||||
CONFIG_TIMER_STATS=y
|
||||
CONFIG_PROVE_LOCKING=y
|
||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_CRYPTO_MANAGER=m
|
||||
CONFIG_CRYPTO_SHA256=m
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRC_CCITT=y
|
||||
CONFIG_CRC_T10DIF=y
|
||||
CONFIG_CRC_ITU_T=y
|
||||
CONFIG_CRC7=y
|
||||
CONFIG_LIBCRC32C=y
|
||||
CONFIG_AVERAGE=y
|
4
board/cubietech/cubieboard/boot.cmd
Normal file
4
board/cubietech/cubieboard/boot.cmd
Normal file
@ -0,0 +1,4 @@
|
||||
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 ${extra}
|
||||
fatload mmc 0 0x43000000 script.bin
|
||||
fatload mmc 0 0x48000000 uImage
|
||||
bootm 0x48000000
|
119
board/cubietech/cubieboard/mkcubiecard.sh
Executable file
119
board/cubietech/cubieboard/mkcubiecard.sh
Executable file
@ -0,0 +1,119 @@
|
||||
#! /bin/sh
|
||||
# mkCubieCard.sh v0.1:
|
||||
# 2013, Carlo Caione <carlo.caione@gmail.com>
|
||||
# heavely based on :
|
||||
# mkA10card.sh v0.1
|
||||
# 2012, Jason Plum <jplum@archlinuxarm.org>
|
||||
# loosely based on :
|
||||
# mkcard.sh v0.5
|
||||
# (c) Copyright 2009 Graeme Gregory <dp@xora.org.uk>
|
||||
# Licensed under terms of GPLv2
|
||||
#
|
||||
# Parts of the procudure base on the work of Denys Dmytriyenko
|
||||
# http://wiki.omap.com/index.php/MMC_Boot_Format
|
||||
|
||||
IMAGES_DIR=$1
|
||||
SPL_IMG=$IMAGES_DIR/sunxi-spl.bin
|
||||
UBOOT_IMG=$IMAGES_DIR/u-boot.bin
|
||||
UIMAGE=$IMAGES_DIR/uImage
|
||||
BIN_BOARD_FILE=$IMAGES_DIR/script.bin
|
||||
ROOTFS=$IMAGES_DIR/rootfs.tar
|
||||
BOOT_CMD_H=$IMAGES_DIR/boot.scr
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "Usage: $0 <images_dir> <drive>"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ $EUID -ne 0 ]; then
|
||||
echo "This script must be run as root" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f $SPL_IMG ] ||
|
||||
[ ! -f $UBOOT_IMG ] ||
|
||||
[ ! -f $UIMAGE ] ||
|
||||
[ ! -f $BIN_BOARD_FILE ] ||
|
||||
[ ! -f $ROOTFS ] ||
|
||||
[ ! -f $BOOT_CMD_H ]; then
|
||||
echo "File(s) missing."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DRIVE=$2
|
||||
P1=`mktemp -d`
|
||||
P2=`mktemp -d`
|
||||
|
||||
dd if=/dev/zero of=$DRIVE bs=1M count=3
|
||||
|
||||
SIZE=`fdisk -l $DRIVE | grep Disk | grep bytes | awk '{print $5}'`
|
||||
|
||||
echo DISK SIZE - $SIZE bytes
|
||||
|
||||
|
||||
# ~2048, 16MB, FAT, bootable
|
||||
# ~rest of drive, Ext4
|
||||
{
|
||||
echo 32,512,0x0C,*
|
||||
echo 544,,,-
|
||||
} | sfdisk -D $DRIVE
|
||||
|
||||
sleep 1
|
||||
|
||||
if [ -b ${DRIVE}1 ]; then
|
||||
D1=${DRIVE}1
|
||||
umount ${DRIVE}1
|
||||
mkfs.vfat -n "boot" ${DRIVE}1
|
||||
else
|
||||
if [ -b ${DRIVE}p1 ]; then
|
||||
D1=${DRIVE}p1
|
||||
umount ${DRIVE}p1
|
||||
mkfs.vfat -n "boot" ${DRIVE}p1
|
||||
else
|
||||
echo "Cant find boot partition in /dev"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ -b ${DRIVE}2 ]; then
|
||||
D2=${DRIVE}2
|
||||
umount ${DRIVE}2
|
||||
mkfs.ext4 -L "Cubie" ${DRIVE}2
|
||||
else
|
||||
if [ -b ${DRIVE}p2 ]; then
|
||||
D2=${DRIVE}p2
|
||||
umount ${DRIVE}p2
|
||||
mkfs.ext4 -L "Cubie" ${DRIVE}p2
|
||||
else
|
||||
echo "Cant find rootfs partition in /dev"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
mount $D1 $P1
|
||||
mount $D2 $P2
|
||||
|
||||
# write uImage
|
||||
cp $UIMAGE $P1
|
||||
# write board file
|
||||
cp $BIN_BOARD_FILE $P1
|
||||
# write u-boot script
|
||||
cp $BOOT_CMD_H $P1
|
||||
# write rootfs
|
||||
tar -C $P2 -xvf $ROOTFS
|
||||
|
||||
sync
|
||||
|
||||
umount $D1
|
||||
umount $D2
|
||||
|
||||
rm -fr $P1
|
||||
rm -fr $P2
|
||||
|
||||
# write SPL
|
||||
dd if=$SPL_IMG of=$DRIVE bs=1024 seek=8
|
||||
# write mele u-boot
|
||||
dd if=$UBOOT_IMG of=$DRIVE bs=1024 seek=32
|
14
board/cubietech/cubieboard/post-build.sh
Executable file
14
board/cubietech/cubieboard/post-build.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
# post-build.sh for CubieBoard
|
||||
# 2013, Carlo Caione <carlo.caione@gmail.com>
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
MKIMAGE=$HOST_DIR/usr/bin/mkimage
|
||||
BOOT_CMD=$BOARD_DIR/boot.cmd
|
||||
BOOT_CMD_H=$BINARIES_DIR/boot.scr
|
||||
|
||||
# U-Boot script
|
||||
if [ -e $MKIMAGE -a -e $BOOT_CMD ];
|
||||
then
|
||||
$MKIMAGE -C none -A arm -T script -d $BOOT_CMD $BOOT_CMD_H
|
||||
fi
|
59
board/cubietech/cubieboard/readme.txt
Normal file
59
board/cubietech/cubieboard/readme.txt
Normal file
@ -0,0 +1,59 @@
|
||||
cubieboard
|
||||
|
||||
-----
|
||||
Intro
|
||||
-----
|
||||
|
||||
To be able to use your cubieboard board with the images generated by
|
||||
Buildroot you have to correctly setup the SD card.
|
||||
|
||||
For more information, please see http://linux-sunxi.org/FirstSteps
|
||||
|
||||
---------------
|
||||
How to build it
|
||||
---------------
|
||||
|
||||
You need to use the cubieboard_defconfig, to do so:
|
||||
* make cubieboard_defconfig
|
||||
|
||||
And to compile:
|
||||
* make
|
||||
|
||||
-----------------
|
||||
What is generated
|
||||
-----------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- rootfs.tar
|
||||
+-- boot.scr
|
||||
+-- script.bin
|
||||
+-- sunxi-spl.bin
|
||||
+-- u-boot.bin
|
||||
`-- uImage
|
||||
|
||||
--------------------------
|
||||
How setting up the SD card
|
||||
--------------------------
|
||||
|
||||
Depending on the rootfs size, you might want to use a 2GB or larger SD-card.
|
||||
The script mkcubiecard.sh will take care of partitioning and formatting
|
||||
the SD-card.
|
||||
|
||||
BEWARE! This process will erase your SD card.
|
||||
|
||||
Use dmesg to find out where the SD card is attached in the /dev tree
|
||||
(<device>) and then:
|
||||
|
||||
# sudo ./mkcubiecard.sh <images_dir> <device>
|
||||
|
||||
where:
|
||||
- <images_dir> is the directory containing the generated files (usually
|
||||
output/images)
|
||||
- <device> is the device file of the SD card (usually /dev/sdX)
|
||||
|
||||
|
||||
|
||||
--
|
||||
Carlo Caione <carlo.caione@gmail.com>
|
@ -0,0 +1,47 @@
|
||||
From 4c0c9be05004d1eb674b7586216b3d93cc04531c Mon Sep 17 00:00:00 2001
|
||||
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Date: Wed, 10 Apr 2013 11:13:43 +0200
|
||||
Subject: [PATCH 1/3] mmc: mxs-mmc: add cd-inverted property
|
||||
|
||||
The card-detect GPIO is inverted on some boards. Handle such case.
|
||||
|
||||
Acked-by: Shawn Guo <shawn.guo@linaro.org>
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Signed-off-by: Chris Ball <cjb@laptop.org>
|
||||
---
|
||||
drivers/mmc/host/mxs-mmc.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
|
||||
index 4efe302..0cdf1f6 100644
|
||||
--- a/drivers/mmc/host/mxs-mmc.c
|
||||
+++ b/drivers/mmc/host/mxs-mmc.c
|
||||
@@ -72,6 +72,7 @@ struct mxs_mmc_host {
|
||||
int sdio_irq_en;
|
||||
int wp_gpio;
|
||||
bool wp_inverted;
|
||||
+ bool cd_inverted;
|
||||
};
|
||||
|
||||
static int mxs_mmc_get_ro(struct mmc_host *mmc)
|
||||
@@ -96,7 +97,7 @@ static int mxs_mmc_get_cd(struct mmc_host *mmc)
|
||||
struct mxs_ssp *ssp = &host->ssp;
|
||||
|
||||
return !(readl(ssp->base + HW_SSP_STATUS(ssp)) &
|
||||
- BM_SSP_STATUS_CARD_DETECT);
|
||||
+ BM_SSP_STATUS_CARD_DETECT)) ^ host->cd_inverted;
|
||||
}
|
||||
|
||||
static void mxs_mmc_reset(struct mxs_mmc_host *host)
|
||||
@@ -691,6 +692,8 @@ static int mxs_mmc_probe(struct platform_device *pdev)
|
||||
if (flags & OF_GPIO_ACTIVE_LOW)
|
||||
host->wp_inverted = 1;
|
||||
|
||||
+ host->cd_inverted = of_property_read_bool(np, "cd-inverted");
|
||||
+
|
||||
mmc->f_min = 400000;
|
||||
mmc->f_max = 288000000;
|
||||
mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,53 @@
|
||||
From 5086e5f41fd107539911edf62f2d202753ed1980 Mon Sep 17 00:00:00 2001
|
||||
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Date: Wed, 10 Apr 2013 11:13:44 +0200
|
||||
Subject: [PATCH 2/3] mmc: mxs-mmc: add non-removable property
|
||||
|
||||
Some boards have non removable cards like eMMC. Handle such case.
|
||||
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Acked-by: Shawn Guo <shawn.guo@linaro.org>
|
||||
Signed-off-by: Chris Ball <cjb@laptop.org>
|
||||
---
|
||||
drivers/mmc/host/mxs-mmc.c | 10 +++++++---
|
||||
1 file changed, 7 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
|
||||
index 0cdf1f6..c231881 100644
|
||||
--- a/drivers/mmc/host/mxs-mmc.c
|
||||
+++ b/drivers/mmc/host/mxs-mmc.c
|
||||
@@ -73,6 +73,7 @@ struct mxs_mmc_host {
|
||||
int wp_gpio;
|
||||
bool wp_inverted;
|
||||
bool cd_inverted;
|
||||
+ bool non_removable;
|
||||
};
|
||||
|
||||
static int mxs_mmc_get_ro(struct mmc_host *mmc)
|
||||
@@ -96,8 +97,9 @@ static int mxs_mmc_get_cd(struct mmc_host *mmc)
|
||||
struct mxs_mmc_host *host = mmc_priv(mmc);
|
||||
struct mxs_ssp *ssp = &host->ssp;
|
||||
|
||||
- return !(readl(ssp->base + HW_SSP_STATUS(ssp)) &
|
||||
- BM_SSP_STATUS_CARD_DETECT)) ^ host->cd_inverted;
|
||||
+ return host->non_removable ||
|
||||
+ !(readl(ssp->base + HW_SSP_STATUS(ssp)) &
|
||||
+ BM_SSP_STATUS_CARD_DETECT) ^ host->cd_inverted;
|
||||
}
|
||||
|
||||
static void mxs_mmc_reset(struct mxs_mmc_host *host)
|
||||
@@ -687,8 +689,10 @@ static int mxs_mmc_probe(struct platform_device *pdev)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA;
|
||||
else if (bus_width == 8)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA;
|
||||
+ host->non_removable = of_property_read_bool(np, "non-removable");
|
||||
+ if (host->non_removable)
|
||||
+ mmc->caps |= MMC_CAP_NONREMOVABLE;
|
||||
host->wp_gpio = of_get_named_gpio_flags(np, "wp-gpios", 0, &flags);
|
||||
-
|
||||
if (flags & OF_GPIO_ACTIVE_LOW)
|
||||
host->wp_inverted = 1;
|
||||
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,50 @@
|
||||
From 1d53196a0d604fcf636203fac21e944b6a9cf275 Mon Sep 17 00:00:00 2001
|
||||
From: Hector Palacios <hector.palacios@digi.com>
|
||||
Date: Wed, 10 Apr 2013 11:13:45 +0200
|
||||
Subject: [PATCH 3/3] mmc: mxs-mmc: add broken-cd property
|
||||
|
||||
According to bindings documentation for mmc, the property 'broken-cd'
|
||||
can be used to indicate card-detection is not available and polling
|
||||
must be used instead. This patch retrieves this property
|
||||
and sets a custom flag. On the get_cd() hook, it returns 1 if
|
||||
the flag is set, to always assume the card is present.
|
||||
|
||||
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Signed-off-by: Chris Ball <cjb@laptop.org>
|
||||
---
|
||||
drivers/mmc/host/mxs-mmc.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
|
||||
index c231881..146a53b 100644
|
||||
--- a/drivers/mmc/host/mxs-mmc.c
|
||||
+++ b/drivers/mmc/host/mxs-mmc.c
|
||||
@@ -73,6 +73,7 @@ struct mxs_mmc_host {
|
||||
int wp_gpio;
|
||||
bool wp_inverted;
|
||||
bool cd_inverted;
|
||||
+ bool broken_cd;
|
||||
bool non_removable;
|
||||
};
|
||||
|
||||
@@ -97,7 +98,7 @@ static int mxs_mmc_get_cd(struct mmc_host *mmc)
|
||||
struct mxs_mmc_host *host = mmc_priv(mmc);
|
||||
struct mxs_ssp *ssp = &host->ssp;
|
||||
|
||||
- return host->non_removable ||
|
||||
+ return host->non_removable || host->broken_cd ||
|
||||
!(readl(ssp->base + HW_SSP_STATUS(ssp)) &
|
||||
BM_SSP_STATUS_CARD_DETECT) ^ host->cd_inverted;
|
||||
}
|
||||
@@ -689,6 +690,7 @@ static int mxs_mmc_probe(struct platform_device *pdev)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA;
|
||||
else if (bus_width == 8)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA;
|
||||
+ host->broken_cd = of_property_read_bool(np, "broken-cd");
|
||||
host->non_removable = of_property_read_bool(np, "non-removable");
|
||||
if (host->non_removable)
|
||||
mmc->caps |= MMC_CAP_NONREMOVABLE;
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,28 @@
|
||||
From 1897fda94190498573f9d1b72bc6b7b58c720957 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
|
||||
Date: Sat, 6 Apr 2013 10:42:10 -0300
|
||||
Subject: [PATCH 1/1] ARM: dts: imx23-olinuxino: mark sdcard cd as broken
|
||||
|
||||
The imx23-olinuxino sdcard doesn't have card detect.
|
||||
|
||||
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
|
||||
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
||||
---
|
||||
arch/arm/boot/dts/imx23-olinuxino.dts | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts
|
||||
index e7484e4..d107c4a 100644
|
||||
--- a/arch/arm/boot/dts/imx23-olinuxino.dts
|
||||
+++ b/arch/arm/boot/dts/imx23-olinuxino.dts
|
||||
@@ -29,6 +29,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
|
||||
bus-width = <4>;
|
||||
+ broken-cd;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
--
|
||||
1.8.1.5
|
||||
|
188
board/olimex/imx233_olinuxino/linux-3.9.config
Normal file
188
board/olimex/imx233_olinuxino/linux-3.9.config
Normal file
@ -0,0 +1,188 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_TASKSTATS=y
|
||||
CONFIG_TASK_DELAY_ACCT=y
|
||||
CONFIG_TASK_XACCT=y
|
||||
CONFIG_TASK_IO_ACCOUNTING=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
# CONFIG_UTS_NS is not set
|
||||
# CONFIG_IPC_NS is not set
|
||||
# CONFIG_PID_NS is not set
|
||||
# CONFIG_NET_NS is not set
|
||||
CONFIG_PERF_EVENTS=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_BLK_DEV_INTEGRITY=y
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
CONFIG_ARCH_MXS=y
|
||||
CONFIG_MACH_MXS_DT=y
|
||||
CONFIG_ARM_THUMB=y
|
||||
CONFIG_PREEMPT_VOLUNTARY=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_ATAGS=y
|
||||
CONFIG_CMDLINE="console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait"
|
||||
CONFIG_CMDLINE_FROM_BOOTLOADER=y
|
||||
CONFIG_AUTO_ZRELADDR=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_SYN_COOKIES=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
CONFIG_CAN=m
|
||||
CONFIG_CAN_RAW=m
|
||||
CONFIG_CAN_BCM=m
|
||||
CONFIG_CAN_FLEXCAN=m
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
# CONFIG_FIRMWARE_IN_KERNEL is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_DATAFLASH=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
# CONFIG_M25PXX_USE_FAST_READ is not set
|
||||
CONFIG_MTD_SST25L=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_GPMI_NAND=y
|
||||
CONFIG_MTD_UBI=y
|
||||
# CONFIG_BLK_DEV is not set
|
||||
CONFIG_EEPROM_AT24=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_ENC28J60=y
|
||||
CONFIG_USB_USBNET=y
|
||||
CONFIG_USB_NET_SMSC95XX=y
|
||||
CONFIG_SMSC_PHY=y
|
||||
CONFIG_ICPLUS_PHY=y
|
||||
CONFIG_REALTEK_PHY=y
|
||||
CONFIG_MICREL_PHY=y
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
CONFIG_INPUT_EVDEV=m
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
CONFIG_TOUCHSCREEN_TSC2007=m
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
# CONFIG_DEVKMEM is not set
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_SERIAL_MXS_AUART=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
CONFIG_I2C=y
|
||||
# CONFIG_I2C_COMPAT is not set
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MXS=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_GPIO=m
|
||||
CONFIG_SPI_MXS=y
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_MXS=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CONFIG_LCD_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_PWM=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_LOGO=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_MXS_SOC=y
|
||||
CONFIG_SND_SOC_MXS_SGTL5000=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_CHIPIDEA=y
|
||||
CONFIG_USB_CHIPIDEA_HOST=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_MXS_PHY=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_MXS=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_DS1307=m
|
||||
CONFIG_RTC_DRV_STMP=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_MXS_DMA=y
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_MXS_LRADC=y
|
||||
CONFIG_IIO_SYSFS_TRIGGER=y
|
||||
CONFIG_COMMON_CLK_DEBUG=y
|
||||
CONFIG_IIO=y
|
||||
CONFIG_PWM=y
|
||||
CONFIG_PWM_MXS=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT2_FS_XATTR=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
# CONFIG_DNOTIFY is not set
|
||||
CONFIG_FSCACHE=m
|
||||
CONFIG_FSCACHE_STATS=y
|
||||
CONFIG_CACHEFILES=m
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
||||
CONFIG_JFFS2_LZO=y
|
||||
CONFIG_JFFS2_RUBIN=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_UBIFS_FS_ADVANCED_COMPR=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3_ACL=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_850=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_NLS_ISO8859_15=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_FRAME_WARN=2048
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_UNUSED_SYMBOLS=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_LOCKUP_DETECTOR=y
|
||||
CONFIG_TIMER_STATS=y
|
||||
CONFIG_PROVE_LOCKING=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_BLK_DEV_IO_TRACE=y
|
||||
CONFIG_STRICT_DEVMEM=y
|
||||
CONFIG_DEBUG_USER=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
CONFIG_CRC_ITU_T=m
|
||||
CONFIG_CRC7=m
|
@ -0,0 +1,122 @@
|
||||
Forward-ported patch from https://github.com/koliqi/imx23-olinuxino
|
||||
for mxs-bootlets-10.12.01
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura imx-bootlets-src-10.12.01/linux_prep/board/imx23_olinuxino_dev.c imx-bootlets-src-10.12.01-olinuxino/linux_prep/board/imx23_olinuxino_dev.c
|
||||
--- imx-bootlets-src-10.12.01/linux_prep/board/imx23_olinuxino_dev.c 1969-12-31 21:00:00.000000000 -0300
|
||||
+++ imx-bootlets-src-10.12.01-olinuxino/linux_prep/board/imx23_olinuxino_dev.c 2013-05-17 15:07:33.282961551 -0300
|
||||
@@ -0,0 +1,54 @@
|
||||
+/*
|
||||
+ * Platform specific data for the IMX23_OLINUXINO development board
|
||||
+ *
|
||||
+ * Fadil Berisha <fadil.r.berisha@gmail.com>
|
||||
+ *
|
||||
+ * Copyright 2008 SigmaTel, Inc
|
||||
+ * Copyright 2008 Embedded Alley Solutions, Inc
|
||||
+ * Copyright 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
|
||||
+ *
|
||||
+ * This file is licensed under the terms of the GNU General Public License
|
||||
+ * version 2. This program is licensed "as is" without any warranty of any
|
||||
+ * kind, whether express or implied.
|
||||
+ *
|
||||
+ * http://www.opensource.org/licenses/gpl-license.html
|
||||
+ * http://www.gnu.org/copyleft/gpl.html
|
||||
+ */
|
||||
+#include <setup.h>
|
||||
+#include <keys.h>
|
||||
+#include <lradc_buttons.h>
|
||||
+
|
||||
+/************************************************
|
||||
+ * LRADC keyboard data *
|
||||
+ ************************************************/
|
||||
+int lradc_keypad_ch = LRADC_CH0;
|
||||
+int lradc_vddio_ch = LRADC_CH6;
|
||||
+
|
||||
+struct lradc_keycode lradc_keycodes[] = {
|
||||
+ { 100, KEY4 },
|
||||
+ { 306, KEY5 },
|
||||
+ { 601, KEY6 },
|
||||
+ { 932, KEY7 },
|
||||
+ { 1260, KEY8 },
|
||||
+ { 1424, KEY9 },
|
||||
+ { 1707, KEY10 },
|
||||
+ { 2207, KEY11 },
|
||||
+ { 2525, KEY12 },
|
||||
+ { 2831, KEY13 },
|
||||
+ { 3134, KEY14 },
|
||||
+ { -1, 0 },
|
||||
+};
|
||||
+
|
||||
+/************************************************
|
||||
+ * Magic key combinations for Armadillo *
|
||||
+ ************************************************/
|
||||
+u32 magic_keys[MAGIC_KEY_NR] = {
|
||||
+ [MAGIC_KEY1] = KEY4,
|
||||
+ [MAGIC_KEY2] = KEY6,
|
||||
+ [MAGIC_KEY3] = KEY10,
|
||||
+};
|
||||
+
|
||||
+/************************************************
|
||||
+ * Default command line *
|
||||
+ ************************************************/
|
||||
+char cmdline_def[] = "console=ttyAMA0,115200";
|
||||
diff -Nura imx-bootlets-src-10.12.01/linux_prep/cmdlines/imx23_olinuxino_dev.txt imx-bootlets-src-10.12.01-olinuxino/linux_prep/cmdlines/imx23_olinuxino_dev.txt
|
||||
--- imx-bootlets-src-10.12.01/linux_prep/cmdlines/imx23_olinuxino_dev.txt 1969-12-31 21:00:00.000000000 -0300
|
||||
+++ imx-bootlets-src-10.12.01-olinuxino/linux_prep/cmdlines/imx23_olinuxino_dev.txt 2013-05-17 15:07:49.663496106 -0300
|
||||
@@ -0,0 +1,3 @@
|
||||
+noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
|
||||
+noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
|
||||
+noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
|
||||
diff -Nura imx-bootlets-src-10.12.01/linux_prep/core/setup.c imx-bootlets-src-10.12.01-olinuxino/linux_prep/core/setup.c
|
||||
--- imx-bootlets-src-10.12.01/linux_prep/core/setup.c 2010-11-04 04:35:38.000000000 -0300
|
||||
+++ imx-bootlets-src-10.12.01-olinuxino/linux_prep/core/setup.c 2013-05-17 15:08:39.246114205 -0300
|
||||
@@ -84,6 +84,8 @@
|
||||
#include "../../mach-mx28/includes/registers/regsrtc.h"
|
||||
#elif defined(STMP378X)
|
||||
#include "../../mach-mx23/includes/registers/regsrtc.h"
|
||||
+#elif defined(IMX23_OLINUXINO)
|
||||
+#include "../../mach-mx23/includes/registers/regsrtc.h"
|
||||
#endif
|
||||
|
||||
#define NAND_SECONDARY_BOOT 0x00000002
|
||||
diff -Nura imx-bootlets-src-10.12.01/linux_prep/include/mx23/platform.h imx-bootlets-src-10.12.01-olinuxino/linux_prep/include/mx23/platform.h
|
||||
--- imx-bootlets-src-10.12.01/linux_prep/include/mx23/platform.h 2010-11-04 04:35:38.000000000 -0300
|
||||
+++ imx-bootlets-src-10.12.01-olinuxino/linux_prep/include/mx23/platform.h 2013-05-17 15:09:21.006476997 -0300
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#if defined (BOARD_STMP378X_DEV)
|
||||
#define MACHINE_ID 0xa45
|
||||
+#elif defined (BOARD_IMX23_OLINUXINO_DEV)
|
||||
+#define MACHINE_ID 0x1009
|
||||
#else
|
||||
#error "Allocate a machine ID for your board"
|
||||
#endif
|
||||
diff -Nura imx-bootlets-src-10.12.01/linux_prep/Makefile imx-bootlets-src-10.12.01-olinuxino/linux_prep/Makefile
|
||||
--- imx-bootlets-src-10.12.01/linux_prep/Makefile 2010-11-04 04:35:38.000000000 -0300
|
||||
+++ imx-bootlets-src-10.12.01-olinuxino/linux_prep/Makefile 2013-05-17 15:09:53.554539143 -0300
|
||||
@@ -69,6 +69,11 @@
|
||||
HW_OBJS = $(LRADC_OBJS)
|
||||
CFLAGS += -DMX28 -DBOARD_MX28_EVK
|
||||
endif
|
||||
+ifeq ($(BOARD), imx23_olinuxino_dev)
|
||||
+ARCH = mx23
|
||||
+HW_OBJS = $(LRADC_OBJS)
|
||||
+CFLAGS += -DIMX23_OLINUXINO -DBOARD_IMX23_OLINUXINO_DEV
|
||||
+endif
|
||||
|
||||
# Generic code
|
||||
CORE_OBJS = entry.o resume.o cmdlines.o setup.o keys.o
|
||||
diff -Nura imx-bootlets-src-10.12.01/Makefile imx-bootlets-src-10.12.01-olinuxino/Makefile
|
||||
--- imx-bootlets-src-10.12.01/Makefile 2010-11-04 04:35:38.000000000 -0300
|
||||
+++ imx-bootlets-src-10.12.01-olinuxino/Makefile 2013-05-17 15:23:53.709956619 -0300
|
||||
@@ -16,6 +16,9 @@
|
||||
ifeq ($(BOARD), iMX28_EVK)
|
||||
ARCH = mx28
|
||||
endif
|
||||
+ifeq ($(BOARD), imx23_olinuxino_dev)
|
||||
+ARCH = mx23
|
||||
+endif
|
||||
|
||||
all: build_prep gen_bootstream
|
||||
|
55
board/olimex/imx233_olinuxino/readme.txt
Normal file
55
board/olimex/imx233_olinuxino/readme.txt
Normal file
@ -0,0 +1,55 @@
|
||||
This configuration is intended as a base image, it doesn't have support
|
||||
for things like WiFi, either in the kernel or packages.
|
||||
|
||||
It also pulls up the console on the serial port, not on TV output.
|
||||
|
||||
You'll need a spare MicroSD card with Freescale's special partition layout.
|
||||
This is basically two partitions:
|
||||
|
||||
1) Type 53, the bootstrap + bootloader/kernel partition, should be 16MB.
|
||||
2) Anything you like, for this example an ext2 partition, type 83 (linux).
|
||||
|
||||
Assuming you see your MicroSD card as /dev/sdc you'd need to do, as root
|
||||
and from the buildroot project top level directory:
|
||||
(remember to replace /dev/sdc* with the appropiate device name!)
|
||||
|
||||
***** WARNING: Double check that /dev/sdc is your MicroSD card *****
|
||||
***** It might be /dev/sdb or some other device name *****
|
||||
***** Failure to do so may result in you wiping your hard disk *****
|
||||
|
||||
1. Unmount the filesystem(s) if they're already mounted, usually...
|
||||
|
||||
# for fs in `grep /dev/sdc /proc/mounts|cut -d ' ' -f 1`;do umount $fs;done
|
||||
|
||||
...should work
|
||||
|
||||
2. Blank the partition table out
|
||||
|
||||
# dd if=/dev/zero of=/dev/sdc bs=1024 count=1024
|
||||
|
||||
3. Set up the partitions
|
||||
|
||||
# fdisk /dev/sdc
|
||||
n
|
||||
p
|
||||
1
|
||||
<ENTER>
|
||||
+16MB
|
||||
t
|
||||
53
|
||||
n
|
||||
p
|
||||
2
|
||||
<ENTER>
|
||||
<ENTER>
|
||||
w
|
||||
|
||||
4. Fill up the first (bootstrap + kernel) partition
|
||||
# dd if=output/images/imx23_olinuxino_dev_linux.sb bs=512 of=/dev/sdc1 seek=4
|
||||
|
||||
5. Fill up the second (filesystem) partition
|
||||
# dd if=output/images/rootfs.ext2 of=/dev/sdc2 bs=512
|
||||
|
||||
6. Remove the MicroSD card from your linux PC and put it into your olinuxino.
|
||||
|
||||
7. Boot! You're done!
|
@ -11,12 +11,13 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyO0"
|
||||
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
|
||||
|
||||
# filesystem
|
||||
BR2_PACKAGE_AM33X_CM3=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
# lock down headers to avoid breaking with new defaults
|
||||
BR2_KERNEL_HEADERS_VERSION=y
|
||||
BR2_DEFAULT_KERNEL_VERSION="3.2.9"
|
||||
BR2_DEFAULT_KERNEL_VERSION="3.8.12"
|
||||
|
||||
# bootloader
|
||||
BR2_TARGET_UBOOT=y
|
||||
@ -30,7 +31,9 @@ BR2_TARGET_UBOOT_SPL_NAME="MLO"
|
||||
# kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://github.com/koenkooi/linux.git"
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="linux-ti33x-psp-3.2-r5a+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91"
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="935f6c2f82056d538b528272e2bdbb5c08d69a58"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/beaglebone/linux-3.2.9.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/beaglebone/linux-3.8.config"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-bone"
|
||||
|
39
configs/cubieboard_defconfig
Normal file
39
configs/cubieboard_defconfig
Normal file
@ -0,0 +1,39 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_cortex_a8=y
|
||||
|
||||
# System configuration
|
||||
BR2_TARGET_GENERIC_HOSTNAME="Cubieboard"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to use Cubieboard!"
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/cubietech/cubieboard/post-build.sh"
|
||||
|
||||
# Additional tools
|
||||
BR2_PACKAGE_HOST_SUNXI_TOOLS=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
BR2_PACKAGE_SUNXI_TOOLS=y
|
||||
BR2_PACKAGE_SUNXI_BOARDS=y
|
||||
BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a10/cubieboard.fex"
|
||||
|
||||
# Kernel headers
|
||||
BR2_KERNEL_HEADERS_3_4=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="274a66a7bfcbaabb88d63e4eba161965383cc416"
|
||||
BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="sun4i"
|
||||
|
||||
# Bootloaders
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="cubieboard"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||
BR2_TARGET_UBOOT_VERSION="sunxi"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="1a8ac55429f7f8cc9f100c1cf2dc0195cf81e76f"
|
||||
BR2_TARGET_UBOOT_FORMAT_BIN=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin"
|
33
configs/olimex_imx233_olinuxino_defconfig
Normal file
33
configs/olimex_imx233_olinuxino_defconfig
Normal file
@ -0,0 +1,33 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
# Patches (mxs-bootlets)
|
||||
BR2_GLOBAL_PATCH_DIR="board/olimex/imx233_olinuxino"
|
||||
|
||||
# System
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
# Lock to 3.9 headers to avoid breaking with newer kernels
|
||||
BR2_KERNEL_HEADERS_3_9=y
|
||||
|
||||
# Bootloader
|
||||
BR2_TARGET_MXS_BOOTLETS=y
|
||||
BR2_TARGET_MXS_BOOTLETS_CUSTOM_PATCH_DIR="board/olimex/imx233_olinuxino"
|
||||
BR2_TARGET_MXS_BOOTLETS_CUSTOM_BOARD=y
|
||||
BR2_TARGET_MXS_BOOTLETS_CUSTOM_BOARD_NAME="imx23_olinuxino_dev"
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.4"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/imx233_olinuxino/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_PATCH="board/olimex/imx233_olinuxino"
|
||||
BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx23-olinuxino"
|
@ -16,7 +16,7 @@ else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y)
|
||||
LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL))
|
||||
LINUX_SITE_METHOD = git
|
||||
else
|
||||
LINUX_SOURCE = linux-$(LINUX_VERSION).tar.bz2
|
||||
LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz
|
||||
# In X.Y.Z, get X and Y. We replace dots and dashes by spaces in order
|
||||
# to use the $(word) function. We support versions such as 3.1,
|
||||
# 2.6.32, 2.6.32-rc1, 3.0-rc6, etc.
|
||||
|
@ -74,6 +74,7 @@ source "package/gawk/Config.in"
|
||||
endif
|
||||
source "toolchain/gcc/Config.in.2"
|
||||
source "package/gettext/Config.in"
|
||||
source "package/git/Config.in"
|
||||
source "package/gperf/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/grep/Config.in"
|
||||
@ -207,19 +208,22 @@ source "package/ntfs-3g/Config.in"
|
||||
source "package/squashfs/Config.in"
|
||||
source "package/squashfs3/Config.in"
|
||||
source "package/sshfs/Config.in"
|
||||
source "package/sunxi-tools/Config.in"
|
||||
source "package/unionfs/Config.in"
|
||||
source "package/xfsprogs/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Hardware handling"
|
||||
menu "Misc devices firmwares"
|
||||
source "package/am33x-cm3/Config.in"
|
||||
source "package/b43-firmware/Config.in"
|
||||
source "package/firmware-imx/Config.in"
|
||||
source "package/linux-firmware/Config.in"
|
||||
source "package/rpi-firmware/Config.in"
|
||||
source "package/sunxi-boards/Config.in"
|
||||
source "package/ux500-firmware/Config.in"
|
||||
source "package/zd1211-firmware/Config.in"
|
||||
endmenu
|
||||
source "package/freescale-imx/Config.in"
|
||||
source "package/acpid/Config.in"
|
||||
source "package/cdrkit/Config.in"
|
||||
source "package/dbus/Config.in"
|
||||
@ -382,6 +386,7 @@ endmenu
|
||||
menu "Compression and decompression"
|
||||
source "package/libarchive/Config.in"
|
||||
source "package/lzo/Config.in"
|
||||
source "package/snappy/Config.in"
|
||||
source "package/zlib/Config.in"
|
||||
endmenu
|
||||
|
||||
@ -459,7 +464,7 @@ endmenu
|
||||
|
||||
menu "Hardware handling"
|
||||
source "package/ccid/Config.in"
|
||||
source "package/imx-lib/Config.in"
|
||||
source "package/dtc/Config.in"
|
||||
source "package/lcdapi/Config.in"
|
||||
source "package/libaio/Config.in"
|
||||
source "package/libatasmart/Config.in"
|
||||
@ -578,6 +583,7 @@ source "package/gmp/Config.in"
|
||||
source "package/gsl/Config.in"
|
||||
source "package/gtest/Config.in"
|
||||
source "package/libatomic_ops/Config.in"
|
||||
source "package/libbsd/Config.in"
|
||||
source "package/libcap/Config.in"
|
||||
source "package/libcap-ng/Config.in"
|
||||
source "package/libdaemon/Config.in"
|
||||
@ -616,6 +622,7 @@ menu "Text and terminal handling"
|
||||
source "package/enchant/Config.in"
|
||||
source "package/libfribidi/Config.in"
|
||||
source "package/icu/Config.in"
|
||||
source "package/libedit/Config.in"
|
||||
source "package/libiconv/Config.in"
|
||||
source "package/linenoise/Config.in"
|
||||
source "package/ncurses/Config.in"
|
||||
@ -649,6 +656,7 @@ endmenu
|
||||
endmenu
|
||||
|
||||
menu "Miscellaneous"
|
||||
source "package/aespipe/Config.in"
|
||||
source "package/collectd/Config.in"
|
||||
source "package/empty/Config.in"
|
||||
source "package/googlefontdirectory/Config.in"
|
||||
@ -751,6 +759,8 @@ source "package/pppd/Config.in"
|
||||
source "package/pptp-linux/Config.in"
|
||||
source "package/proftpd/Config.in"
|
||||
source "package/proxychains-ng/Config.in"
|
||||
source "package/ptpd/Config.in"
|
||||
source "package/ptpd2/Config.in"
|
||||
source "package/quagga/Config.in"
|
||||
source "package/radvd/Config.in"
|
||||
source "package/rp-pppoe/Config.in"
|
||||
@ -852,6 +862,7 @@ source "package/module-init-tools/Config.in"
|
||||
endif
|
||||
source "package/monit/Config.in"
|
||||
source "package/ncdu/Config.in"
|
||||
source "package/numactl/Config.in"
|
||||
source "package/polkit/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/procps/Config.in"
|
||||
|
@ -10,6 +10,7 @@ source "package/mtools/Config.in.host"
|
||||
source "package/omap-u-boot-utils/Config.in.host"
|
||||
source "package/openocd/Config.in.host"
|
||||
source "package/sam-ba/Config.in.host"
|
||||
source "package/sunxi-tools/Config.in.host"
|
||||
source "package/uboot-tools/Config.in.host"
|
||||
|
||||
endmenu
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ACL_VERSION = 2.2.51
|
||||
ACL_VERSION = 2.2.52
|
||||
ACL_SOURCE = acl-$(ACL_VERSION).src.tar.gz
|
||||
ACL_SITE = http://download.savannah.gnu.org/releases/acl
|
||||
ACL_INSTALL_STAGING = YES
|
||||
|
9
package/aespipe/Config.in
Normal file
9
package/aespipe/Config.in
Normal file
@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_AESPIPE
|
||||
bool "aespipe"
|
||||
help
|
||||
aespipe program is AES encrypting or decrypting pipe. It reads from
|
||||
standard input and writes to standard output. It can be used to
|
||||
create and restore encrypted tar or cpio archives. It can be used to
|
||||
encrypt and decrypt loop-AES compatible encrypted disk images.
|
||||
|
||||
http://koti.tnnet.fi/jari.ruusu/linux/
|
12
package/aespipe/aespipe.mk
Normal file
12
package/aespipe/aespipe.mk
Normal file
@ -0,0 +1,12 @@
|
||||
#############################################################
|
||||
#
|
||||
# aespipe
|
||||
#
|
||||
#############################################################
|
||||
|
||||
AESPIPE_VERSION = 2.4c
|
||||
AESPIPE_SOURCE = aespipe-v$(AESPIPE_VERSION).tar.bz2
|
||||
AESPIPE_SITE = http://loop-aes.sourceforge.net/aespipe/
|
||||
AESPIPE_LICENSE = GPL
|
||||
|
||||
$(eval $(autotools-package))
|
7
package/am33x-cm3/Config.in
Normal file
7
package/am33x-cm3/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_AM33X_CM3
|
||||
bool "am33x-cm3"
|
||||
depends on BR2_arm # only relevant for TI am335x
|
||||
help
|
||||
Cortex-M3 binary blob for suspend-resume on am335x
|
||||
|
||||
http://arago-project.org/git/projects/am33x-cm3.git
|
6
package/am33x-cm3/S93-am335x-pm-firmware-load
Executable file
6
package/am33x-cm3/S93-am335x-pm-firmware-load
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Load the PM CM3 firmware
|
||||
echo 1 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
|
||||
cat /lib/firmware/am335x-pm-firmware.bin > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data
|
||||
echo 0 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
|
30
package/am33x-cm3/am33x-cm3.mk
Normal file
30
package/am33x-cm3/am33x-cm3.mk
Normal file
@ -0,0 +1,30 @@
|
||||
#############################################################
|
||||
#
|
||||
# am33x-cm3
|
||||
#
|
||||
#############################################################
|
||||
|
||||
AM33X_CM3_VERSION = AM335xPSP_04.06.00.10-rc1
|
||||
AM33X_CM3_SITE = http://arago-project.org/git/projects/am33x-cm3.git
|
||||
AM33X_CM3_SITE_METHOD = git
|
||||
AM33X_CM3_LICENSE = TI Publicly Available Software License
|
||||
AM33X_CM3_LICENSE_FILES = License.txt
|
||||
|
||||
# The build command below will use the standard cross-compiler (normally
|
||||
# build for Cortex-A8, to build the FW for the Cortex-M3.
|
||||
define AM33X_CM3_BUILD_CMDS
|
||||
$(MAKE) CC="$(TARGET_CC)" CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) all
|
||||
endef
|
||||
|
||||
# Not all of the firmware files are used
|
||||
define AM33X_CM3_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0644 -D $(@D)/bin/am335x-pm-firmware.bin \
|
||||
$(TARGET_DIR)/lib/firmware/am335x-pm-firmware.bin
|
||||
endef
|
||||
|
||||
define AM33X_CM3_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/am33x-cm3/S93-am335x-pm-firmware-load \
|
||||
$(TARGET_DIR)/etc/init.d/S93-am335x-pm-firmware-load
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
@ -1,30 +0,0 @@
|
||||
From 1d510e6049e7c7cb7ed4e87780b2c1a997d47b64 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Sat, 17 Nov 2012 19:36:39 +0100
|
||||
Subject: [PATCH] attr: Fix static build installation
|
||||
|
||||
When doing a static build the .lai file is not created, so do not try
|
||||
to install it.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
include/buildmacros | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/include/buildmacros b/include/buildmacros
|
||||
index ab89182..d81e62b 100644
|
||||
--- a/include/buildmacros
|
||||
+++ b/include/buildmacros
|
||||
@@ -98,8 +98,7 @@ endif
|
||||
|
||||
INSTALL_LTLIB_STATIC = \
|
||||
cd $(TOPDIR)/$(LIBNAME)/.libs; \
|
||||
- ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
|
||||
- ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR)
|
||||
+ ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR);
|
||||
|
||||
INSTALL_MAN = \
|
||||
@for d in $(MAN_PAGES); do \
|
||||
--
|
||||
1.7.9.5
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ATTR_VERSION = 2.4.46
|
||||
ATTR_VERSION = 2.4.47
|
||||
ATTR_SOURCE = attr-$(ATTR_VERSION).src.tar.gz
|
||||
ATTR_SITE = http://download.savannah.gnu.org/releases/attr
|
||||
ATTR_INSTALL_STAGING = YES
|
||||
|
@ -81,6 +81,7 @@ define BINUTILS_XTENSA_PRE_PATCH
|
||||
tar xf $(BR2_XTENSA_OVERLAY_DIR)/xtensa_$(XTENSA_CORE_NAME).tar \
|
||||
-C $(@D) --strip-components=1 binutils
|
||||
endef
|
||||
BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH
|
||||
HOST_BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH
|
||||
endif
|
||||
|
||||
|
84
package/bzip2/bzip2-improve-build-system.patch
Normal file
84
package/bzip2/bzip2-improve-build-system.patch
Normal file
@ -0,0 +1,84 @@
|
||||
Improve bzip2 build system
|
||||
|
||||
This patch makes a number of improvements to the bzip2 build system:
|
||||
|
||||
* Remove the BIGFILE variable that was used to force largefile
|
||||
support. Now, the user of the Makefile is supposed to pass
|
||||
-D_FILE_OFFSET_BITS=64 when largefile support is desired.
|
||||
|
||||
* Use override CFLAGS += so that additional CFLAGS can be passed on
|
||||
the command line.
|
||||
|
||||
* Removed "forced" CFLAGS -O2, -g and -Winline. We don't want them by
|
||||
default, and want the build system to use its own ones.
|
||||
|
||||
* When creating the symbolic links bzegrep, bzfgrep, bzless and
|
||||
bzcmp, don't link them to an absolute path, or they'll point to
|
||||
some path on the build machine.
|
||||
|
||||
* Provide an install target for the shared library, which creates the
|
||||
appropriate symbolic links.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -20,8 +20,7 @@
|
||||
RANLIB=ranlib
|
||||
LDFLAGS=
|
||||
|
||||
-BIGFILES=-D_FILE_OFFSET_BITS=64
|
||||
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
|
||||
+override CFLAGS += -Wall
|
||||
|
||||
# Where you want it installed when you do 'make install'
|
||||
PREFIX=/usr/local
|
||||
@@ -90,14 +89,14 @@
|
||||
cp -f libbz2.a $(PREFIX)/lib
|
||||
chmod a+r $(PREFIX)/lib/libbz2.a
|
||||
cp -f bzgrep $(PREFIX)/bin/bzgrep
|
||||
- ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
|
||||
- ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
|
||||
+ ln -s -f bzgrep $(PREFIX)/bin/bzegrep
|
||||
+ ln -s -f bzgrep $(PREFIX)/bin/bzfgrep
|
||||
chmod a+x $(PREFIX)/bin/bzgrep
|
||||
cp -f bzmore $(PREFIX)/bin/bzmore
|
||||
- ln -s -f $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
|
||||
+ ln -s -f bzmore $(PREFIX)/bin/bzless
|
||||
chmod a+x $(PREFIX)/bin/bzmore
|
||||
cp -f bzdiff $(PREFIX)/bin/bzdiff
|
||||
- ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
|
||||
+ ln -s -f bzdiff $(PREFIX)/bin/bzcmp
|
||||
chmod a+x $(PREFIX)/bin/bzdiff
|
||||
cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
|
||||
chmod a+r $(PREFIX)/man/man1/bzgrep.1
|
||||
Index: b/Makefile-libbz2_so
|
||||
===================================================================
|
||||
--- a/Makefile-libbz2_so
|
||||
+++ b/Makefile-libbz2_so
|
||||
@@ -23,8 +23,7 @@
|
||||
|
||||
SHELL=/bin/sh
|
||||
CC=gcc
|
||||
-BIGFILES=-D_FILE_OFFSET_BITS=64
|
||||
-CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES)
|
||||
+override CFLAGS += -fpic -fPIC -Wall
|
||||
|
||||
OBJS= blocksort.o \
|
||||
huffman.o \
|
||||
@@ -37,8 +36,11 @@
|
||||
all: $(OBJS)
|
||||
$(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
|
||||
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
|
||||
- rm -f libbz2.so.1.0
|
||||
- ln -s libbz2.so.1.0.6 libbz2.so.1.0
|
||||
+
|
||||
+install:
|
||||
+ install -m 0755 -D libbz2.so.1.0.6 $(PREFIX)/lib/libbz2.so.1.0.6
|
||||
+ ln -sf libbz2.so.1.0.6 $(PREFIX)/lib/libbz2.so
|
||||
+ ln -sf libbz2.so.1.0.6 $(PREFIX)/lib/libbz2.so.1.0
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 libbz2.so.1.0 bzip2-shared
|
@ -10,67 +10,45 @@ BZIP2_INSTALL_STAGING = YES
|
||||
BZIP2_LICENSE = bzip2 license
|
||||
BZIP2_LICENSE_FILES = LICENSE
|
||||
|
||||
define BZIP2_FIX_MAKEFILE
|
||||
$(SED) "s,ln \$$(,ln -snf \$$(,g" $(@D)/Makefile
|
||||
$(SED) "s,ln -s (lib.*),ln -snf \$$1; ln -snf libbz2.so.$(BZIP2_VERSION)) \
|
||||
libbz2.so,g" $(@D)/Makefile-libbz2_so
|
||||
$(SED) "s:-O2:$(TARGET_CFLAGS):" $(@D)/Makefile
|
||||
$(SED) "s:-O2:$(TARGET_CFLAGS):" $(@D)/Makefile-libbz2_so
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),)
|
||||
define BZIP2_BUILD_SHARED_CMDS
|
||||
$(TARGET_MAKE_ENV)
|
||||
$(MAKE) -C $(@D) -f Makefile-libbz2_so $(TARGET_CONFIGURE_OPTS)
|
||||
endef
|
||||
|
||||
BZIP2_POST_PATCH_HOOKS += BZIP2_FIX_MAKEFILE
|
||||
|
||||
define BZIP2_NOLARGEFILE_FIX_MAKEFILE
|
||||
$(SED) "s,^BIGFILES,#BIGFILES,g" $(@D)/Makefile
|
||||
$(SED) "s,^BIGFILES,#BIGFILES,g" $(@D)/Makefile-libbz2_so
|
||||
endef
|
||||
|
||||
ifneq ($(BR2_LARGEFILE),y)
|
||||
BZIP2_POST_PATCH_HOOKS += BZIP2_NOLARGEFILE_FIX_MAKEFILE
|
||||
endif
|
||||
|
||||
define BZIP2_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) \
|
||||
$(MAKE) -C $(@D) -f Makefile-libbz2_so \
|
||||
CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" AR="$(TARGET_AR)"
|
||||
$(TARGET_MAKE_ENV) \
|
||||
$(MAKE) -C $(@D) \
|
||||
CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" AR="$(TARGET_AR)" \
|
||||
libbz2.a bzip2 bzip2recover
|
||||
$(TARGET_MAKE_ENV)
|
||||
$(MAKE) -C $(@D) libbz2.a bzip2 bzip2recover $(TARGET_CONFIGURE_OPTS)
|
||||
$(BZIP2_BUILD_SHARED_CMDS)
|
||||
endef
|
||||
|
||||
define BZIP2_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
||||
$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/lib
|
||||
cp $(@D)/libbz2.so.$(BZIP2_VERSION) $(STAGING_DIR)/usr/lib/
|
||||
cp $(@D)/libbz2.a $(STAGING_DIR)/usr/lib/
|
||||
(cd $(STAGING_DIR)/usr/lib/; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1; \
|
||||
)
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),)
|
||||
define BZIP2_INSTALL_STAGING_SHARED_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) \
|
||||
-f Makefile-libbz2_so PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
||||
endef
|
||||
endif
|
||||
|
||||
define BZIP2_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) \
|
||||
PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
||||
$(BZIP2_INSTALL_STAGING_SHARED_CMDS)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),)
|
||||
define BZIP2_INSTALL_TARGET_SHARED_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) \
|
||||
-f Makefile-libbz2_so PREFIX=$(TARGET_DIR)/usr -C $(@D) install
|
||||
endef
|
||||
endif
|
||||
|
||||
# make sure busybox doesn't get overwritten by make install
|
||||
define BZIP2_INSTALL_TARGET_CMDS
|
||||
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,bzip2 bunzip2 bzcat)
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install
|
||||
cp $(@D)/libbz2.so.$(BZIP2_VERSION) $(TARGET_DIR)/usr/lib/
|
||||
(cd $(TARGET_DIR)/usr/lib; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
||||
)
|
||||
(cd $(TARGET_DIR)/usr/bin; \
|
||||
ln -snf bzip2 bunzip2; \
|
||||
ln -snf bzip2 bzcat; \
|
||||
ln -snf bzdiff bzcmp; \
|
||||
ln -snf bzmore bzless; \
|
||||
ln -snf bzgrep bzegrep; \
|
||||
ln -snf bzgrep bzfgrep; \
|
||||
)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) \
|
||||
PREFIX=$(TARGET_DIR)/usr -C $(@D) install
|
||||
$(BZIP2_INSTALL_TARGET_SHARED_CMDS)
|
||||
endef
|
||||
|
||||
define BZIP2_CLEAN_CMDS
|
||||
@ -83,24 +61,16 @@ define BZIP2_CLEAN_CMDS
|
||||
-$(MAKE) -C $(@D) clean
|
||||
endef
|
||||
|
||||
define HOST_BZIP2_FIX_MAKEFILE
|
||||
$(SED) "s,ln \$$(,ln -snf \$$(,g" $(@D)/Makefile
|
||||
$(SED) "s,ln -s (lib.*),ln -snf \$$1; ln -snf libbz2.so.$(BZIP2_VERSION) \
|
||||
libbz2.so,g" $(@D)/Makefile-libbz2_so
|
||||
$(SED) "s:-O2:$(HOST_CFLAGS):" $(@D)/Makefile
|
||||
$(SED) "s:-O2:$(HOST_CFLAGS):" $(@D)/Makefile-libbz2_so
|
||||
endef
|
||||
|
||||
HOST_BZIP2_POST_PATCH_HOOKS += HOST_BZIP2_FIX_MAKEFILE
|
||||
|
||||
define HOST_BZIP2_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) -f Makefile-libbz2_so
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) libbz2.a bzip2 bzip2recover
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) -f Makefile-libbz2_so
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) libbz2.a bzip2 bzip2recover
|
||||
endef
|
||||
|
||||
define HOST_BZIP2_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) \
|
||||
$(MAKE) PREFIX=$(HOST_DIR)/usr -C $(@D) install
|
||||
$(MAKE) PREFIX=$(HOST_DIR)/usr -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -19,11 +19,4 @@ endef
|
||||
CCID_POST_INSTALL_TARGET_HOOKS += CCID_INSTALL_UDEV_RULES
|
||||
endif
|
||||
|
||||
define CCID_REMOVE_UDEV_RULES
|
||||
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
|
||||
rm -f $(TARGET_DIR)/etc/udev/rules.d/92_pcscd_ccid.rules ; \
|
||||
fi;
|
||||
endef
|
||||
CCID_POST_UNINSTALL_TARGET_HOOKS += CCID_REMOVE_UDEV_RULES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -0,0 +1,27 @@
|
||||
From 4582c0efe7d7af93517b1f3bcc7af67685ab3e5c Mon Sep 17 00:00:00 2001
|
||||
From: Dave Reisner <d@falconindy.com>
|
||||
Date: Thu, 18 Apr 2013 09:47:49 +0100
|
||||
Subject: [PATCH] Fix wrong size in memset() call.
|
||||
|
||||
Thanks to Dave Reisner.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
src/ipset.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/ipset.c b/src/ipset.c
|
||||
index a34ed96..f175fa4 100644
|
||||
--- a/src/ipset.c
|
||||
+++ b/src/ipset.c
|
||||
@@ -110,7 +110,7 @@ static int new_add_to_ipset(const char *setname, const struct all_addr *ipaddr,
|
||||
return -1;
|
||||
}
|
||||
|
||||
- memset(buffer, 0, sizeof(buffer));
|
||||
+ memset(buffer, 0, BUFF_SZ);
|
||||
|
||||
nlh = (struct nlmsghdr *)buffer;
|
||||
nlh->nlmsg_len = NL_ALIGN(sizeof(struct nlmsghdr));
|
||||
--
|
||||
1.8.1.5
|
@ -0,0 +1,143 @@
|
||||
From bd08ae67f9a0cae2ce15be885254cad9449d4551 Mon Sep 17 00:00:00 2001
|
||||
From: Simon Kelley <simon@thekelleys.org.uk>
|
||||
Date: Fri, 19 Apr 2013 10:22:06 +0100
|
||||
Subject: [PATCH] Allow option number zero in encapsulated DHCP options.
|
||||
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
src/dhcp-common.c | 6 +++---
|
||||
src/dnsmasq.h | 4 ++--
|
||||
src/option.c | 33 ++++++++++++++++++++-------------
|
||||
3 files changed, 25 insertions(+), 18 deletions(-)
|
||||
|
||||
diff --git a/src/dhcp-common.c b/src/dhcp-common.c
|
||||
index f4fd088..8de4268 100644
|
||||
--- a/src/dhcp-common.c
|
||||
+++ b/src/dhcp-common.c
|
||||
@@ -512,7 +512,7 @@ void display_opts6(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
-u16 lookup_dhcp_opt(int prot, char *name)
|
||||
+int lookup_dhcp_opt(int prot, char *name)
|
||||
{
|
||||
const struct opttab_t *t;
|
||||
int i;
|
||||
@@ -528,10 +528,10 @@ u16 lookup_dhcp_opt(int prot, char *name)
|
||||
if (strcasecmp(t[i].name, name) == 0)
|
||||
return t[i].val;
|
||||
|
||||
- return 0;
|
||||
+ return -1;
|
||||
}
|
||||
|
||||
-u16 lookup_dhcp_len(int prot, u16 val)
|
||||
+int lookup_dhcp_len(int prot, int val)
|
||||
{
|
||||
const struct opttab_t *t;
|
||||
int i;
|
||||
diff --git a/src/dnsmasq.h b/src/dnsmasq.h
|
||||
index 69ae7a7..41e2798 100644
|
||||
--- a/src/dnsmasq.h
|
||||
+++ b/src/dnsmasq.h
|
||||
@@ -1216,8 +1216,8 @@ void log_tags(struct dhcp_netid *netid, u32 xid);
|
||||
int match_bytes(struct dhcp_opt *o, unsigned char *p, int len);
|
||||
void dhcp_update_configs(struct dhcp_config *configs);
|
||||
void display_opts(void);
|
||||
-u16 lookup_dhcp_opt(int prot, char *name);
|
||||
-u16 lookup_dhcp_len(int prot, u16 val);
|
||||
+int lookup_dhcp_opt(int prot, char *name);
|
||||
+int lookup_dhcp_len(int prot, int val);
|
||||
char *option_string(int prot, unsigned int opt, unsigned char *val,
|
||||
int opt_len, char *buf, int buf_len);
|
||||
#ifdef HAVE_LINUX_NETWORK
|
||||
diff --git a/src/option.c b/src/option.c
|
||||
index b2596ec..2a61017 100644
|
||||
--- a/src/option.c
|
||||
+++ b/src/option.c
|
||||
@@ -750,6 +750,7 @@ static int parse_dhcp_opt(char *errstr, char *arg, int flags)
|
||||
struct dhcp_netid *np = NULL;
|
||||
u16 opt_len = 0;
|
||||
int is6 = 0;
|
||||
+ int option_ok = 0;
|
||||
|
||||
new->len = 0;
|
||||
new->flags = flags;
|
||||
@@ -769,16 +770,19 @@ static int parse_dhcp_opt(char *errstr, char *arg, int flags)
|
||||
{
|
||||
new->opt = atoi(arg);
|
||||
opt_len = 0;
|
||||
+ option_ok = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
if (strstr(arg, "option:") == arg)
|
||||
{
|
||||
- new->opt = lookup_dhcp_opt(AF_INET, arg+7);
|
||||
- opt_len = lookup_dhcp_len(AF_INET, new->opt);
|
||||
- /* option:<optname> must follow tag and vendor string. */
|
||||
- if ((opt_len & OT_INTERNAL) && flags != DHOPT_MATCH)
|
||||
- new->opt = 0;
|
||||
+ if ((new->opt = lookup_dhcp_opt(AF_INET, arg+7)) != -1)
|
||||
+ {
|
||||
+ opt_len = lookup_dhcp_len(AF_INET, new->opt);
|
||||
+ /* option:<optname> must follow tag and vendor string. */
|
||||
+ if (!(opt_len & OT_INTERNAL) || flags == DHOPT_MATCH)
|
||||
+ option_ok = 1;
|
||||
+ }
|
||||
break;
|
||||
}
|
||||
#ifdef HAVE_DHCP6
|
||||
@@ -792,13 +796,16 @@ static int parse_dhcp_opt(char *errstr, char *arg, int flags)
|
||||
{
|
||||
new->opt = atoi(arg+8);
|
||||
opt_len = 0;
|
||||
+ option_ok = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
- new->opt = lookup_dhcp_opt(AF_INET6, arg+8);
|
||||
- opt_len = lookup_dhcp_len(AF_INET6, new->opt);
|
||||
- if ((opt_len & OT_INTERNAL) && flags != DHOPT_MATCH)
|
||||
- new->opt = 0;
|
||||
+ if ((new->opt = lookup_dhcp_opt(AF_INET6, arg+8)) != -1)
|
||||
+ {
|
||||
+ opt_len = lookup_dhcp_len(AF_INET6, new->opt);
|
||||
+ if (!(opt_len & OT_INTERNAL) || flags == DHOPT_MATCH)
|
||||
+ option_ok = 1;
|
||||
+ }
|
||||
}
|
||||
/* option6:<opt>|<optname> must follow tag and vendor string. */
|
||||
is6 = 1;
|
||||
@@ -821,7 +828,7 @@ static int parse_dhcp_opt(char *errstr, char *arg, int flags)
|
||||
new->flags |= DHOPT_RFC3925;
|
||||
if (flags == DHOPT_MATCH)
|
||||
{
|
||||
- new->opt = 1; /* avoid error below */
|
||||
+ option_ok = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -848,16 +855,16 @@ static int parse_dhcp_opt(char *errstr, char *arg, int flags)
|
||||
|
||||
if (opt_len == 0 &&
|
||||
!(new->flags & DHOPT_RFC3925))
|
||||
- opt_len = lookup_dhcp_len(AF_INET6 ,new->opt);
|
||||
+ opt_len = lookup_dhcp_len(AF_INET6, new->opt);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (opt_len == 0 &&
|
||||
!(new->flags & (DHOPT_VENDOR | DHOPT_ENCAPSULATE | DHOPT_RFC3925)))
|
||||
- opt_len = lookup_dhcp_len(AF_INET ,new->opt);
|
||||
+ opt_len = lookup_dhcp_len(AF_INET, new->opt);
|
||||
|
||||
/* option may be missing with rfc3925 match */
|
||||
- if (new->opt == 0)
|
||||
+ if (!option_ok)
|
||||
ret_err(_("bad dhcp-option"));
|
||||
|
||||
if (comma)
|
||||
--
|
||||
1.8.1.5
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DNSMASQ_VERSION = 2.65
|
||||
DNSMASQ_VERSION = 2.66
|
||||
DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq
|
||||
DNSMASQ_MAKE_ENV = $(TARGET_MAKE_ENV) CC="$(TARGET_CC)"
|
||||
DNSMASQ_MAKE_OPT = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr CFLAGS="$(TARGET_CFLAGS)"
|
||||
|
@ -6,9 +6,10 @@ config BR2_PACKAGE_DROPBEAR
|
||||
|
||||
http://matt.ucc.asn.au/dropbear/dropbear.html
|
||||
|
||||
if BR2_PACKAGE_DROPBEAR
|
||||
|
||||
config BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS
|
||||
bool "disable reverse DNS lookups"
|
||||
depends on BR2_PACKAGE_DROPBEAR
|
||||
help
|
||||
Disable reverse DNS lookups on connection. This can be handy
|
||||
on systems without working DNS, as connections otherwise
|
||||
@ -17,7 +18,6 @@ config BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS
|
||||
config BR2_PACKAGE_DROPBEAR_SMALL
|
||||
bool "optimize for size"
|
||||
default y
|
||||
depends on BR2_PACKAGE_DROPBEAR
|
||||
help
|
||||
Compile dropbear for the smallest possible binary size.
|
||||
|
||||
@ -26,14 +26,14 @@ config BR2_PACKAGE_DROPBEAR_SMALL
|
||||
|
||||
config BR2_PACKAGE_DROPBEAR_WTMP
|
||||
bool "log dropbear access to wtmp"
|
||||
depends on BR2_PACKAGE_DROPBEAR
|
||||
help
|
||||
Enable logging of dropbear access to wtmp. Notice that
|
||||
Buildroot does not generate wtmp by default.
|
||||
|
||||
config BR2_PACKAGE_DROPBEAR_LASTLOG
|
||||
bool "log dropbear access to lastlog"
|
||||
depends on BR2_PACKAGE_DROPBEAR
|
||||
help
|
||||
Enable logging of dropbear access to lastlog. Notice that
|
||||
Buildroot does not generate lastlog by default.
|
||||
|
||||
endif
|
||||
|
33
package/dtc/Config.in
Normal file
33
package/dtc/Config.in
Normal file
@ -0,0 +1,33 @@
|
||||
config BR2_PACKAGE_DTC
|
||||
bool "dtc (libfdt)"
|
||||
help
|
||||
The Device Tree Compiler, dtc, takes as input a device-tree in
|
||||
a given format and outputs a device-tree in another format.
|
||||
|
||||
Note that only the library is installed.
|
||||
If you want the programs, say 'y' here, and to "dtc programs", below.
|
||||
|
||||
http://git.jdl.com/gitweb/?p=dtc.git (no home page)
|
||||
|
||||
if BR2_PACKAGE_DTC
|
||||
|
||||
config BR2_PACKAGE_DTC_PROGRAMS
|
||||
bool "dtc programs"
|
||||
help
|
||||
Say 'y' here if you also want the programs on the target:
|
||||
- convert-dtsv0 convert from version 0 to version 1
|
||||
- dtc the device tree compiler
|
||||
- dtdiff compare two device trees (needs bash)
|
||||
- fdtdump print a readable version of a flat device tree
|
||||
- fdtget read values from device tree
|
||||
- fdtput write a property value to a device tree
|
||||
|
||||
Note: dtdiff requires bash, so if bash is not selected, dtdiff will
|
||||
be removed from the target file system. Enable bash if you
|
||||
need dtdiff on the target.
|
||||
|
||||
comment "dtdiff will not be installed: it requires bash"
|
||||
depends on BR2_PACKAGE_DTC_PROGRAMS
|
||||
depends on !BR2_PACKAGE_BASH
|
||||
|
||||
endif
|
28
package/dtc/dtc-extra_cflags.patch
Normal file
28
package/dtc/dtc-extra_cflags.patch
Normal file
@ -0,0 +1,28 @@
|
||||
Makefile: append the CFLAGS to existing ones
|
||||
|
||||
Allow the user to pass custom CFLAGS (eg. optimisation flags).
|
||||
|
||||
Do not use EXTRA_CFLAGS, append to existing CFLAGS with += (Arnout)
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Cc: Arnout Vandecappelle <arnout@mind.be>
|
||||
|
||||
---
|
||||
Patch not sent upstream.
|
||||
|
||||
Although not specific to buildroot, I am not sure this is the best
|
||||
way to handle user-supplied CFLAGS.
|
||||
|
||||
diff -durN dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef.orig/Makefile dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef/Makefile
|
||||
--- dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef.orig/Makefile 2012-10-22 22:02:47.541240846 +0200
|
||||
+++ dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef/Makefile 2012-10-22 22:03:21.151047833 +0200
|
||||
@@ -18,7 +18,8 @@
|
||||
CPPFLAGS = -I libfdt -I .
|
||||
WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
|
||||
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls
|
||||
-CFLAGS = -g -Os -fPIC -Werror $(WARNINGS)
|
||||
+CFLAGS ?= -g -Os
|
||||
+CFLAGS += -fPIC $(WARNINGS)
|
||||
|
||||
BISON = bison
|
||||
LEX = flex
|
28
package/dtc/dtc-separate-lib-install.patch
Normal file
28
package/dtc/dtc-separate-lib-install.patch
Normal file
@ -0,0 +1,28 @@
|
||||
Makefile: add a rule to only install libfdt
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
---
|
||||
Patch not sent upstream.
|
||||
|
||||
It's really specific to buildroot, and is probably not
|
||||
good (aka generic) enough to be pushed upstream.
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1169e6c..39e7190 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -160,10 +160,12 @@ endif
|
||||
# intermediate target and building them again "for real"
|
||||
.SECONDARY: $(DTC_GEN_SRCS) $(CONVERT_GEN_SRCS)
|
||||
|
||||
-install: all $(SCRIPTS)
|
||||
+install: all $(SCRIPTS) libfdt_install
|
||||
@$(VECHO) INSTALL
|
||||
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)
|
||||
+
|
||||
+libfdt_install: libfdt
|
||||
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
|
||||
$(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
|
||||
ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
|
56
package/dtc/dtc.mk
Normal file
56
package/dtc/dtc.mk
Normal file
@ -0,0 +1,56 @@
|
||||
#############################################################
|
||||
#
|
||||
# dtc
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DTC_VERSION = e4b497f367a3b2ae99cc52089a14a221b13a76ef
|
||||
DTC_SITE = git://git.jdl.com/software/dtc.git
|
||||
DTC_LICENSE = GPLv2+/BSD-2c
|
||||
DTC_LICENSE_FILES = README.license GPL
|
||||
DTC_INSTALL_STAGING = YES
|
||||
|
||||
define DTC_POST_INSTALL_TARGET_RM_DTDIFF
|
||||
rm -f $(TARGET_DIR)/usr/bin/dtdiff
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DTC_PROGRAMS),y)
|
||||
|
||||
DTC_LICENSE += (for the library), GPLv2+ (for the executables)
|
||||
# Use default goal to build everything
|
||||
DTC_BUILD_GOAL =
|
||||
DTC_INSTALL_GOAL = install
|
||||
DTC_CLEAN_GOAL = clean
|
||||
ifeq ($(BR2_PACKAGE_BASH),)
|
||||
DTC_POST_INSTALL_TARGET_HOOKS += DTC_POST_INSTALL_TARGET_RM_DTDIFF
|
||||
endif
|
||||
|
||||
else # $(BR2_PACKAGE_DTC_PROGRAMS) != y
|
||||
|
||||
DTC_BUILD_GOAL = libfdt
|
||||
# libfdt_install is our own install rule added by our patch
|
||||
DTC_INSTALL_GOAL = libfdt_install
|
||||
DTC_CLEAN_GOAL = libfdt_clean
|
||||
|
||||
endif # $(BR2_PACKAGE_DTC_PROGRAMS) != y
|
||||
|
||||
define DTC_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
$(MAKE) -C $(@D) PREFIX=/usr $(DTC_BUILD_GOAL)
|
||||
endef
|
||||
|
||||
# For staging, only the library is needed
|
||||
define DTC_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) PREFIX=/usr libfdt_install
|
||||
endef
|
||||
|
||||
define DTC_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr $(DTC_INSTALL_GOAL)
|
||||
endef
|
||||
|
||||
define DTC_CLEAN_CMDS
|
||||
$(MAKE) -C $(@D) $(DTC_CLEAN_GOAL)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
@ -11,4 +11,20 @@ ED_CONF_OPT = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
||||
ED_LICENSE = GPLv3+
|
||||
ED_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
define ED_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
define ED_BUILD_CMDS
|
||||
$(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define ED_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -4,8 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FFTW_VERSION = 3.3.2
|
||||
FFTW_VERSION = 3.3.3
|
||||
FFTW_SITE = http://www.fftw.org
|
||||
FFTW_INSTALL_STAGING = YES
|
||||
FFTW_LICENSE = GPLv2+
|
||||
FFTW_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -12,5 +12,6 @@ FLTK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) STRIP=$(TARGET_STRIP) install
|
||||
FLTK_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install
|
||||
FLTK_CONF_OPT = --enable-threads --with-x
|
||||
FLTK_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXt
|
||||
FLTK_CONFIG_SCRIPTS = fltk-config
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
8
package/freescale-imx/Config.in
Normal file
8
package/freescale-imx/Config.in
Normal file
@ -0,0 +1,8 @@
|
||||
menu "Freescale i.MX libraries"
|
||||
depends on BR2_arm
|
||||
|
||||
source "package/freescale-imx/imx-lib/Config.in"
|
||||
source "package/freescale-imx/firmware-imx/Config.in"
|
||||
source "package/freescale-imx/gpu-viv-bin-mx6q/Config.in"
|
||||
|
||||
endmenu
|
@ -1,12 +1,11 @@
|
||||
#############################################################
|
||||
#
|
||||
# buildroot makefile for firmware-imx
|
||||
# firmware-imx
|
||||
#
|
||||
#############################################################
|
||||
|
||||
FIRMWARE_IMX_VERSION = 12.09.01
|
||||
# No official download site from freescale, just this mirror
|
||||
FIRMWARE_IMX_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
||||
FIRMWARE_IMX_VERSION = $(FREESCALE_IMX_VERSION)
|
||||
FIRMWARE_IMX_SITE = $(FREESCALE_IMX_MIRROR_SITE)
|
||||
FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin
|
||||
FIRMWARE_IMX_LICENSE = Freescale Semiconductor Software License Agreement, \
|
||||
Atheros license (ath6k)
|
13
package/freescale-imx/freescale-imx.mk
Normal file
13
package/freescale-imx/freescale-imx.mk
Normal file
@ -0,0 +1,13 @@
|
||||
#############################################################
|
||||
#
|
||||
# freescale-imx
|
||||
#
|
||||
#############################################################
|
||||
|
||||
FREESCALE_IMX_VERSION = 1.1.0
|
||||
|
||||
# No official download site from freescale, just this mirror
|
||||
FREESCALE_IMX_MIRROR_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
||||
|
||||
include package/freescale-imx/*/*.mk
|
||||
|
35
package/freescale-imx/gpu-viv-bin-mx6q/Config.in
Normal file
35
package/freescale-imx/gpu-viv-bin-mx6q/Config.in
Normal file
@ -0,0 +1,35 @@
|
||||
comment "gpu-viv-bin-mx6q requires a glibc toolchain"
|
||||
depends on !(BR2_TOOLCHAIN_CTNG_glibc || \
|
||||
BR2_TOOLCHAIN_CTNG_eglibc || \
|
||||
BR2_TOOLCHAIN_EXTERNAL_GLIBC)
|
||||
|
||||
config BR2_PACKAGE_GPU_VIV_BIN_MX6Q
|
||||
bool "gpu-viv-bin-mx6q"
|
||||
select BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
select BR2_PACKAGE_HAS_OPENGL_ES
|
||||
depends on BR2_arm # Only relevant for i.MX6
|
||||
# Library binaries are linked against libc.so.6
|
||||
depends on BR2_TOOLCHAIN_CTNG_glibc || \
|
||||
BR2_TOOLCHAIN_CTNG_eglibc || \
|
||||
BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
||||
help
|
||||
Userspace libraries for Vivante GPU on i.MX6 platforms
|
||||
|
||||
It contains libraries and headers for GLES, OpenCL, and
|
||||
OpenVG. It also contains a DRI plugin for X11. It also
|
||||
contains a plugin for DirectFB-1.4.0, but that doesn't work
|
||||
together with buildroot's DirectFB version.
|
||||
|
||||
This library is provided by Freescale as-is and doesn't have
|
||||
an upstream.
|
||||
|
||||
if BR2_PACKAGE_GPU_VIV_BIN_MX6Q
|
||||
|
||||
config BR2_PACKAGE_GPU_VIV_BIN_MX6Q_EXAMPLES
|
||||
bool "install examples"
|
||||
help
|
||||
Copy the Vivante examples to the target.
|
||||
|
||||
Warning: examples take approximately 150 MB of disk space.
|
||||
|
||||
endif
|
@ -0,0 +1,16 @@
|
||||
Correct the directory path for gc_hal_eglplatform_type.h
|
||||
|
||||
Signed-off-by: Henk Fijnvandraat <h.fijnvandraat@inter.nl.net>
|
||||
|
||||
diff -rup gpu-viv-bin-mx6q-1.1.0-orig/usr/include/gc_vdk_types.h gpu-viv-bin-mx6q-1.1.0/usr/include/gc_vdk_types.h
|
||||
--- gpu-viv-bin-mx6q-1.1.0-orig/usr/include/gc_vdk_types.h 2012-12-18 10:35:55.000000000 +0100
|
||||
+++ gpu-viv-bin-mx6q-1.1.0/usr/include/gc_vdk_types.h 2013-05-09 21:09:28.080138681 +0200
|
||||
@@ -39,7 +39,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include <EGL/egl.h>
|
||||
-#include "gc_hal_eglplatform_type.h"
|
||||
+#include <HAL/gc_hal_eglplatform_type.h>
|
||||
|
||||
|
||||
/*******************************************************************************
|
79
package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk
Normal file
79
package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk
Normal file
@ -0,0 +1,79 @@
|
||||
#############################################################
|
||||
#
|
||||
# gpu-viv-bin-mx6q
|
||||
#
|
||||
#############################################################
|
||||
|
||||
GPU_VIV_BIN_MX6Q_VERSION = $(FREESCALE_IMX_VERSION)
|
||||
GPU_VIV_BIN_MX6Q_SITE = $(FREESCALE_IMX_MIRROR_SITE)
|
||||
GPU_VIV_BIN_MX6Q_SOURCE = gpu-viv-bin-mx6q-$(GPU_VIV_BIN_MX6Q_VERSION).bin
|
||||
|
||||
GPU_VIV_BIN_MX6Q_INSTALL_STAGING = YES
|
||||
|
||||
GPU_VIV_BIN_MX6Q_LICENSE = Freescale Semiconductor Software License Agreement
|
||||
|
||||
# No license file is included in the archive; we could extract it from
|
||||
# the self-extractor, but that's just too much effort.
|
||||
# This is a legal minefield: the EULA specifies that
|
||||
# the Board Support Package includes software and hardware (sic!)
|
||||
# for which a separate license is needed...
|
||||
GPU_VIV_BIN_MX6Q_REDISTRIBUTE = NO
|
||||
|
||||
# DirectFB is not supported (wrong version)
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
GPU_VIV_BIN_MX6Q_LIB_TARGET = x11
|
||||
else
|
||||
GPU_VIV_BIN_MX6Q_LIB_TARGET = fb
|
||||
endif
|
||||
|
||||
# The archive is a shell-self-extractor of a bzipped tar. It happens
|
||||
# to extract in the correct directory (gpu-viv-bin-mx6q-x.y.z)
|
||||
# The --force makes sure it doesn't fail if the source dir already exists.
|
||||
# The --auto-accept skips the license check - not needed for us
|
||||
# because we have legal-info.
|
||||
define GPU_VIV_BIN_MX6Q_EXTRACT_CMDS
|
||||
(cd $(BUILD_DIR); \
|
||||
sh $(DL_DIR)/$(GPU_VIV_BIN_MX6Q_SOURCE) --force --auto-accept)
|
||||
endef
|
||||
|
||||
# Instead of building, we fix up the inconsistencies that exist
|
||||
# in the upstream archive here.
|
||||
# Make sure these commands are idempotent.
|
||||
define GPU_VIV_BIN_MX6Q_BUILD_CMDS
|
||||
$(SED) 's/defined(LINUX)/defined(__linux__)/g' $(@D)/usr/include/*/*.h
|
||||
for lib in EGL GAL VIVANTE; do \
|
||||
ln -sf lib$${lib}-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so \
|
||||
$(@D)/usr/lib/lib$${lib}.so; \
|
||||
done
|
||||
ln -sf libGL.so.1.2 $(@D)/usr/lib/libGL.so.1
|
||||
ln -sf libGL.so.1.2 $(@D)/usr/lib/libGL.so
|
||||
endef
|
||||
|
||||
define GPU_VIV_BIN_MX6Q_INSTALL_STAGING_CMDS
|
||||
cp -r $(@D)/usr/* $(STAGING_DIR)/usr
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q_EXAMPLES),y)
|
||||
define GPU_VIV_BIN_MX6Q_INSTALL_EXAMPLES
|
||||
mkdir -p $(TARGET_DIR)/usr/share/examples/
|
||||
cp -r $(@D)/opt/* $(TARGET_DIR)/usr/share/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
# On the target, remove the unused libraries.
|
||||
# Note that this is _required_, else ldconfig may create symlinks
|
||||
# to the wrong library
|
||||
define GPU_VIV_BIN_MX6Q_INSTALL_TARGET_CMDS
|
||||
$(GPU_VIV_BIN_MX6Q_INSTALL_EXAMPLES)
|
||||
cp -a $(@D)/usr/lib $(TARGET_DIR)/usr
|
||||
for lib in EGL GAL VIVANTE; do \
|
||||
for f in $(TARGET_DIR)/usr/lib/lib$${lib}-*.so; do \
|
||||
case $$f in \
|
||||
*-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so) : ;; \
|
||||
*) $(RM) $$f ;; \
|
||||
esac; \
|
||||
done; \
|
||||
done
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
@ -4,9 +4,8 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
IMX_LIB_VERSION = 12.09.01
|
||||
# No official download site from freescale, just this mirror
|
||||
IMX_LIB_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
||||
IMX_LIB_VERSION = $(FREESCALE_IMX_VERSION)
|
||||
IMX_LIB_SITE = $(FREESCALE_IMX_MIRROR_SITE)
|
||||
IMX_LIB_LICENSE = LGPLv2.1+
|
||||
# No license file included
|
||||
|
@ -1,6 +1,8 @@
|
||||
config BR2_PACKAGE_GAWK
|
||||
bool "gawk"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
help
|
||||
A special-purpose programming language which is data driven
|
||||
rather than procedural. Allows for simple data-reformatting jobs
|
||||
|
@ -4,10 +4,10 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
GAWK_VERSION = 4.0.1
|
||||
GAWK_VERSION = 4.1.0
|
||||
GAWK_SITE = $(BR2_GNU_MIRROR)/gawk
|
||||
GAWK_TARGET_BINS = awk gawk igawk pgawk
|
||||
GAWK_LICENSE = GPLv3
|
||||
GAWK_DEPENDENCIES = host-gawk $(if $(BR2_PACKAGE_MPFR),mpfr)
|
||||
GAWK_LICENSE = GPLv3+
|
||||
GAWK_LICENSE_FILES = COPYING
|
||||
|
||||
# Prefer full-blown gawk over busybox awk
|
||||
@ -15,7 +15,7 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
GAWK_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
# we don't have a host-busybox
|
||||
# We don't have a host-busybox
|
||||
HOST_GAWK_DEPENDENCIES =
|
||||
|
||||
define GAWK_CREATE_SYMLINK
|
||||
@ -24,13 +24,13 @@ endef
|
||||
|
||||
GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK
|
||||
|
||||
define GAWK_UNINSTALL_TARGET_CMDS
|
||||
rm -f $(addprefix $(TARGET_DIR)/usr/bin/, $(GAWK_TARGET_BINS))
|
||||
rm -f $(TARGET_DIR)/usr/share/info/gawk*.info
|
||||
rm -f $(TARGET_DIR)/usr/share/man/man*/*gawk.1
|
||||
rm -rf $(TARGET_DIR)/usr/libexec/awk
|
||||
rm -rf $(TARGET_DIR)/usr/share/awk
|
||||
# Assume we support shared libs
|
||||
# The check isn't cross-compile friendly and it's mandatory anyway
|
||||
define GAWK_DISABLE_SHARED_CHECK
|
||||
$(SED) 's/ check-for-shared-lib-support//' $(@D)/extension/Makefile.in
|
||||
endef
|
||||
|
||||
GAWK_POST_PATCH_HOOKS += GAWK_DISABLE_SHARED_CHECK
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
@ -48,6 +48,7 @@ define GDB_XTENSA_PRE_PATCH
|
||||
tar xf $(BR2_XTENSA_OVERLAY_DIR)/xtensa_$(XTENSA_CORE_NAME).tar \
|
||||
-C $(@D) --strip-components=1 gdb
|
||||
endef
|
||||
GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
||||
HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
||||
endif
|
||||
|
||||
|
42
package/gettext/gettext-03-option-to-disable-tools.patch
Normal file
42
package/gettext/gettext-03-option-to-disable-tools.patch
Normal file
@ -0,0 +1,42 @@
|
||||
Add a --disable-tools option
|
||||
|
||||
This patch adds a --disable-tools option that allows to disable the
|
||||
compilation of the gettext tools, which may not be necessary on a
|
||||
small embedded Linux system.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -37,6 +37,10 @@
|
||||
|
||||
dnl Checks for library functions.
|
||||
|
||||
+AC_ARG_ENABLE([tools], [--disable-tools do not build tools],
|
||||
+ [enable_tools=$enableval], [enable_tools=yes])
|
||||
+AM_CONDITIONAL([ENABLE_TOOLS], [test "$enable_tools" = "yes"])
|
||||
+
|
||||
AC_CONFIG_SUBDIRS([gettext-runtime gettext-tools])
|
||||
|
||||
dnl Ensure that "configure --help" lists all the command line options that
|
||||
Index: b/Makefile.am
|
||||
===================================================================
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -20,7 +20,13 @@
|
||||
ACLOCAL = build-aux/fixaclocal @ACLOCAL@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
-SUBDIRS = gnulib-local gettext-runtime gettext-tools
|
||||
+if ENABLE_TOOLS
|
||||
+TOOLS_SUBDIR = gettext-tools
|
||||
+else
|
||||
+TOOLS_SUBDIR =
|
||||
+endif
|
||||
+
|
||||
+SUBDIRS = gnulib-local gettext-runtime $(TOOLS_SUBDIR)
|
||||
|
||||
EXTRA_DIST = \
|
||||
version.sh DEPENDENCIES PACKAGING HACKING ChangeLog.0 autogen.sh \
|
20
package/gettext/gettext-04-remove-examples-tests.patch
Normal file
20
package/gettext/gettext-04-remove-examples-tests.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Disable tests and examples
|
||||
|
||||
This patch disables the gettext-tools tests and examples, which are
|
||||
generally not necessary.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/gettext-tools/Makefile.am
|
||||
===================================================================
|
||||
--- a/gettext-tools/Makefile.am
|
||||
+++ b/gettext-tools/Makefile.am
|
||||
@@ -20,7 +20,7 @@
|
||||
ACLOCAL = ../build-aux/fixaclocal @ACLOCAL@
|
||||
ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4
|
||||
|
||||
-SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4 tests gnulib-tests examples
|
||||
+SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4
|
||||
|
||||
EXTRA_DIST = misc/DISCLAIM
|
||||
MOSTLYCLEANFILES = core *.stackdump
|
25
package/gettext/gettext-05-use-shell.patch
Normal file
25
package/gettext/gettext-05-use-shell.patch
Normal file
@ -0,0 +1,25 @@
|
||||
gettext-runtime: use @SHELL@ for the SHELL variable definition
|
||||
|
||||
The gettext-runtime/Makefile.in uses an hardcoded SHELL = /bin/sh
|
||||
variable. This causes problems at build time, because libtool is then
|
||||
called with the 'sh' shell, which does not support the += construct
|
||||
that the libtool script is using.
|
||||
|
||||
Instead, this Makefile.in should be definining SHELL = @SHELL@, just
|
||||
like all other Makefile.in of gettext.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/gettext-runtime/intl/Makefile.in
|
||||
===================================================================
|
||||
--- a/gettext-runtime/intl/Makefile.in
|
||||
+++ b/gettext-runtime/intl/Makefile.in
|
||||
@@ -17,7 +17,7 @@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
|
||||
-SHELL = /bin/sh
|
||||
+SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
@ -9,11 +9,25 @@ GETTEXT_SITE = $(BR2_GNU_MIRROR)/gettext
|
||||
GETTEXT_INSTALL_STAGING = YES
|
||||
GETTEXT_LICENSE = GPLv2+
|
||||
GETTEXT_LICENSE_FILES = COPYING
|
||||
GETTEXT_AUTORECONF = YES
|
||||
HOST_GETTEXT_AUTORECONF = YES
|
||||
|
||||
GETTEXT_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
HOST_GETTEXT_DEPENDENCIES = # we don't want the libiconv dependency
|
||||
|
||||
GETTEXT_CONF_OPT += \
|
||||
--disable-libasprintf \
|
||||
--disable-acl \
|
||||
--disable-openmp \
|
||||
--disable-rpath \
|
||||
--disable-java \
|
||||
--disable-native-java \
|
||||
--disable-csharp \
|
||||
--disable-relocatable \
|
||||
--without-emacs \
|
||||
--disable-tools
|
||||
|
||||
HOST_GETTEXT_CONF_OPT = \
|
||||
--disable-libasprintf \
|
||||
--disable-acl \
|
||||
--disable-openmp \
|
||||
@ -42,19 +56,7 @@ define GETTEXT_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libintl*.so* $(TARGET_DIR)/usr/lib/
|
||||
endef
|
||||
endif
|
||||
# Ditch the tools since they're off and pull other dependencies
|
||||
define GETTEXT_DISABLE_TOOLS
|
||||
$(SED) 's/runtime gettext-tools/runtime/' $(@D)/Makefile.in
|
||||
endef
|
||||
endif # GETTEXT_TOOLS = n
|
||||
|
||||
# The tools tests build fails with full toolchain without threads
|
||||
define GETTEXT_DISABLE_TESTS
|
||||
$(SED) 's/m4 tests/m4/' $(@D)/gettext-tools/Makefile.in
|
||||
endef
|
||||
|
||||
GETTEXT_POST_PATCH_HOOKS += GETTEXT_DISABLE_TOOLS
|
||||
GETTEXT_POST_PATCH_HOOKS += GETTEXT_DISABLE_TESTS
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
11
package/git/Config.in
Normal file
11
package/git/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_GIT
|
||||
bool "git"
|
||||
depends on BR2_LARGEFILE
|
||||
help
|
||||
Git is a free and open source distributed version control system
|
||||
designed to handle everything from small to very large projects.
|
||||
|
||||
http://git-scm.com
|
||||
|
||||
comment "git requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
63
package/git/git.mk
Normal file
63
package/git/git.mk
Normal file
@ -0,0 +1,63 @@
|
||||
#############################################################
|
||||
#
|
||||
# git
|
||||
#
|
||||
#############################################################
|
||||
|
||||
GIT_VERSION = 1.8.3
|
||||
GIT_SITE = http://git-core.googlecode.com/files/
|
||||
GIT_LICENSE = GPLv2 LGPLv2.1+
|
||||
GIT_LICENSE_FILES = COPYING LGPL-2.1
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
GIT_DEPENDENCIES += zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
GIT_DEPENDENCIES += openssl
|
||||
GIT_CONF_OPT += --with-openssl
|
||||
else
|
||||
GIT_CONF_OPT += --without-openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PERL),y)
|
||||
GIT_DEPENDENCIES += perl
|
||||
GIT_CONF_OPT += --with-libpcre
|
||||
else
|
||||
GIT_CONF_OPT += --without-libpcre
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CURL),y)
|
||||
GIT_DEPENDENCIES += curl
|
||||
GIT_CONF_OPT += --with-curl
|
||||
else
|
||||
GIT_CONF_OPT += --without-curl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXPAT),y)
|
||||
GIT_DEPENDENCIES += expat
|
||||
GIT_CONF_OPT += --with-expat
|
||||
else
|
||||
GIT_CONF_OPT += --without-expat
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
GIT_DEPENDENCIES += libiconv
|
||||
GIT_CONF_OPT += --with-iconv=/usr/lib
|
||||
else
|
||||
GIT_CONF_OPT += --without-iconv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TCL),y)
|
||||
GIT_DEPENDENCIES += tcl
|
||||
GIT_CONF_OPT += --with-tcltk
|
||||
else
|
||||
GIT_CONF_OPT += --without-tcltk
|
||||
endif
|
||||
|
||||
# assume yes for these tests, configure will bail out otherwise
|
||||
# saying error: cannot run test program while cross compiling
|
||||
GIT_CONF_ENV = ac_cv_fread_reads_directories=yes \
|
||||
ac_cv_snprintf_returns_bogus=yes
|
||||
|
||||
$(eval $(autotools-package))
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
GMP_VERSION = 5.1.1
|
||||
GMP_VERSION = 5.1.2
|
||||
GMP_SITE = ftp://ftp.gmplib.org/pub/gmp-$(GMP_VERSION)
|
||||
GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2
|
||||
GMP_INSTALL_STAGING = YES
|
||||
|
@ -9,6 +9,7 @@ GSL_SITE = $(BR2_GNU_MIRROR)/gsl
|
||||
GSL_INSTALL_STAGING = YES
|
||||
GSL_LICENSE = GPLv3
|
||||
GSL_LICENSE_FILES = COPYING
|
||||
GSL_CONFIG_SCRIPTS = gsl-config
|
||||
|
||||
# uClibc pretends to have fenv support as it installs <fenv.h>, but in
|
||||
# practice, it only implements it for i386. Problem reported upstream
|
||||
|
@ -12,6 +12,7 @@ GUTENPRINT_LICENSE_FILES = COPYING
|
||||
|
||||
# Needed, as we touch Makefile.am
|
||||
GUTENPRINT_AUTORECONF = YES
|
||||
HOST_GUTENPRINT_AUTORECONF = YES
|
||||
|
||||
GUTENPRINT_DEPENDENCIES = cups host-pkgconf \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
@ -69,6 +70,7 @@ define GUTENPRINT_CREATE_M4_DIR
|
||||
mkdir -p $(@D)/m4local
|
||||
endef
|
||||
GUTENPRINT_POST_PATCH_HOOKS += GUTENPRINT_CREATE_M4_DIR
|
||||
HOST_GUTENPRINT_POST_PATCH_HOOKS += GUTENPRINT_CREATE_M4_DIR
|
||||
|
||||
define HOST_GUTENPRINT_POST_BUILD_INSTAL_TMP_HEADER
|
||||
cp $(@D)/src/xml/xmli18n-tmp.h $(HOST_DIR)/usr/include
|
||||
|
@ -4,13 +4,18 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
HTTPING_VERSION = 1.6
|
||||
HTTPING_VERSION = 2.2.1
|
||||
HTTPING_SOURCE = httping-$(HTTPING_VERSION).tgz
|
||||
HTTPING_SITE = http://www.vanheusden.com/httping
|
||||
HTTPING_LICENSE = GPLv2
|
||||
HTTPING_LICENSE_FILES = license.txt
|
||||
HTTPING_DEPENDENCIES = $(if $(BR2_PACKAGE_OPENSSL),openssl)
|
||||
HTTPING_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_NCURSES),ncurses) \
|
||||
$(if $(BR2_PACKAGE_FFTW),fftw)
|
||||
HTTPING_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) \
|
||||
FW=$(if $(BR2_PACKAGE_FFTW),yes,no) \
|
||||
NC=$(if $(BR2_PACKAGE_NCURSES),yes,no) \
|
||||
SSL=$(if $(BR2_PACKAGE_OPENSSL),yes,no) \
|
||||
TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no)
|
||||
|
||||
|
@ -12,6 +12,7 @@ IMLIB2_LICENSE_FILES = COPYING
|
||||
IMLIB2_INSTALL_STAGING = YES
|
||||
IMLIB2_DEPENDENCIES = host-pkgconf freetype
|
||||
IMLIB2_CONF_OPT = --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config
|
||||
IMLIB2_CONFIG_SCRIPTS = imlib2-config
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMLIB2_X),y)
|
||||
IMLIB2_CONF_OPT += --with-x
|
||||
@ -57,10 +58,7 @@ endif
|
||||
|
||||
# drop -L<dir> from linker flags
|
||||
define IMLIB2_FIXUP_IMLIB2_CONFIG
|
||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
-e 's/-L[^ ]*//g' \
|
||||
$(STAGING_DIR)/usr/bin/imlib2-config
|
||||
$(SED) 's/-L[^ ]*//g' $(STAGING_DIR)/usr/bin/imlib2-config
|
||||
endef
|
||||
|
||||
IMLIB2_POST_INSTALL_STAGING_HOOKS += IMLIB2_FIXUP_IMLIB2_CONFIG
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
IPSET_VERSION = 6.18
|
||||
IPSET_VERSION = 6.19
|
||||
IPSET_SOURCE = ipset-$(IPSET_VERSION).tar.bz2
|
||||
IPSET_SITE = http://ipset.netfilter.org
|
||||
IPSET_DEPENDENCIES = libmnl host-pkgconf
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
IPTABLES_VERSION = 1.4.18
|
||||
IPTABLES_VERSION = 1.4.19.1
|
||||
IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2
|
||||
IPTABLES_SITE = http://ftp.netfilter.org/pub/iptables
|
||||
IPTABLES_INSTALL_STAGING = YES
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
LESS_VERSION = 451
|
||||
LESS_VERSION = 458
|
||||
LESS_SITE = http://www.greenwoodsoftware.com/less
|
||||
LESS_LICENSE = GPLv3+
|
||||
LESS_LICENSE_FILES = COPYING
|
||||
|
@ -9,5 +9,6 @@ LIBART_SOURCE = libart_lgpl-$(LIBART_VERSION).tar.gz
|
||||
LIBART_SITE = http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/
|
||||
LIBART_AUTORECONF = YES
|
||||
LIBART_INSTALL_STAGING = YES
|
||||
LIBART_CONFIG_SCRIPTS = libart2-config
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
10
package/libbsd/Config.in
Normal file
10
package/libbsd/Config.in
Normal file
@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_LIBBSD
|
||||
bool "libbsd"
|
||||
help
|
||||
This library provides useful functions commonly found on BSD
|
||||
systems, and lacking on others like GNU systems, thus making
|
||||
it easier to port projects with strong BSD origins, without
|
||||
needing to embed the same code over and over again on each
|
||||
project.
|
||||
|
||||
http://libbsd.freedesktop.org/
|
21
package/libbsd/libbsd.mk
Normal file
21
package/libbsd/libbsd.mk
Normal file
@ -0,0 +1,21 @@
|
||||
#############################################################
|
||||
#
|
||||
# libbsd
|
||||
#
|
||||
#############################################################
|
||||
|
||||
LIBBSD_VERSION = 0.4.2
|
||||
LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.gz
|
||||
LIBBSD_SITE = http://libbsd.freedesktop.org/releases
|
||||
LIBBSD_LICENSE = BSD-3c MIT
|
||||
LIBBSD_LICENSE_FILES = LICENSE
|
||||
|
||||
# man-pages are BSD-4c, so that license only matters
|
||||
# if doc is kept in the target rootfs
|
||||
ifeq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
LIBBSD_LICENSE += (libraries), BSD-4c (documentation)
|
||||
endif
|
||||
|
||||
LIBBSD_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(autotools-package))
|
@ -10,5 +10,6 @@ LIBCDAUDIO_SITE = http://downloads.sourceforge.net/project/libcdaudio/libcdaudio
|
||||
LIBCDAUDIO_AUTORECONF = YES
|
||||
LIBCDAUDIO_LIBTOOL_PATCH = YES
|
||||
LIBCDAUDIO_INSTALL_STAGING = YES
|
||||
LIBCDAUDIO_CONFIG_SCRIPTS = libcdaudio-config
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -9,7 +9,7 @@ LIBCGICC_SOURCE=cgicc-$(LIBCGICC_VERSION).tar.gz
|
||||
LIBCGICC_LICENSE=LGPLv3+
|
||||
LIBCGICC_INSTALL_STAGING=YES
|
||||
LIBCGICC_AUTORECONF=YES
|
||||
|
||||
LIBCGICC_CONFIG_SCRIPTS = cgicc-config
|
||||
LIBCGICC_CONF_OPT = \
|
||||
--disable-demos \
|
||||
--disable-doc
|
||||
|
9
package/libedit/Config.in
Normal file
9
package/libedit/Config.in
Normal file
@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_LIBEDIT
|
||||
bool "libedit"
|
||||
select BR2_PACKAGE_LIBBSD
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
The editline library (from BSD) provides generic line editing
|
||||
and history functions. It slightly resembles GNU readline.
|
||||
|
||||
http://ftp.netbsd.org/pub/NetBSD/NetBSD-release-5-0/src/lib/libedit/
|
75
package/libedit/libedit.mk
Normal file
75
package/libedit/libedit.mk
Normal file
@ -0,0 +1,75 @@
|
||||
#############################################################
|
||||
#
|
||||
# libedit
|
||||
#
|
||||
#############################################################
|
||||
|
||||
# Note: libedit does not have a regular homepage, and it seems
|
||||
# there is no place where to download a tarball from. That's
|
||||
# why we use the Debian way-back machine.
|
||||
LIBEDIT_VERSION_MAJOR = 2
|
||||
LIBEDIT_VERSION_MINOR = 11
|
||||
LIBEDIT_VERSION_EXTRA = -20080614
|
||||
LIBEDIT_VERSION = $(LIBEDIT_VERSION_MAJOR).$(LIBEDIT_VERSION_MINOR)
|
||||
LIBEDIT_SOURCE = libedit_$(LIBEDIT_VERSION)$(LIBEDIT_VERSION_EXTRA).orig.tar.bz2
|
||||
LIBEDIT_SITE = http://snapshot.debian.org/archive/debian/20120601T033558Z/pool/main/libe/libedit
|
||||
LIBEDIT_SUBDIR = libedit
|
||||
LIBEDIT_PATCH = libedit_2.11-20080614-5.debian.tar.bz2
|
||||
LIBEDIT_INSTALL_STAGING = YES
|
||||
LIBEDIT_DEPENDENCIES = host-pmake libbsd ncurses
|
||||
|
||||
define LIBEDIT_POST_PATCH_PERMISSIONS
|
||||
chmod +x $(@D)/libedit/makelist
|
||||
endef
|
||||
|
||||
LIBEDIT_POST_PATCH_HOOKS += LIBEDIT_POST_PATCH_PERMISSIONS
|
||||
|
||||
define LIBEDIT_FIX_VIS_H_INCLUDE
|
||||
$(SED) 's,^#include <vis\.h>$$,#include <bsd/vis\.h>,;' \
|
||||
$(@D)/libedit/filecomplete.c \
|
||||
$(@D)/libedit/history.c \
|
||||
$(@D)/libedit/readline.c
|
||||
endef
|
||||
LIBEDIT_POST_PATCH_HOOKS += LIBEDIT_FIX_VIS_H_INCLUDE
|
||||
|
||||
LIBEDIT_PMAKE_OPTS = MKPROFILE=no MKCATPAGES=no MLINKS= MANPAGES= NOGCCERROR=1 \
|
||||
SHLIB_SHFLAGS="-Wl,-soname,libedit.so.${LIBEDIT_VERSION_MAJOR}" \
|
||||
|
||||
define LIBEDIT_BUILD_CMDS
|
||||
cd $(@D)/$(LIBEDIT_SUBDIR); \
|
||||
$(TARGET_CONFIGURE_OPTS) LDADD="-lbsd -lcurses" pmake $(LIBEDIT_PMAKE_OPTS)
|
||||
endef
|
||||
|
||||
LIBEDIT_MAN_LINKS = el_init el_end el_reset el_gets el_getc el_push el_parse \
|
||||
el_set el_get el_source el_resize el_line el_insertstr \
|
||||
el_deletestr history_init history_end history
|
||||
|
||||
# $1: DESTDIR to install into
|
||||
# Can't use pmake to install, it wants to be root. sigh... :-(
|
||||
# We need to create the .so links, otherwise we can't link; and waiting for
|
||||
# ldconfig is too late as it's done just before building the images.
|
||||
define LIBEDIT_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 0644 package/libedit/libedit.pc $(1)/usr/lib/pkgconfig/libedit.pc
|
||||
$(INSTALL) -D -m 0644 $(@D)/libedit/libedit.a $(1)/usr/lib/libedit.a
|
||||
$(INSTALL) -D -m 0644 $(@D)/libedit/libedit_pic.a $(1)/usr/lib/libedit_pic.a
|
||||
$(INSTALL) -D -m 0644 $(@D)/libedit/libedit.so.2.11 $(1)/usr/lib/libedit.so.2.11
|
||||
$(INSTALL) -D -m 0644 $(@D)/libedit/histedit.h $(1)/usr/include/histedit.h
|
||||
ln -sf libedit.so.$(LIBEDIT_VERSION) $(1)/usr/lib/libedit.so.$(LIBEDIT_VERSION_MAJOR)
|
||||
ln -sf libedit.so.$(LIBEDIT_VERSION_MAJOR) $(1)/usr/lib/libedit.so
|
||||
$(INSTALL) -D -m 0644 $(@D)/libedit/readline/readline.h $(1)/usr/include/editline/readline.h
|
||||
$(INSTALL) -v -D -m 0644 $(@D)/libedit/editline.3 $(1)/usr/share/man/man3/editline.3el
|
||||
$(INSTALL) -v -D -m 0644 $(@D)/libedit/editrc.5 $(1)/usr/share/man/man5/editrc.5el
|
||||
for lnk in $(LIBEDIT_MAN_LINKS); do \
|
||||
ln -sfv editline.3el $(1)/usr/share/man/man3/$${lnk}.3el; \
|
||||
done
|
||||
endef
|
||||
|
||||
define LIBEDIT_INSTALL_STAGING_CMDS
|
||||
$(call LIBEDIT_INSTALL_CMDS,$(STAGING_DIR))
|
||||
endef
|
||||
|
||||
define LIBEDIT_INSTALL_TARGET_CMDS
|
||||
$(call LIBEDIT_INSTALL_CMDS,$(TARGET_DIR))
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
13
package/libedit/libedit.pc
Normal file
13
package/libedit/libedit.pc
Normal file
@ -0,0 +1,13 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libedit
|
||||
Description: Not just a replacement library for libreadline and libhistory.
|
||||
Version: 2.11
|
||||
Requires: libbsd ncurses
|
||||
Requires.private:
|
||||
Libs: -L${libdir} -ledit
|
||||
Libs.private:
|
||||
Cflags: -I${includedir}
|
@ -7,7 +7,7 @@ LIBESMTP_VERSION = 1.0.6
|
||||
LIBESMTP_SOURCE = libesmtp-$(LIBESMTP_VERSION).tar.bz2
|
||||
LIBESMTP_SITE = http://www.stafford.uklinux.net/libesmtp
|
||||
LIBESMTP_INSTALL_STAGING = YES
|
||||
|
||||
LIBESMTP_CONFIG_SCRIPTS = libesmtp-config
|
||||
LIBESMTP_DEPENDENCIES = $(if $(BR2_PACKAGE_OPENSSL),openssl)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -8,7 +8,7 @@ LIBFTDI_SOURCE = libftdi-$(LIBFTDI_VERSION).tar.gz
|
||||
LIBFTDI_SITE = http://www.intra2net.com/en/developer/libftdi/download/
|
||||
LIBFTDI_DEPENDENCIES = libusb-compat libusb
|
||||
LIBFTDI_INSTALL_STAGING = YES
|
||||
|
||||
LIBFTDI_CONFIG_SCRIPTS = libftdi-config
|
||||
LIBFTDI_AUTORECONF = YES
|
||||
|
||||
LIBFDTI_CONF_OPT = --without-examples
|
||||
|
@ -175,12 +175,6 @@ HOST_LIBGTK2_CONF_OPT = \
|
||||
--disable-cups \
|
||||
--disable-debug
|
||||
|
||||
define HOST_LIBGTK2_PATCH_REDUCE_DEPENDENCIES_HOOK
|
||||
support/scripts/apply-patches.sh $(@D) $($(PKG)_DIR_PREFIX)/$(RAWNAME) host-*.patch
|
||||
endef
|
||||
|
||||
HOST_LIBGTK2_POST_PATCH_HOOKS += HOST_LIBGTK2_PATCH_REDUCE_DEPENDENCIES_HOOK
|
||||
|
||||
define HOST_LIBGTK2_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) make -C $(@D)/gtk gtk-update-icon-cache
|
||||
endef
|
||||
|
@ -1,13 +1,14 @@
|
||||
#############################################################
|
||||
#
|
||||
# liblog4c
|
||||
#
|
||||
#############################################################
|
||||
LIBLOG4C_LOCALTIME_VERSION = 1.0
|
||||
LIBLOG4C_LOCALTIME_SITE = https://github.com/rcmadruga/log4c-localtime/tarball/v$(LIBLOG4C_LOCALTIME_VERSION)
|
||||
LIBLOG4C_LOCALTIME_INSTALL_STAGING = YES
|
||||
LIBLOG4C_LOCALTIME_CONF_OPT = --disable-expattest
|
||||
LIBLOG4C_LOCALTIME_DEPENDENCIES = expat
|
||||
#############################################################
|
||||
#
|
||||
# liblog4c
|
||||
#
|
||||
#############################################################
|
||||
LIBLOG4C_LOCALTIME_VERSION = 1.0
|
||||
LIBLOG4C_LOCALTIME_SITE = https://github.com/rcmadruga/log4c-localtime/tarball/v$(LIBLOG4C_LOCALTIME_VERSION)
|
||||
LIBLOG4C_LOCALTIME_INSTALL_STAGING = YES
|
||||
LIBLOG4C_LOCALTIME_CONF_OPT = --disable-expattest
|
||||
LIBLOG4C_LOCALTIME_DEPENDENCIES = expat
|
||||
LIBLOG4C_LOCALTIME_CONFIG_SCRIPTS = log4c-config
|
||||
|
||||
define LIBLOG4C_LOCALTIME_FIX_CONFIGURE_PERMS
|
||||
chmod +x $(@D)/configure
|
||||
|
@ -3,12 +3,14 @@
|
||||
# libnspr
|
||||
#
|
||||
#############################################################
|
||||
LIBNSPR_VERSION = 4.9.2
|
||||
LIBNSPR_VERSION = 4.9.6
|
||||
LIBNSPR_SOURCE = nspr-$(LIBNSPR_VERSION).tar.gz
|
||||
LIBNSPR_SITE = https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$(LIBNSPR_VERSION)/src/
|
||||
LIBNSPR_SUBDIR = mozilla/nsprpub
|
||||
LIBNSPR_INSTALL_STAGING = YES
|
||||
LIBNSPR_CONFIG_SCRIPTS = nspr-config
|
||||
LIBNSPR_LICENSE = MPLv2.0
|
||||
LIBNSPR_LICENSE_FILES = mozilla/nsprpub/LICENSE
|
||||
|
||||
# Set the host CFLAGS and LDFLAGS so NSPR does not guess wrongly
|
||||
LIBNSPR_CONF_ENV = HOST_CFLAGS="-g -O2" \
|
||||
|
@ -3,14 +3,17 @@
|
||||
# libnss
|
||||
#
|
||||
#############################################################
|
||||
LIBNSS_VERSION = 3.12.9
|
||||
|
||||
LIBNSS_VERSION = 3.14.3
|
||||
LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz
|
||||
LIBNSS_SITE_VERSION = $(subst .,_,$(LIBNSS_VERSION))
|
||||
LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(LIBNSS_SITE_VERSION)_RTM/src/
|
||||
LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(LIBNSS_SITE_VERSION)_RTM/src
|
||||
LIBNSS_SUBDIR = mozilla/security
|
||||
LIBNSS_DISTDIR = mozilla/dist
|
||||
LIBNSS_INSTALL_STAGING = YES
|
||||
LIBNSS_DEPENDENCIES = libnspr sqlite zlib
|
||||
LIBNSS_LICENSE = MPLv2.0
|
||||
LIBNSS_LICENSE_FILES = mozilla/security/nss/COPYING
|
||||
|
||||
LIBNSS_BUILD_VARS = MOZILLA_CLIENT=1 \
|
||||
NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
LIBSIGSEGV_VERSION = 2.6
|
||||
LIBSIGSEGV_VERSION = 2.10
|
||||
LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv
|
||||
LIBSIGSEGV_INSTALL_STAGING = YES
|
||||
LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes
|
||||
|
@ -3,7 +3,7 @@
|
||||
# libtool
|
||||
#
|
||||
#############################################################
|
||||
LIBTOOL_VERSION = 2.2.10
|
||||
LIBTOOL_VERSION = 2.4.2
|
||||
LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.gz
|
||||
LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
|
||||
LIBTOOL_INSTALL_STAGING = YES
|
||||
|
@ -10,6 +10,7 @@ LIBVNCSERVER_SITE = http://downloads.sourceforge.net/project/libvncserver/libvnc
|
||||
LIBVNCSERVER_LICENSE = GPLv2+
|
||||
LIBVNCSERVER_LICENSE_FILES = COPYING
|
||||
LIBVNCSERVER_INSTALL_STAGING = YES
|
||||
LIBVNCSERVER_CONFIG_SCRIPTS = libvncserver-config
|
||||
|
||||
# only used for examples
|
||||
LIBVNCSERVER_CONF_OPT += --with-sdl-config=/bin/false
|
||||
|
@ -3,7 +3,7 @@
|
||||
# logrotate
|
||||
#
|
||||
#############################################################
|
||||
LOGROTATE_VERSION = 3.7.9
|
||||
LOGROTATE_VERSION = 3.8.4
|
||||
LOGROTATE_SOURCE = logrotate-$(LOGROTATE_VERSION).tar.gz
|
||||
LOGROTATE_SITE = https://fedorahosted.org/releases/l/o/logrotate/
|
||||
LOGROTATE_LICENSE = GPLv2+
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
LUAFILESYSTEM_VERSION = 1.5.0
|
||||
LUAFILESYSTEM_VERSION = 1.6.2
|
||||
LUAFILESYSTEM_SITE = http://github.com/downloads/keplerproject/luafilesystem
|
||||
LUAFILESYSTEM_DEPENDENCIES = lua
|
||||
LUAFILESYSTEM_LICENSE = MIT
|
||||
|
@ -15,6 +15,7 @@ source "package/multimedia/gst-plugins-good/Config.in"
|
||||
source "package/multimedia/gst-plugins-bad/Config.in"
|
||||
source "package/multimedia/gst-plugins-ugly/Config.in"
|
||||
source "package/multimedia/lame/Config.in"
|
||||
source "package/multimedia/libvpx/Config.in"
|
||||
source "package/multimedia/madplay/Config.in"
|
||||
source "package/multimedia/mpd/Config.in"
|
||||
source "package/multimedia/mpg123/Config.in"
|
||||
|
@ -2,6 +2,7 @@ config BR2_PACKAGE_BELLAGIO
|
||||
bool "bellagio"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_HAS_OPENMAX
|
||||
help
|
||||
Bellagio is an opensource implementation of the
|
||||
OpenMAX IL API.
|
||||
|
7
package/multimedia/libvpx/Config.in
Normal file
7
package/multimedia/libvpx/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBVPX
|
||||
bool "libvpx"
|
||||
help
|
||||
A high-quality, open video format that's freely available to
|
||||
everyone.
|
||||
|
||||
http://webmproject.org
|
53
package/multimedia/libvpx/libvpx.mk
Normal file
53
package/multimedia/libvpx/libvpx.mk
Normal file
@ -0,0 +1,53 @@
|
||||
#############################################################
|
||||
#
|
||||
# libvpx
|
||||
#
|
||||
#############################################################
|
||||
|
||||
LIBVPX_VERSION = v1.2.0
|
||||
LIBVPX_SITE = http://git.chromium.org/webm/libvpx.git
|
||||
LIBVPX_SITE_METHOD = git
|
||||
|
||||
LIBVPX_LICENSE = BSD-3c
|
||||
LIBVPX_LICENSE_FILES = LICENSE PATENTS
|
||||
|
||||
LIBVPX_INSTALL_STAGING = YES
|
||||
|
||||
# ld is being used with cc options. therefore, pretend ld is cc.
|
||||
LIBVPX_CONF_ENV = \
|
||||
LD="$(TARGET_CC)" \
|
||||
CROSS=$(GNU_TARGET_NAME)
|
||||
|
||||
LIBVPX_CONF_OPT = \
|
||||
--disable-examples \
|
||||
--disable-docs \
|
||||
--disable-unit-tests
|
||||
|
||||
# This is not a true autotools package. It is based on the ffmpeg build system
|
||||
define LIBVPX_CONFIGURE_CMDS
|
||||
(cd $(LIBVPX_SRCDIR) && rm -rf config.cache && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(LIBVPX_CONF_ENV) \
|
||||
./configure \
|
||||
--target=generic-gnu \
|
||||
--enable-pic \
|
||||
--prefix=/usr \
|
||||
$(SHARED_STATIC_LIBS_OPTS) \
|
||||
$(LIBVPX_CONF_OPT) \
|
||||
)
|
||||
endef
|
||||
|
||||
define LIBVPX_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) -C $(@D) all
|
||||
endef
|
||||
|
||||
define LIBVPX_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D) install
|
||||
endef
|
||||
|
||||
define LIBVPX_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
MPG123_VERSION = 1.15.3
|
||||
MPG123_VERSION = 1.15.4
|
||||
MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2
|
||||
MPG123_SITE = http://downloads.sourceforge.net/project/mpg123/mpg123/$(MPG123_VERSION)
|
||||
MPG123_CONF_OPT = --with-optimization=0 --disable-lfs-alias
|
||||
|
@ -3,8 +3,7 @@
|
||||
# pulseaudio
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PULSEAUDIO_VERSION = 2.1
|
||||
PULSEAUDIO_VERSION = 3.0
|
||||
PULSEAUDIO_SITE = http://freedesktop.org/software/pulseaudio/releases/
|
||||
PULSEAUDIO_INSTALL_STAGING = YES
|
||||
PULSEAUDIO_CONF_OPT = \
|
||||
@ -60,6 +59,7 @@ endef
|
||||
PULSEAUDIO_POST_PATCH_HOOKS += PULSEAUDIO_FORCE_CC
|
||||
endif
|
||||
|
||||
PULSEAUDIO_CONF_OPT += $(if $(BR2_ARM_ENABLE_NEON),--enable-neon-opt=yes,--enable-neon-opt=no)
|
||||
# pulseaudio alsa backend needs pcm/mixer apis
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
|
||||
PULSEAUDIO_CONF_OPT += --disable-alsa
|
||||
|
33
package/neard/S53neard
Executable file
33
package/neard/S53neard
Executable file
@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Starts neard
|
||||
#
|
||||
|
||||
NAME=neard
|
||||
DAEMON=/usr/libexec/nfc/$NAME
|
||||
|
||||
# Exit gracefully if the package has been removed
|
||||
[ -x $DAEMON ] || exit 0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting $NAME: "
|
||||
start-stop-daemon -S -q -p /var/run/${NAME}.pid -x $DAEMON -- -d '*'
|
||||
echo "OK"
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping $NAME: "
|
||||
start-stop-daemon -K -q -p /var/run/${NAME}.pid
|
||||
echo "OK"
|
||||
;;
|
||||
restart|reload)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit $?
|
@ -17,4 +17,13 @@ ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y)
|
||||
NEARD_CONF_OPT += --enable-tools
|
||||
endif
|
||||
|
||||
define NEARD_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/neard/S53neard \
|
||||
$(TARGET_DIR)/etc/init.d/S53neard
|
||||
endef
|
||||
|
||||
define NEARD_UNINSTALL_INIT_SYSV
|
||||
$(RM) $(TARGET_DIR)/etc/init.d/S53neard
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -8,6 +8,7 @@ NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NET
|
||||
NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2
|
||||
|
||||
NETATALK_AUTORECONF = YES
|
||||
NETATALK_CONFIG_SCRIPTS = netatalk-config
|
||||
|
||||
NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error
|
||||
NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99"
|
||||
|
@ -24,6 +24,8 @@ NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp --disable-static \
|
||||
--with-out-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES))" \
|
||||
--with-out-transports="Unix"
|
||||
NETSNMP_MAKE = $(MAKE1)
|
||||
NETSNMP_CONFIG_SCRIPTS = net-snmp-config
|
||||
|
||||
NETSNMP_BLOAT_MIBS = BRIDGE DISMAN-EVENT DISMAN-SCHEDULE DISMAN-SCRIPT EtherLike RFC-1215 RFC1155-SMI RFC1213 SCTP SMUX
|
||||
|
||||
ifeq ($(BR2_ENDIAN),"BIG")
|
||||
@ -81,9 +83,7 @@ define NETSNMP_UNINSTALL_TARGET_CMDS
|
||||
endef
|
||||
|
||||
define NETSNMP_STAGING_NETSNMP_CONFIG_FIXUP
|
||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
-e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" \
|
||||
$(SED) "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" \
|
||||
-e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
|
||||
$(STAGING_DIR)/usr/bin/net-snmp-config
|
||||
endef
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user