mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
Merge branch 'next'
Conflicts: Makefile package/dmraid/Config.in package/gdb/Config.in.host package/linux-headers/linux-headers.mk package/python/python.mk package/python3/python3.mk package/rt-tests/Config.in package/sdl/sdl.mk package/systemd/systemd-01-fix-getty-unit.patch package/systemd/systemd-02-fix-page-size.patch package/systemd/systemd-03-uclibc-fix.patch package/udev/Config.in package/udisks/Config.in package/vlc/vlc.mk system/Config.in Quite some merge conflicts, hopefully I didn't screw up anything. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
commit
b108fdcb83
18
Config.in
18
Config.in
@ -18,6 +18,11 @@ config BR2_EXTERNAL
|
|||||||
string
|
string
|
||||||
option env="BR2_EXTERNAL"
|
option env="BR2_EXTERNAL"
|
||||||
|
|
||||||
|
# Hidden boolean selected by packages in need of Java in order to build
|
||||||
|
# (example: xbmc)
|
||||||
|
config BR2_NEEDS_HOST_JAVA
|
||||||
|
bool
|
||||||
|
|
||||||
# Hidden boolean selected by pre-built packages for x86, when they
|
# Hidden boolean selected by pre-built packages for x86, when they
|
||||||
# need to run on x86-64 machines (example: pre-built external
|
# need to run on x86-64 machines (example: pre-built external
|
||||||
# toolchains, binary tools like SAM-BA, etc.).
|
# toolchains, binary tools like SAM-BA, etc.).
|
||||||
@ -225,6 +230,17 @@ config BR2_LUAROCKS_MIRROR
|
|||||||
|
|
||||||
See http://luarocks.org
|
See http://luarocks.org
|
||||||
|
|
||||||
|
config BR2_CPAN_MIRROR
|
||||||
|
string "CPAN mirror (Perl packages)"
|
||||||
|
default "http://search.cpan.org/CPAN"
|
||||||
|
help
|
||||||
|
CPAN (Comprehensive Perl Archive Network) is a repository
|
||||||
|
of Perl packages. It has multiple software mirrors scattered
|
||||||
|
around the world. This option allows you to select a mirror.
|
||||||
|
|
||||||
|
The list of mirrors is available at:
|
||||||
|
http://search.cpan.org/mirror
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config BR2_JLEVEL
|
config BR2_JLEVEL
|
||||||
@ -470,7 +486,7 @@ config BR2_PREFER_STATIC_LIB
|
|||||||
|
|
||||||
config BR2_PACKAGE_OVERRIDE_FILE
|
config BR2_PACKAGE_OVERRIDE_FILE
|
||||||
string "location of a package override file"
|
string "location of a package override file"
|
||||||
default "$(TOPDIR)/local.mk"
|
default "$(CONFIG_DIR)/local.mk"
|
||||||
help
|
help
|
||||||
A package override file is a short makefile that contains
|
A package override file is a short makefile that contains
|
||||||
variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
|
variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
|
||||||
|
@ -98,6 +98,73 @@ comment "build, or run, in unpredictable ways. "
|
|||||||
comment "----------------------------------------------------"
|
comment "----------------------------------------------------"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
comment "Legacy options removed in 2014.05"
|
||||||
|
|
||||||
|
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
||||||
|
bool "/dev management by udev removed"
|
||||||
|
select BR2_LEGACY
|
||||||
|
help
|
||||||
|
The 'udev' package has been converted to a virtual package.
|
||||||
|
The providers for this feature are: 'eudev', 'systemd'.
|
||||||
|
|
||||||
|
Therefore, if you are not using 'systemd' as init system, you
|
||||||
|
must choose 'Dynamic using eudev' in the '/dev management'
|
||||||
|
menu to get the same behaviour as in your old configuration.
|
||||||
|
|
||||||
|
If you are using 'systemd', its internal implementation of
|
||||||
|
'udev' will be used automatically.
|
||||||
|
|
||||||
|
You must also check the packages depending on 'udev' are still
|
||||||
|
selected.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_UDEV
|
||||||
|
bool "udev is now a virtual package"
|
||||||
|
select BR2_LEGACY
|
||||||
|
select BR2_PACKAGE_HAS_UDEV
|
||||||
|
help
|
||||||
|
The 'udev' package has been converted to a virtual package.
|
||||||
|
The providers for this feature are: 'eudev', 'systemd'.
|
||||||
|
|
||||||
|
Your old configuration refers to packages depending on 'udev',
|
||||||
|
either for build or at runtime.
|
||||||
|
|
||||||
|
Check that a 'udev' provider is selected. If you are not using
|
||||||
|
'systemd' as init system, 'eudev' should be selected, which is
|
||||||
|
the case if '/dev management' is set to 'Dynamic using eudev'.
|
||||||
|
|
||||||
|
If you are using 'systemd', its internal implementation of 'udev'
|
||||||
|
is used.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_UDEV_RULES_GEN
|
||||||
|
bool "udev rules generation handled by provider"
|
||||||
|
select BR2_LEGACY
|
||||||
|
select BR2_PACKAGE_EUDEV if !BR2_INIT_SYSTEMD
|
||||||
|
select BR2_PACKAGE_EUDEV_RULES_GEN if !BR2_INIT_SYSTEMD
|
||||||
|
help
|
||||||
|
The 'udev' package has been converted to a virtual package.
|
||||||
|
The providers for this feature are: 'eudev', 'systemd'.
|
||||||
|
|
||||||
|
If you are not using 'systemd' as init system, udev rules
|
||||||
|
generation will be handled by 'eudev'. Check that
|
||||||
|
'/dev management' is set to 'Dynamic using eudev' to get
|
||||||
|
the same behaviour as in your old configuration.
|
||||||
|
|
||||||
|
If you are using 'systemd', it internal implementation of 'udev'
|
||||||
|
will generate the rules.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_UDEV_ALL_EXTRAS
|
||||||
|
bool "udev extras removed"
|
||||||
|
select BR2_LEGACY
|
||||||
|
help
|
||||||
|
The 'udev' package has been converted to a virtual package.
|
||||||
|
The providers for this feature are: 'eudev', 'systemd'.
|
||||||
|
|
||||||
|
The option to enable the extra features of 'udev' (gudev, ...)
|
||||||
|
has been removed. These features are automatically enabled in
|
||||||
|
the 'udev' providers if the dependencies are selected. For
|
||||||
|
example, selecting 'libglib2' will trigger the build of gudev.
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
comment "Legacy options removed in 2014.02"
|
comment "Legacy options removed in 2014.02"
|
||||||
|
|
||||||
|
46
Makefile
46
Makefile
@ -25,7 +25,7 @@
|
|||||||
#--------------------------------------------------------------
|
#--------------------------------------------------------------
|
||||||
|
|
||||||
# Set and export the version string
|
# Set and export the version string
|
||||||
export BR2_VERSION:=2014.02
|
export BR2_VERSION:=2014.05-git
|
||||||
|
|
||||||
# Check for minimal make version (note: this check will break at make 10.x)
|
# Check for minimal make version (note: this check will break at make 10.x)
|
||||||
MIN_MAKE_VERSION=3.81
|
MIN_MAKE_VERSION=3.81
|
||||||
@ -43,7 +43,20 @@ export HOSTARCH := $(shell uname -m | \
|
|||||||
-e s/macppc/powerpc/\
|
-e s/macppc/powerpc/\
|
||||||
-e s/sh.*/sh/)
|
-e s/sh.*/sh/)
|
||||||
|
|
||||||
# This top-level Makefile can *not* be executed in parallel
|
# Parallel execution of this Makefile is disabled because it changes
|
||||||
|
# the packages building order, that can be a problem for two reasons:
|
||||||
|
# - If a package has an unspecified optional dependency and that
|
||||||
|
# dependency is present when the package is built, it is used,
|
||||||
|
# otherwise it isn't (but compilation happily proceeds) so the end
|
||||||
|
# result will differ if the order is swapped due to parallel
|
||||||
|
# building.
|
||||||
|
# - Also changing the building order can be a problem if two packages
|
||||||
|
# manipulate the same file in the target directory.
|
||||||
|
#
|
||||||
|
# Taking into account the above considerations, if you still want to execute
|
||||||
|
# this top-level Makefile in parallel comment the ".NOTPARALLEL" line and
|
||||||
|
# build using the following command:
|
||||||
|
# make BR2_JLEVEL= -j$((`getconf _NPROCESSORS_ONLN`+1))
|
||||||
.NOTPARALLEL:
|
.NOTPARALLEL:
|
||||||
|
|
||||||
# absolute path
|
# absolute path
|
||||||
@ -383,8 +396,6 @@ include system/system.mk
|
|||||||
|
|
||||||
include $(BR2_EXTERNAL)/external.mk
|
include $(BR2_EXTERNAL)/external.mk
|
||||||
|
|
||||||
TARGETS+=target-finalize
|
|
||||||
|
|
||||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||||
TARGETS+=target-purgelocales
|
TARGETS+=target-purgelocales
|
||||||
endif
|
endif
|
||||||
@ -401,11 +412,8 @@ endif
|
|||||||
|
|
||||||
include fs/common.mk
|
include fs/common.mk
|
||||||
|
|
||||||
TARGETS+=target-post-image
|
|
||||||
|
|
||||||
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS) $(BASE_TARGETS))
|
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS) $(BASE_TARGETS))
|
||||||
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
||||||
TARGETS_ALL:=$(patsubst %,__real_tgt_%,$(TARGETS))
|
|
||||||
|
|
||||||
# host-* dependencies have to be handled specially, as those aren't
|
# host-* dependencies have to be handled specially, as those aren't
|
||||||
# visible in Kconfig and hence not added to a variable like TARGETS.
|
# visible in Kconfig and hence not added to a variable like TARGETS.
|
||||||
@ -428,9 +436,6 @@ HOST_SOURCE += $(addsuffix -source,$(sort $(TARGETS_HOST_DEPS) $(HOST_DEPS)))
|
|||||||
TARGETS_LEGAL_INFO:=$(patsubst %,%-legal-info,\
|
TARGETS_LEGAL_INFO:=$(patsubst %,%-legal-info,\
|
||||||
$(TARGETS) $(BASE_TARGETS) $(TARGETS_HOST_DEPS) $(HOST_DEPS))))
|
$(TARGETS) $(BASE_TARGETS) $(TARGETS_HOST_DEPS) $(HOST_DEPS))))
|
||||||
|
|
||||||
# all targets depend on the crosscompiler and it's prerequisites
|
|
||||||
$(TARGETS_ALL): __real_tgt_%: $(BASE_TARGETS) %
|
|
||||||
|
|
||||||
dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||||
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||||
|
|
||||||
@ -439,11 +444,16 @@ $(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG)
|
|||||||
|
|
||||||
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
|
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
|
||||||
|
|
||||||
world: $(BASE_TARGETS) $(TARGETS_ALL)
|
# Add base dependencies to all targets even on those not based on the
|
||||||
|
# package framework.
|
||||||
|
$(TARGETS): dirs prepare dependencies
|
||||||
|
|
||||||
|
world: target-post-image
|
||||||
|
|
||||||
.PHONY: all world toolchain dirs clean distclean source outputmakefile \
|
.PHONY: all world toolchain dirs clean distclean source outputmakefile \
|
||||||
legal-info legal-info-prepare legal-info-clean printvars \
|
legal-info legal-info-prepare legal-info-clean printvars \
|
||||||
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
|
target-finalize target-post-image \
|
||||||
|
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ROOTFS) \
|
||||||
$(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \
|
$(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \
|
||||||
$(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
$(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||||
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||||
@ -503,7 +513,9 @@ endif
|
|||||||
STRIP_FIND_CMD += -type f \( -perm /111 -o -name '*.so*' \)
|
STRIP_FIND_CMD += -type f \( -perm /111 -o -name '*.so*' \)
|
||||||
STRIP_FIND_CMD += -not \( $(call findfileclauses,libpthread*.so* $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) -print
|
STRIP_FIND_CMD += -not \( $(call findfileclauses,libpthread*.so* $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) -print
|
||||||
|
|
||||||
target-finalize:
|
$(TARGETS_ROOTFS): target-finalize
|
||||||
|
|
||||||
|
target-finalize: $(TARGETS)
|
||||||
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \
|
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \
|
||||||
$(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \
|
$(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \
|
||||||
$(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake
|
$(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake
|
||||||
@ -518,10 +530,10 @@ endif
|
|||||||
rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc
|
rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc
|
||||||
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
|
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
|
||||||
-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
|
-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON_PY_ONLY),y)
|
ifeq ($(BR2_PACKAGE_PYTHON_PY_ONLY)$(BR2_PACKAGE_PYTHON3_PY_ONLY),y)
|
||||||
find $(TARGET_DIR)/usr/lib/ -name '*.pyc' -print0 | xargs -0 rm -f
|
find $(TARGET_DIR)/usr/lib/ -name '*.pyc' -print0 | xargs -0 rm -f
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY),y)
|
ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY)$(BR2_PACKAGE_PYTHON3_PYC_ONLY),y)
|
||||||
find $(TARGET_DIR)/usr/lib/ -name '*.py' -print0 | xargs -0 rm -f
|
find $(TARGET_DIR)/usr/lib/ -name '*.py' -print0 | xargs -0 rm -f
|
||||||
endif
|
endif
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/luarocks
|
rm -rf $(TARGET_DIR)/usr/lib/luarocks
|
||||||
@ -608,7 +620,7 @@ target-generatelocales: host-localedef
|
|||||||
done
|
done
|
||||||
endif
|
endif
|
||||||
|
|
||||||
target-post-image:
|
target-post-image: $(TARGETS_ROOTFS)
|
||||||
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \
|
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \
|
||||||
$(call MESSAGE,"Executing post-image script $(s)"); \
|
$(call MESSAGE,"Executing post-image script $(s)"); \
|
||||||
$(USER_HOOKS_EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
$(USER_HOOKS_EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||||
@ -645,7 +657,7 @@ legal-info: dirs legal-info-clean legal-info-prepare $(TARGETS_LEGAL_INFO) \
|
|||||||
@rm -f $(LEGAL_WARNINGS)
|
@rm -f $(LEGAL_WARNINGS)
|
||||||
|
|
||||||
show-targets:
|
show-targets:
|
||||||
@echo $(TARGETS)
|
@echo $(TARGETS) $(TARGETS_ROOTFS)
|
||||||
|
|
||||||
graph-build: $(O)/build/build-time.log
|
graph-build: $(O)/build/build-time.log
|
||||||
@install -d $(O)/graphs
|
@install -d $(O)/graphs
|
||||||
|
6
board/minnowboard/grub.cfg
Normal file
6
board/minnowboard/grub.cfg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
set default="0"
|
||||||
|
set timeout="5"
|
||||||
|
|
||||||
|
menuentry "Buildroot" {
|
||||||
|
linux /bzImage root=/dev/mmcblk0p2 rootwait console=ttyPCH0,115200
|
||||||
|
}
|
172
board/minnowboard/linux-3.8.config
Normal file
172
board/minnowboard/linux-3.8.config
Normal file
@ -0,0 +1,172 @@
|
|||||||
|
CONFIG_EXPERIMENTAL=y
|
||||||
|
# CONFIG_LOCALVERSION_AUTO is not set
|
||||||
|
CONFIG_SYSVIPC=y
|
||||||
|
CONFIG_POSIX_MQUEUE=y
|
||||||
|
CONFIG_NO_HZ=y
|
||||||
|
CONFIG_HIGH_RES_TIMERS=y
|
||||||
|
CONFIG_BSD_PROCESS_ACCT=y
|
||||||
|
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||||
|
CONFIG_RCU_FANOUT=32
|
||||||
|
CONFIG_IKCONFIG=y
|
||||||
|
CONFIG_IKCONFIG_PROC=y
|
||||||
|
CONFIG_CGROUPS=y
|
||||||
|
CONFIG_CGROUP_DEBUG=y
|
||||||
|
CONFIG_CGROUP_FREEZER=y
|
||||||
|
CONFIG_CGROUP_DEVICE=y
|
||||||
|
CONFIG_CPUSETS=y
|
||||||
|
CONFIG_CGROUP_CPUACCT=y
|
||||||
|
CONFIG_RESOURCE_COUNTERS=y
|
||||||
|
CONFIG_MEMCG=y
|
||||||
|
CONFIG_MEMCG_SWAP=y
|
||||||
|
CONFIG_MEMCG_KMEM=y
|
||||||
|
CONFIG_CGROUP_SCHED=y
|
||||||
|
CONFIG_RT_GROUP_SCHED=y
|
||||||
|
CONFIG_BLK_CGROUP=y
|
||||||
|
CONFIG_NAMESPACES=y
|
||||||
|
CONFIG_BLK_DEV_INITRD=y
|
||||||
|
CONFIG_EMBEDDED=y
|
||||||
|
CONFIG_PROFILING=y
|
||||||
|
CONFIG_OPROFILE=y
|
||||||
|
CONFIG_KPROBES=y
|
||||||
|
CONFIG_MODULES=y
|
||||||
|
CONFIG_MODULE_UNLOAD=y
|
||||||
|
CONFIG_PARTITION_ADVANCED=y
|
||||||
|
CONFIG_SMP=y
|
||||||
|
CONFIG_MATOM=y
|
||||||
|
CONFIG_SCHED_SMT=y
|
||||||
|
CONFIG_PREEMPT=y
|
||||||
|
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
|
||||||
|
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
|
||||||
|
# CONFIG_MTRR_SANITIZER is not set
|
||||||
|
CONFIG_EFI=y
|
||||||
|
CONFIG_EFI_STUB=y
|
||||||
|
CONFIG_HZ_1000=y
|
||||||
|
CONFIG_PM_RUNTIME=y
|
||||||
|
CONFIG_PM_DEBUG=y
|
||||||
|
CONFIG_PM_ADVANCED_DEBUG=y
|
||||||
|
CONFIG_CPU_FREQ=y
|
||||||
|
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||||
|
CONFIG_X86_ACPI_CPUFREQ=y
|
||||||
|
CONFIG_INTEL_IDLE=y
|
||||||
|
CONFIG_PCI_MMCONFIG=y
|
||||||
|
CONFIG_PCIEPORTBUS=y
|
||||||
|
CONFIG_PCI_MSI=y
|
||||||
|
CONFIG_HOTPLUG_PCI=y
|
||||||
|
CONFIG_NET=y
|
||||||
|
CONFIG_PACKET=y
|
||||||
|
CONFIG_UNIX=y
|
||||||
|
CONFIG_XFRM_SUB_POLICY=y
|
||||||
|
CONFIG_NET_KEY_MIGRATE=y
|
||||||
|
CONFIG_INET=y
|
||||||
|
CONFIG_IP_MULTICAST=y
|
||||||
|
CONFIG_IP_ADVANCED_ROUTER=y
|
||||||
|
CONFIG_IP_MULTIPLE_TABLES=y
|
||||||
|
CONFIG_IP_ROUTE_MULTIPATH=y
|
||||||
|
CONFIG_IP_ROUTE_VERBOSE=y
|
||||||
|
CONFIG_IP_PNP=y
|
||||||
|
CONFIG_IP_PNP_DHCP=y
|
||||||
|
CONFIG_IP_PNP_BOOTP=y
|
||||||
|
CONFIG_IP_PNP_RARP=y
|
||||||
|
CONFIG_DEVTMPFS=y
|
||||||
|
CONFIG_DEVTMPFS_MOUNT=y
|
||||||
|
CONFIG_FW_LOADER=m
|
||||||
|
CONFIG_BLK_DEV_LOOP=y
|
||||||
|
CONFIG_BLK_DEV_CRYPTOLOOP=m
|
||||||
|
CONFIG_BLK_DEV_RAM=y
|
||||||
|
CONFIG_PCH_PHUB=m
|
||||||
|
CONFIG_BLK_DEV_SD=y
|
||||||
|
CONFIG_BLK_DEV_SR=y
|
||||||
|
CONFIG_CHR_DEV_SG=y
|
||||||
|
CONFIG_ATA=y
|
||||||
|
CONFIG_SATA_AHCI=y
|
||||||
|
CONFIG_NETDEVICES=y
|
||||||
|
CONFIG_DUMMY=m
|
||||||
|
CONFIG_NETCONSOLE=y
|
||||||
|
CONFIG_TUN=m
|
||||||
|
CONFIG_PCH_GBE=m
|
||||||
|
CONFIG_INPUT_EVDEV=y
|
||||||
|
# CONFIG_KEYBOARD_ATKBD is not set
|
||||||
|
CONFIG_KEYBOARD_GPIO_POLLED=y
|
||||||
|
# CONFIG_MOUSE_PS2 is not set
|
||||||
|
# CONFIG_SERIO_I8042 is not set
|
||||||
|
CONFIG_SERIAL_8250=y
|
||||||
|
CONFIG_SERIAL_8250_CONSOLE=y
|
||||||
|
CONFIG_SERIAL_PCH_UART=y
|
||||||
|
CONFIG_SERIAL_PCH_UART_CONSOLE=y
|
||||||
|
CONFIG_GEN_RTC=y
|
||||||
|
CONFIG_GEN_RTC_X=y
|
||||||
|
CONFIG_HPET=y
|
||||||
|
CONFIG_I2C=y
|
||||||
|
CONFIG_I2C_CHARDEV=m
|
||||||
|
CONFIG_I2C_EG20T=m
|
||||||
|
CONFIG_SPI=y
|
||||||
|
CONFIG_SPI_GPIO=m
|
||||||
|
CONFIG_SPI_TOPCLIFF_PCH=m
|
||||||
|
CONFIG_SPI_SPIDEV=m
|
||||||
|
CONFIG_GPIOLIB=y
|
||||||
|
CONFIG_DEBUG_GPIO=y
|
||||||
|
CONFIG_GPIO_SYSFS=y
|
||||||
|
CONFIG_GPIO_GENERIC_PLATFORM=y
|
||||||
|
CONFIG_GPIO_SCH=y
|
||||||
|
CONFIG_GPIO_PCH=y
|
||||||
|
CONFIG_WATCHDOG=y
|
||||||
|
CONFIG_SOFT_WATCHDOG=m
|
||||||
|
CONFIG_AGP=m
|
||||||
|
CONFIG_DRM=m
|
||||||
|
CONFIG_FB=y
|
||||||
|
CONFIG_FB_EFI=y
|
||||||
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||||
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||||
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||||
|
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
||||||
|
CONFIG_SOUND=m
|
||||||
|
CONFIG_SND=m
|
||||||
|
CONFIG_SND_HDA_INTEL=m
|
||||||
|
CONFIG_USB=y
|
||||||
|
CONFIG_USB_SUSPEND=y
|
||||||
|
CONFIG_USB_EHCI_HCD=y
|
||||||
|
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||||
|
CONFIG_USB_OHCI_HCD=y
|
||||||
|
CONFIG_USB_STORAGE=y
|
||||||
|
CONFIG_USB_GADGET=m
|
||||||
|
CONFIG_USB_EG20T=m
|
||||||
|
CONFIG_MMC=y
|
||||||
|
CONFIG_MMC_SDHCI=y
|
||||||
|
CONFIG_MMC_SDHCI_PCI=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_DMADEVICES=y
|
||||||
|
CONFIG_PCH_DMA=y
|
||||||
|
CONFIG_MINNOWBOARD=y
|
||||||
|
CONFIG_MINNOWBOARD_GPIO=m
|
||||||
|
CONFIG_MINNOWBOARD_KEYS=m
|
||||||
|
CONFIG_EFI_VARS=y
|
||||||
|
CONFIG_EXT4_FS=y
|
||||||
|
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||||
|
CONFIG_EXT4_FS_SECURITY=y
|
||||||
|
CONFIG_FANOTIFY=y
|
||||||
|
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
|
||||||
|
CONFIG_ISO9660_FS=y
|
||||||
|
CONFIG_MSDOS_FS=y
|
||||||
|
CONFIG_VFAT_FS=y
|
||||||
|
CONFIG_PROC_KCORE=y
|
||||||
|
CONFIG_TMPFS=y
|
||||||
|
CONFIG_TMPFS_POSIX_ACL=y
|
||||||
|
CONFIG_CONFIGFS_FS=m
|
||||||
|
CONFIG_NFS_FS=y
|
||||||
|
CONFIG_NFS_V4=y
|
||||||
|
CONFIG_ROOT_NFS=y
|
||||||
|
CONFIG_PRINTK_TIME=y
|
||||||
|
CONFIG_FRAME_WARN=1024
|
||||||
|
CONFIG_TIMER_STATS=y
|
||||||
|
CONFIG_LATENCYTOP=y
|
||||||
|
CONFIG_BLK_DEV_IO_TRACE=y
|
2
board/minnowboard/post-build.sh
Executable file
2
board/minnowboard/post-build.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
cp board/minnowboard/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
|
40
board/minnowboard/readme.txt
Normal file
40
board/minnowboard/readme.txt
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Prepare the SD card for the Minnow Board
|
||||||
|
========================================
|
||||||
|
|
||||||
|
1. Partition the SD card with a GPT partition table
|
||||||
|
|
||||||
|
sudo cgdisk /dev/mmcblk0
|
||||||
|
|
||||||
|
Create two partitions:
|
||||||
|
|
||||||
|
a) First partition of a few dozens of megabytes, which will be
|
||||||
|
used to store the bootloader and the kernel image. Type must
|
||||||
|
be EF00 (EFI partition).
|
||||||
|
|
||||||
|
b) Second partition of any size, which will be used to store the
|
||||||
|
root filesystem. Type must be 8300 (Linux filesystem)
|
||||||
|
|
||||||
|
2. Prepare the boot partition
|
||||||
|
|
||||||
|
We will format it, mount it, copy the EFI data generated by
|
||||||
|
Buildroot, and the kernel image.
|
||||||
|
|
||||||
|
sudo mkfs.vfat -F 32 -n boot /dev/mmcblk0p1
|
||||||
|
sudo mount /dev/mmcblk0p1 /mnt
|
||||||
|
sudo cp -a output/images/efi-part/* /mnt/
|
||||||
|
sudo cp output/images/bzImage /mnt/
|
||||||
|
sudo umount /mnt
|
||||||
|
|
||||||
|
3. Prepare the root partition
|
||||||
|
|
||||||
|
We will format it, mount it, and extract the root filesystem.
|
||||||
|
|
||||||
|
sudo mkfs.ext3 -L root /dev/mmcblk0p2
|
||||||
|
sudo mount /dev/mmcblk0p2 /mnt
|
||||||
|
sudo tar -C /mnt -xf output/images/rootfs.tar
|
||||||
|
sudo umount /mnt
|
||||||
|
|
||||||
|
4. Enjoy
|
||||||
|
|
||||||
|
Additional informations about this board can be found at
|
||||||
|
http://www.minnowboard.org/.
|
@ -6,6 +6,8 @@ source "boot/at91dataflashboot/Config.in"
|
|||||||
source "boot/barebox/Config.in"
|
source "boot/barebox/Config.in"
|
||||||
source "boot/boot-wrapper-aarch64/Config.in"
|
source "boot/boot-wrapper-aarch64/Config.in"
|
||||||
source "boot/grub/Config.in"
|
source "boot/grub/Config.in"
|
||||||
|
source "boot/grub2/Config.in"
|
||||||
|
source "boot/gummiboot/Config.in"
|
||||||
source "boot/lpc32xxcdl/Config.in"
|
source "boot/lpc32xxcdl/Config.in"
|
||||||
source "boot/mxs-bootlets/Config.in"
|
source "boot/mxs-bootlets/Config.in"
|
||||||
source "boot/syslinux/Config.in"
|
source "boot/syslinux/Config.in"
|
||||||
|
120
boot/grub2/Config.in
Normal file
120
boot/grub2/Config.in
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
config BR2_TARGET_GRUB2
|
||||||
|
bool "grub2"
|
||||||
|
depends on BR2_i386 || BR2_x86_64
|
||||||
|
help
|
||||||
|
GNU GRUB is a Multiboot boot loader. It was derived from
|
||||||
|
GRUB, the GRand Unified Bootloader, which was originally
|
||||||
|
designed and implemented by Erich Stefan Boleyn. GRUB 2 has
|
||||||
|
replaced what was formerly known as GRUB (i.e. version
|
||||||
|
0.9x), which has, in turn, become GRUB Legacy.
|
||||||
|
|
||||||
|
Amongst others, GRUB2 offers EFI support, which GRUB Legacy
|
||||||
|
doesn't provide.
|
||||||
|
|
||||||
|
Notes on using Grub2 for BIOS-based platforms
|
||||||
|
=============================================
|
||||||
|
|
||||||
|
1. Create a disk image
|
||||||
|
dd if=/dev/zero of=disk.img bs=1M count=32
|
||||||
|
2. Partition it (either legacy or GPT style partitions work)
|
||||||
|
cfdisk disk.img
|
||||||
|
- Create one partition, type Linux, for the root
|
||||||
|
filesystem. The only constraint is to make sure there
|
||||||
|
is enough free space *before* the first partition to
|
||||||
|
store Grub2. Leaving 1 MB of free space is safe.
|
||||||
|
3. Setup loop device and loop partitions
|
||||||
|
sudo losetup -f disk.img
|
||||||
|
sudo partx -a disk.img
|
||||||
|
4. Prepare the root partition
|
||||||
|
sudo mkfs.ext3 -L root /dev/loop0p1
|
||||||
|
sudo mount /dev/loop0p1 /mnt
|
||||||
|
sudo tar -C /mnt -xf output/images/rootfs.tar
|
||||||
|
sudo umount /mnt
|
||||||
|
5. Install Grub2
|
||||||
|
./output/host/usr/sbin/grub-bios-setup \
|
||||||
|
-b ./output/host/usr/lib/grub/i386-pc/boot.img \
|
||||||
|
-c ./output/images/grub.img -d . /dev/loop0
|
||||||
|
6. Your disk.img is ready!
|
||||||
|
|
||||||
|
To test your BIOS image in Qemu:
|
||||||
|
|
||||||
|
qemu-system-{i386,x86-64} -hda disk.img
|
||||||
|
|
||||||
|
Notes on using Grub2 for EFI-based platforms
|
||||||
|
============================================
|
||||||
|
|
||||||
|
1. Create a disk image
|
||||||
|
dd if=/dev/zero of=disk.img bs=1M count=32
|
||||||
|
2. Partition it with GPT partitions
|
||||||
|
cgdisk disk.img
|
||||||
|
- Create a first partition, type EF00, for the
|
||||||
|
bootloader and kernel image
|
||||||
|
- Create a second partition, type 8300, for the root
|
||||||
|
filesystem.
|
||||||
|
3. Setup loop device and loop partitions
|
||||||
|
sudo losetup -f disk.img
|
||||||
|
sudo partx -a /dev/loop0
|
||||||
|
4. Prepare the boot partition
|
||||||
|
sudo mkfs.vfat -n boot /dev/loop0p1
|
||||||
|
sudo mount /dev/loop0p1 /mnt
|
||||||
|
sudo cp -a output/images/efi-part/* /mnt/
|
||||||
|
sudo cp output/images/bzImage /mnt/
|
||||||
|
sudo umount /mnt
|
||||||
|
5. Prepare the root partition
|
||||||
|
sudo mkfs.ext3 -L root /dev/loop0p2
|
||||||
|
sudo mount /dev/loop0p2 /mnt
|
||||||
|
sudo tar -C /mnt -xf output/images/rootfs.tar
|
||||||
|
sudo umount /mnt
|
||||||
|
6 Cleanup loop device
|
||||||
|
sudo partx -d /dev/loop0
|
||||||
|
sudo losetup -d /dev/loop0
|
||||||
|
7. Your disk.img is ready!
|
||||||
|
|
||||||
|
To test your EFI image in Qemu:
|
||||||
|
|
||||||
|
1. Download the EFI BIOS for Qemu
|
||||||
|
Version IA32 or X64 depending on the chosen Grub2
|
||||||
|
platform (i386-efi vs. x86-64-efi)
|
||||||
|
http://sourceforge.net/projects/edk2/files/OVMF/
|
||||||
|
2. Extract, and rename OVMF.fd to bios.bin and
|
||||||
|
CirrusLogic5446.rom to vgabios-cirrus.bin.
|
||||||
|
3. qemu-system-{i386,x86-64} -L ovmf-dir/ -hda disk.img
|
||||||
|
4. Make sure to pass pci=nocrs to the kernel command line,
|
||||||
|
to workaround a bug in the EFI BIOS regarding the
|
||||||
|
EFI framebuffer.
|
||||||
|
|
||||||
|
http://www.gnu.org/software/grub/
|
||||||
|
|
||||||
|
if BR2_TARGET_GRUB2
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Platform"
|
||||||
|
|
||||||
|
config BR2_TARGET_GRUB2_I386_PC
|
||||||
|
bool "i386-pc"
|
||||||
|
help
|
||||||
|
Select this option if the platform you're targetting is a
|
||||||
|
x86 or x86-64 legacy BIOS based platform.
|
||||||
|
|
||||||
|
config BR2_TARGET_GRUB2_I386_EFI
|
||||||
|
bool "i386-efi"
|
||||||
|
help
|
||||||
|
Select this option if the platform you're targetting has a
|
||||||
|
32 bits EFI BIOS. Note that some x86-64 platforms use a 32
|
||||||
|
bits EFI BIOS, and this option should be used in this case.
|
||||||
|
|
||||||
|
config BR2_TARGET_GRUB2_X86_64_EFI
|
||||||
|
bool "x86-64-efi"
|
||||||
|
help
|
||||||
|
Select this option if the platform you're targetting has a
|
||||||
|
64 bits EFI BIOS.
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config BR2_TARGET_GRUB2_BUILTIN_MODULES
|
||||||
|
string "builtin modules"
|
||||||
|
default "boot linux ext2 fat part_msdos part_gpt normal biosdisk" if BR2_TARGET_GRUB2_I386_PC
|
||||||
|
default "boot linux ext2 fat part_msdos part_gpt normal efi_gop" \
|
||||||
|
if BR2_TARGET_GRUB2_I386_EFI || BR2_TARGET_GRUB2_X86_64_EFI
|
||||||
|
|
||||||
|
endif # BR2_TARGET_GRUB2
|
6
boot/grub2/grub.cfg
Normal file
6
boot/grub2/grub.cfg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
set default="0"
|
||||||
|
set timeout="5"
|
||||||
|
|
||||||
|
menuentry "Buildroot" {
|
||||||
|
linux /bzImage root=/dev/sda1 console=tty1
|
||||||
|
}
|
21
boot/grub2/grub2-remove-gets.patch
Normal file
21
boot/grub2/grub2-remove-gets.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Index: grub-1.99/grub-core/gnulib/stdio.in.h
|
||||||
|
===================================================================
|
||||||
|
--- grub-1.99.orig/grub-core/gnulib/stdio.in.h 2010-12-01 06:45:43.000000000 -0800
|
||||||
|
+++ grub-1.99/grub-core/gnulib/stdio.in.h 2012-07-04 12:25:02.057099107 -0700
|
||||||
|
@@ -140,8 +140,10 @@
|
||||||
|
/* It is very rare that the developer ever has full control of stdin,
|
||||||
|
so any use of gets warrants an unconditional warning. Assume it is
|
||||||
|
always declared, since it is required by C89. */
|
||||||
|
+#if defined gets
|
||||||
|
#undef gets
|
||||||
|
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#if @GNULIB_FOPEN@
|
||||||
|
# if @REPLACE_FOPEN@
|
88
boot/grub2/grub2.mk
Normal file
88
boot/grub2/grub2.mk
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# grub2
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
GRUB2_VERSION = 2.00
|
||||||
|
GRUB2_SITE = $(BR2_GNU_MIRROR)/grub/
|
||||||
|
GRUB2_SOURCE = grub-$(GRUB2_VERSION).tar.xz
|
||||||
|
GRUB2_LICENSE = GPLv3+
|
||||||
|
GRUB2_LICENSE_FILES = COPYING
|
||||||
|
GRUB2_DEPENDENCIES = host-bison host-flex
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_GRUB2_I386_PC),y)
|
||||||
|
GRUB2_IMAGE = $(BINARIES_DIR)/grub.img
|
||||||
|
GRUB2_CFG = $(TARGET_DIR)/boot/grub/grub.cfg
|
||||||
|
GRUB2_TUPLE = i386-pc
|
||||||
|
GRUB2_TARGET = i386
|
||||||
|
GRUB2_PLATFORM = pc
|
||||||
|
else ifeq ($(BR2_TARGET_GRUB2_I386_EFI),y)
|
||||||
|
GRUB2_IMAGE = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootia32.efi
|
||||||
|
GRUB2_CFG = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg
|
||||||
|
GRUB2_PREFIX = /EFI/BOOT
|
||||||
|
GRUB2_TUPLE = i386-efi
|
||||||
|
GRUB2_TARGET = i386
|
||||||
|
GRUB2_PLATFORM = efi
|
||||||
|
else ifeq ($(BR2_TARGET_GRUB2_X86_64_EFI),y)
|
||||||
|
GRUB2_IMAGE = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootx64.efi
|
||||||
|
GRUB2_CFG = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg
|
||||||
|
GRUB2_PREFIX = /EFI/BOOT
|
||||||
|
GRUB2_TUPLE = x86_64-efi
|
||||||
|
GRUB2_TARGET = x86_64
|
||||||
|
GRUB2_PLATFORM = efi
|
||||||
|
endif
|
||||||
|
|
||||||
|
GRUB2_BUILTIN_MODULES = $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_MODULES))
|
||||||
|
|
||||||
|
# Grub2 is kind of special: it considers CC, LD and so on to be the
|
||||||
|
# tools to build the native tools (i.e to be executed on the build
|
||||||
|
# machine), and uses TARGET_CC, TARGET_CFLAGS, TARGET_CPPFLAGS to
|
||||||
|
# build the bootloader itself.
|
||||||
|
|
||||||
|
GRUB2_CONF_ENV = \
|
||||||
|
$(HOST_CONFIGURE_OPTS) \
|
||||||
|
CPP="$(HOSTCC) -E" \
|
||||||
|
TARGET_CC="$(TARGET_CC)" \
|
||||||
|
TARGET_CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)"
|
||||||
|
|
||||||
|
GRUB2_CONF_OPT = \
|
||||||
|
--target=$(GRUB2_TARGET) \
|
||||||
|
--with-platform=$(GRUB2_PLATFORM) \
|
||||||
|
--disable-grub-mkfont \
|
||||||
|
--enable-efiemu=no \
|
||||||
|
--enable-liblzma=no \
|
||||||
|
--enable-device-mapper=no \
|
||||||
|
--enable-libzfs=no \
|
||||||
|
--disable-werror
|
||||||
|
|
||||||
|
# We don't want all the native tools and Grub2 modules to be installed
|
||||||
|
# in the target. So we in fact install everything into the host
|
||||||
|
# directory, and the image generation process (below) will use the
|
||||||
|
# grub-mkimage tool and Grub2 modules from the host directory.
|
||||||
|
|
||||||
|
GRUB2_INSTALL_TARGET_OPT = DESTDIR=$(HOST_DIR) install
|
||||||
|
|
||||||
|
define GRUB2_IMAGE_INSTALLATION
|
||||||
|
mkdir -p $(dir $(GRUB2_IMAGE))
|
||||||
|
$(HOST_DIR)/usr/bin/grub-mkimage \
|
||||||
|
-d $(HOST_DIR)/usr/lib/grub/$(GRUB2_TUPLE) \
|
||||||
|
-O $(GRUB2_TUPLE) \
|
||||||
|
-o $(GRUB2_IMAGE) \
|
||||||
|
$(if $(GRUB2_PREFIX),-p $(GRUB2_PREFIX)) \
|
||||||
|
$(GRUB2_BUILTIN_MODULES)
|
||||||
|
mkdir -p $(dir $(GRUB2_CFG))
|
||||||
|
$(INSTALL) -D -m 0644 boot/grub2/grub.cfg $(GRUB2_CFG)
|
||||||
|
endef
|
||||||
|
GRUB2_POST_INSTALL_TARGET_HOOKS += GRUB2_IMAGE_INSTALLATION
|
||||||
|
|
||||||
|
ifeq ($(GRUB2_PLATFORM),efi)
|
||||||
|
define GRUB2_EFI_STARTUP_NSH
|
||||||
|
echo $(notdir $(GRUB2_IMAGE)) > \
|
||||||
|
$(BINARIES_DIR)/efi-part/startup.nsh
|
||||||
|
endef
|
||||||
|
GRUB2_POST_INSTALL_TARGET_HOOKS += GRUB2_EFI_STARTUP_NSH
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
28
boot/gummiboot/Config.in
Normal file
28
boot/gummiboot/Config.in
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
config BR2_TARGET_GUMMIBOOT
|
||||||
|
bool "gummiboot"
|
||||||
|
depends on BR2_i386 || BR2_x86_64
|
||||||
|
select BR2_PACKAGE_GNU_EFI
|
||||||
|
select BR2_PACKAGE_UTIL_LINUX
|
||||||
|
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
||||||
|
depends on BR2_LARGEFILE # util-linux
|
||||||
|
depends on BR2_USE_WCHAR # util-linux
|
||||||
|
help
|
||||||
|
gummiboot is a simple UEFI boot manager which executes
|
||||||
|
configured EFI images. The default entry is selected by a
|
||||||
|
configured pattern (glob) or an on-screen menu.
|
||||||
|
|
||||||
|
gummiboot operates on the EFI System Partition (ESP)
|
||||||
|
only. Configuration file fragments, kernels, initrds, other
|
||||||
|
EFI images need to reside on the ESP. Linux kernels need to
|
||||||
|
be built with CONFIG_EFI_STUB to be able to be directly
|
||||||
|
executed as an EFI image.
|
||||||
|
|
||||||
|
See the Grub2 help text for details on preparing an EFI
|
||||||
|
capable disk image using Gummiboot: the instructions are
|
||||||
|
exactly the same, except that the Gummiboot configuration
|
||||||
|
files will be located in /loader/ inside the EFI partition.
|
||||||
|
|
||||||
|
http://freedesktop.org/wiki/Software/gummiboot/
|
||||||
|
|
||||||
|
comment "gummiboot needs a toolchain w/ largefile, wchar"
|
||||||
|
depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
|
4
boot/gummiboot/buildroot.conf
Normal file
4
boot/gummiboot/buildroot.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
title Buildroot
|
||||||
|
version 1
|
||||||
|
linux /bzImage
|
||||||
|
options console=ttyS0 root=/dev/sda2
|
42
boot/gummiboot/gummiboot.mk
Normal file
42
boot/gummiboot/gummiboot.mk
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# gummiboot
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
GUMMIBOOT_SITE = git://anongit.freedesktop.org/gummiboot
|
||||||
|
GUMMIBOOT_VERSION = 43
|
||||||
|
GUMMIBOOT_LICENSE = LGPLv2.1+
|
||||||
|
GUMMIBOOT_LICENSE_FILES = LICENSE
|
||||||
|
|
||||||
|
# The git archive does not have the autoconf/automake stuff generated.
|
||||||
|
GUMMIBOOT_AUTORECONF = YES
|
||||||
|
GUMMIBOOT_DEPENDENCIES = gnu-efi host-pkgconf util-linux
|
||||||
|
GUMMIBOOT_INSTALL_TARGET = NO
|
||||||
|
GUMMIBOOT_INSTALL_IMAGES = YES
|
||||||
|
|
||||||
|
ifeq ($(BR2_i386),y)
|
||||||
|
GUMMIBOOT_IMGARCH = ia32
|
||||||
|
else ifeq ($(BR2_x86_64),y)
|
||||||
|
GUMMIBOOT_IMGARCH = x64
|
||||||
|
endif
|
||||||
|
|
||||||
|
GUMMIBOOT_CONF_OPT = \
|
||||||
|
--host=$(BR2_ARCH) \
|
||||||
|
--with-efi-libdir=$(STAGING_DIR)/usr/lib \
|
||||||
|
--with-efi-ldsdir=$(STAGING_DIR)/usr/lib \
|
||||||
|
--with-efi-includedir=$(STAGING_DIR)/usr/include \
|
||||||
|
--disable-manpages
|
||||||
|
|
||||||
|
define GUMMIBOOT_INSTALL_IMAGES_CMDS
|
||||||
|
$(INSTALL) -D -m 0644 $(@D)/gummiboot$(GUMMIBOOT_IMGARCH).efi \
|
||||||
|
$(BINARIES_DIR)/efi-part/EFI/BOOT/boot$(GUMMIBOOT_IMGARCH).efi
|
||||||
|
echo "boot$(GUMMIBOOT_IMGARCH).efi" > \
|
||||||
|
$(BINARIES_DIR)/efi-part/startup.nsh
|
||||||
|
$(INSTALL) -D -m 0644 boot/gummiboot/loader.conf \
|
||||||
|
$(BINARIES_DIR)/efi-part/loader/loader.conf
|
||||||
|
$(INSTALL) -D -m 0644 boot/gummiboot/buildroot.conf \
|
||||||
|
$(BINARIES_DIR)/efi-part/loader/entries/buildroot.conf
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
2
boot/gummiboot/loader.conf
Normal file
2
boot/gummiboot/loader.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
timeout 3
|
||||||
|
default buildroot
|
23
configs/minnowboard_defconfig
Normal file
23
configs/minnowboard_defconfig
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Architecture
|
||||||
|
BR2_x86_64=y
|
||||||
|
BR2_x86_atom=y
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyPCH0"
|
||||||
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
|
||||||
|
|
||||||
|
# Lock to 3.8 headers
|
||||||
|
BR2_KERNEL_HEADERS_VERSION=y
|
||||||
|
BR2_DEFAULT_KERNEL_VERSION="3.8"
|
||||||
|
|
||||||
|
# Linux kernel
|
||||||
|
BR2_LINUX_KERNEL=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.yoctoproject.org/linux-yocto-3.8"
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ba1587b9b62c801d161897303aa6d22809485f9b"
|
||||||
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/minnowboard/linux-3.8.config"
|
||||||
|
|
||||||
|
# Bootloader
|
||||||
|
BR2_TARGET_GRUB2=y
|
||||||
|
BR2_TARGET_GRUB2_I386_EFI=y
|
@ -235,7 +235,12 @@ use in the comment.
|
|||||||
|
|
||||||
* thread support
|
* thread support
|
||||||
** Dependency symbol: +BR2_TOOLCHAIN_HAS_THREADS+
|
** Dependency symbol: +BR2_TOOLCHAIN_HAS_THREADS+
|
||||||
** Comment string: +threads+
|
** Comment string: +threads+ (unless +BR2_TOOLCHAIN_HAS_THREADS_NPTL+
|
||||||
|
is also needed, in which case, specifying only +NPTL+ is sufficient)
|
||||||
|
|
||||||
|
* NPTL thread support
|
||||||
|
** Dependency symbol: +BR2_TOOLCHAIN_HAS_THREADS_NPTL+
|
||||||
|
** Comment string: +NPTL+
|
||||||
|
|
||||||
* RPC support
|
* RPC support
|
||||||
** Dependency symbol: +BR2_TOOLCHAIN_HAS_NATIVE_RPC+
|
** Dependency symbol: +BR2_TOOLCHAIN_HAS_NATIVE_RPC+
|
||||||
@ -273,8 +278,7 @@ foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built
|
|||||||
Dependencies on udev /dev management
|
Dependencies on udev /dev management
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
If a package needs udev /dev management, it should depend on symbol
|
If a package needs udev /dev management, it should depend on symbol
|
||||||
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV+, and the following comment
|
+BR2_PACKAGE_HAS_UDEV+, and the following comment should be added:
|
||||||
should be added:
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
foo needs udev /dev management
|
foo needs udev /dev management
|
||||||
|
120
docs/manual/adding-packages-perl.txt
Normal file
120
docs/manual/adding-packages-perl.txt
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
// -*- mode:doc; -*-
|
||||||
|
// vim: set syntax=asciidoc:
|
||||||
|
|
||||||
|
Infrastructure for Perl/CPAN packages
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
[[perl-package-tutorial]]
|
||||||
|
|
||||||
|
+perl-package+ tutorial
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
First, let's see how to write a +.mk+ file for a Perl/CPAN package,
|
||||||
|
with an example :
|
||||||
|
|
||||||
|
------------------------
|
||||||
|
01: ################################################################################
|
||||||
|
02: #
|
||||||
|
03: # perl-foo-bar
|
||||||
|
04: #
|
||||||
|
05: ################################################################################
|
||||||
|
06:
|
||||||
|
07: PERL_FOO_BAR_VERSION = 0.02
|
||||||
|
08: PERL_FOO_BAR_SOURCE = Foo-Bar-$(PERL_FOO_BAR_VERSION).tar.gz
|
||||||
|
09: PERL_FOO_BAR_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MO/MONGER/
|
||||||
|
10: PERL_FOO_BAR_DEPENDENCIES = perl-strictures
|
||||||
|
11: PERL_FOO_BAR_LICENSE = Artistic or GPLv1+
|
||||||
|
12: PERL_FOO_BAR_LICENSE_FILES = LICENSE
|
||||||
|
13:
|
||||||
|
14: $(eval $(perl-package))
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
On line 7, we declare the version of the package.
|
||||||
|
|
||||||
|
On line 8 and 9, we declare the name of the tarball and the location
|
||||||
|
of the tarball on a CPAN server. Buildroot will automatically download
|
||||||
|
the tarball from this location.
|
||||||
|
|
||||||
|
On line 10, we declare our dependencies, so that they are built
|
||||||
|
before the build process of our package starts.
|
||||||
|
|
||||||
|
On line 11 and 12, we give licensing details about the package (its
|
||||||
|
license on line 11, and the file containing the license text on line
|
||||||
|
12).
|
||||||
|
|
||||||
|
Finally, on line 14, we invoke the +perl-package+ macro that
|
||||||
|
generates all the Makefile rules that actually allow the package to be
|
||||||
|
built.
|
||||||
|
|
||||||
|
Most of these data can be retrieved from https://metacpan.org/.
|
||||||
|
So, this file and the Config.in can be generated by running
|
||||||
|
the script +supports/scripts/scancpan Foo-Bar+ in the Buildroot directory
|
||||||
|
(or in the +BR2_EXTERNAL+ directory).
|
||||||
|
This script creates a Config.in file and foo-bar.mk file for the
|
||||||
|
requested package, and also recursively for all dependencies specified by
|
||||||
|
CPAN. You should still manually edit the result. In particular, the
|
||||||
|
following things should be checked.
|
||||||
|
|
||||||
|
* The +PERL_FOO_BAR_LICENSE_FILES+ variable is not set, because metacpan
|
||||||
|
doesn't have this information. Also, the name of the license file(s)
|
||||||
|
varies between packages, and some don't even have a license file.
|
||||||
|
* If the perl module links with a shared library that is provided by
|
||||||
|
another (non-perl) package, this dependency is not added automatically.
|
||||||
|
It has to be added manually to +PERL_FOO_BAR_DEPENDENCIES+.
|
||||||
|
* The +package/Config.in+ file has to be updated manually to include the
|
||||||
|
generated Config.in files. As a hint, the +scancpan+ script prints out
|
||||||
|
the required +source "..."+ statements, sorted alphabetically.
|
||||||
|
|
||||||
|
[[perl-package-reference]]
|
||||||
|
|
||||||
|
+perl-package+ reference
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
As a policy, packages that provide Perl/CPAN modules should all be
|
||||||
|
named +perl-<something>+ in Buildroot.
|
||||||
|
|
||||||
|
This infrastructure handles various Perl build systems :
|
||||||
|
+ExtUtils-MakeMaker+, +Module-Build+ and +Module-Build-Tiny+.
|
||||||
|
+Build.PL+ is always preferred when a package provides a +Makefile.PL+
|
||||||
|
and a +Build.PL+.
|
||||||
|
|
||||||
|
The main macro of the Perl/CPAN package infrastructure is
|
||||||
|
+perl-package+. It is similar to the +generic-package+ macro. The ability to
|
||||||
|
have target and host packages is also available, with the
|
||||||
|
+host-perl-package+ macro.
|
||||||
|
|
||||||
|
Just like the generic infrastructure, the Perl/CPAN infrastructure
|
||||||
|
works by defining a number of variables before calling the
|
||||||
|
+perl-package+ macro.
|
||||||
|
|
||||||
|
First, all the package metadata information variables that exist in the
|
||||||
|
generic infrastructure also exist in the Perl/CPAN infrastructure:
|
||||||
|
+PERL_FOO_VERSION+, +PERL_FOO_SOURCE+,
|
||||||
|
+PERL_FOO_PATCH+, +PERL_FOO_SITE+,
|
||||||
|
+PERL_FOO_SUBDIR+, +PERL_FOO_DEPENDENCIES+,
|
||||||
|
+PERL_FOO_INSTALL_TARGET+.
|
||||||
|
|
||||||
|
Note that setting +PERL_FOO_INSTALL_STAGING+ to +YES+ has no effect
|
||||||
|
unless a +PERL_FOO_INSTALL_STAGING_CMDS+ variable is defined. The perl
|
||||||
|
infrastructure doesn't define these commands since Perl modules generally
|
||||||
|
don't need to be installed to the +staging+ directory.
|
||||||
|
|
||||||
|
A few additional variables, specific to the Perl/CPAN infrastructure,
|
||||||
|
can also be defined. Many of them are only useful in very specific
|
||||||
|
cases, typical packages will therefore only use a few of them.
|
||||||
|
|
||||||
|
* +PERL_FOO_CONF_OPT+/+HOST_PERL_FOO_CONF_OPT+, to specify additional
|
||||||
|
configure options to pass to the +perl Makefile.PL+ or +perl Build.PL+.
|
||||||
|
By default, empty.
|
||||||
|
|
||||||
|
* +PERL_FOO_BUILD_OPT+/+HOST_PERL_FOO_BUILD_OPT+, to specify additional
|
||||||
|
options to pass to +make pure_all+ or +perl Build build+ in the build step.
|
||||||
|
By default, empty.
|
||||||
|
|
||||||
|
* +PERL_FOO_INSTALL_TARGET_OPT+, to specify additional options to
|
||||||
|
pass to +make pure_install+ or +perl Build install+ in the install step.
|
||||||
|
By default, empty.
|
||||||
|
|
||||||
|
* +HOST_PERL_FOO_INSTALL_OPT+, to specify additional options to
|
||||||
|
pass to +make pure_install+ or +perl Build install+ in the install step.
|
||||||
|
By default, empty.
|
@ -22,6 +22,8 @@ include::adding-packages-python.txt[]
|
|||||||
|
|
||||||
include::adding-packages-luarocks.txt[]
|
include::adding-packages-luarocks.txt[]
|
||||||
|
|
||||||
|
include::adding-packages-perl.txt[]
|
||||||
|
|
||||||
include::adding-packages-hooks.txt[]
|
include::adding-packages-hooks.txt[]
|
||||||
|
|
||||||
include::adding-packages-gettext.txt[]
|
include::adding-packages-gettext.txt[]
|
||||||
|
@ -197,7 +197,7 @@ x86_64 target, you have to generate a cross-compilation toolchain with
|
|||||||
Buildroot or crosstool-NG.
|
Buildroot or crosstool-NG.
|
||||||
|
|
||||||
If you want to generate a custom toolchain for your project, that can
|
If you want to generate a custom toolchain for your project, that can
|
||||||
be used as an external toolchain in Buildroot, our recommandation is
|
be used as an external toolchain in Buildroot, our recommendation is
|
||||||
definitely to build it with http://crosstool-ng.org[crosstool-NG]. We
|
definitely to build it with http://crosstool-ng.org[crosstool-NG]. We
|
||||||
recommend to build the toolchain separately from Buildroot, and then
|
recommend to build the toolchain separately from Buildroot, and then
|
||||||
_import_ it in Buildroot using the external toolchain backend.
|
_import_ it in Buildroot using the external toolchain backend.
|
||||||
@ -291,22 +291,24 @@ different solutions to handle the +/dev+ directory :
|
|||||||
about +mdev+ and the syntax of its configuration file, see
|
about +mdev+ and the syntax of its configuration file, see
|
||||||
http://git.busybox.net/busybox/tree/docs/mdev.txt.
|
http://git.busybox.net/busybox/tree/docs/mdev.txt.
|
||||||
|
|
||||||
* The fourth solution is *Dynamic using udev*. This method also
|
* The fourth solution is *Dynamic using eudev*. This method also
|
||||||
relies on the _devtmpfs_ virtual filesystem detailed above, but
|
relies on the _devtmpfs_ virtual filesystem detailed above, but
|
||||||
adds the +udev+ userspace daemon on top of it. +udev+ is a daemon
|
adds the +eudev+ userspace daemon on top of it. +eudev+ is a daemon
|
||||||
that runs in the background, and gets called by the kernel when a
|
that runs in the background, and gets called by the kernel when a
|
||||||
device gets added or removed from the system. It is a more
|
device gets added or removed from the system. It is a more
|
||||||
heavyweight solution than +mdev+, but provides higher flexibility
|
heavyweight solution than +mdev+, but provides higher flexibility.
|
||||||
and is sometimes mandatory for some system components (systemd for
|
+eudev+ is a standalone version of +udev+, the original userspace
|
||||||
example). +udev+ is the mechanism used in most desktop Linux
|
daemon used in most desktop Linux distributions, which is now part
|
||||||
distributions. For more details about +udev+, see
|
of Systemd. For more details, see http://en.wikipedia.org/wiki/Udev.
|
||||||
http://en.wikipedia.org/wiki/Udev.
|
|
||||||
|
|
||||||
The Buildroot developers recommandation is to start with the *Dynamic
|
The Buildroot developers recommendation is to start with the *Dynamic
|
||||||
using devtmpfs only* solution, until you have the need for userspace
|
using devtmpfs only* solution, until you have the need for userspace
|
||||||
to be notified when devices are added/removed, or if firmwares are
|
to be notified when devices are added/removed, or if firmwares are
|
||||||
needed, in which case *Dynamic using mdev* is usually a good solution.
|
needed, in which case *Dynamic using mdev* is usually a good solution.
|
||||||
|
|
||||||
|
Note that if +systemd+ is chosen as init system, /dev management will
|
||||||
|
be performed by the +udev+ program provided by +systemd+.
|
||||||
|
|
||||||
init system
|
init system
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ ROOTFS_$(2)_COMPRESS_EXT = .xz
|
|||||||
ROOTFS_$(2)_COMPRESS_CMD = $$(XZ) -9 -C crc32 -c
|
ROOTFS_$(2)_COMPRESS_CMD = $$(XZ) -9 -C crc32 -c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$$(BINARIES_DIR)/rootfs.$(1): $$(ROOTFS_$(2)_DEPENDENCIES)
|
$$(BINARIES_DIR)/rootfs.$(1): target-finalize $$(ROOTFS_$(2)_DEPENDENCIES)
|
||||||
@$$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
|
@$$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
|
||||||
$$(foreach hook,$$(ROOTFS_$(2)_PRE_GEN_HOOKS),$$(call $$(hook))$$(sep))
|
$$(foreach hook,$$(ROOTFS_$(2)_PRE_GEN_HOOKS),$$(call $$(hook))$$(sep))
|
||||||
rm -f $$(FAKEROOT_SCRIPT)
|
rm -f $$(FAKEROOT_SCRIPT)
|
||||||
@ -95,7 +95,7 @@ rootfs-$(1)-show-depends:
|
|||||||
rootfs-$(1): $$(BINARIES_DIR)/rootfs.$(1) $$(ROOTFS_$(2)_POST_TARGETS)
|
rootfs-$(1): $$(BINARIES_DIR)/rootfs.$(1) $$(ROOTFS_$(2)_POST_TARGETS)
|
||||||
|
|
||||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
|
ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
|
||||||
TARGETS += rootfs-$(1)
|
TARGETS_ROOTFS += rootfs-$(1)
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ define LINUX_CONFIGURE_CMDS
|
|||||||
$(if $(BR2_ROOTFS_DEVICE_CREATION_STATIC),,
|
$(if $(BR2_ROOTFS_DEVICE_CREATION_STATIC),,
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS,$(@D)/.config)
|
$(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS,$(@D)/.config)
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))
|
$(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))
|
||||||
$(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),
|
$(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV),
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config))
|
$(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config))
|
||||||
$(if $(BR2_PACKAGE_KTAP),
|
$(if $(BR2_PACKAGE_KTAP),
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
|
$(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
|
||||||
@ -194,7 +194,12 @@ define LINUX_CONFIGURE_CMDS
|
|||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS,$(@D)/.config)
|
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS,$(@D)/.config)
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER,$(@D)/.config))
|
$(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER,$(@D)/.config))
|
||||||
$(if $(BR2_PACKAGE_SYSTEMD),
|
$(if $(BR2_PACKAGE_SYSTEMD),
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS,$(@D)/.config))
|
$(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS,$(@D)/.config)
|
||||||
|
$(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config)
|
||||||
|
$(call KCONFIG_ENABLE_OPT,CONFIG_FHANDLE,$(@D)/.config)
|
||||||
|
$(call KCONFIG_ENABLE_OPT,CONFIG_AUTOFS4_FS,$(@D)/.config)
|
||||||
|
$(call KCONFIG_ENABLE_OPT,CONFIG_TMPFS_POSIX_ACL,$(@D)/.config)
|
||||||
|
$(call KCONFIG_ENABLE_OPT,CONFIG_TMPFS_POSIX_XATTR,$(@D)/.config))
|
||||||
$(if $(BR2_LINUX_KERNEL_APPENDED_DTB),
|
$(if $(BR2_LINUX_KERNEL_APPENDED_DTB),
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB,$(@D)/.config))
|
$(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB,$(@D)/.config))
|
||||||
yes '' | $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) oldconfig
|
yes '' | $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) oldconfig
|
||||||
|
@ -156,6 +156,8 @@ source "package/doom-wad/Config.in"
|
|||||||
source "package/gnuchess/Config.in"
|
source "package/gnuchess/Config.in"
|
||||||
source "package/lbreakout2/Config.in"
|
source "package/lbreakout2/Config.in"
|
||||||
source "package/ltris/Config.in"
|
source "package/ltris/Config.in"
|
||||||
|
source "package/opentyrian/Config.in"
|
||||||
|
source "package/opentyrian-data/Config.in"
|
||||||
source "package/prboom/Config.in"
|
source "package/prboom/Config.in"
|
||||||
source "package/rubix/Config.in"
|
source "package/rubix/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
@ -276,6 +278,7 @@ source "package/dmraid/Config.in"
|
|||||||
source "package/dvb-apps/Config.in"
|
source "package/dvb-apps/Config.in"
|
||||||
source "package/dvbsnoop/Config.in"
|
source "package/dvbsnoop/Config.in"
|
||||||
source "package/eeprog/Config.in"
|
source "package/eeprog/Config.in"
|
||||||
|
source "package/eudev/Config.in"
|
||||||
source "package/evemu/Config.in"
|
source "package/evemu/Config.in"
|
||||||
source "package/evtest/Config.in"
|
source "package/evtest/Config.in"
|
||||||
source "package/fan-ctrl/Config.in"
|
source "package/fan-ctrl/Config.in"
|
||||||
@ -395,8 +398,23 @@ menu "Perl libraries/modules"
|
|||||||
endmenu
|
endmenu
|
||||||
endif
|
endif
|
||||||
source "package/php/Config.in"
|
source "package/php/Config.in"
|
||||||
|
if BR2_PACKAGE_PHP
|
||||||
|
if !BR2_PREFER_STATIC_LIB
|
||||||
|
menu "External php extensions"
|
||||||
|
source "package/php-gnupg/Config.in"
|
||||||
|
source "package/php-imagick/Config.in"
|
||||||
|
source "package/php-ssh2/Config.in"
|
||||||
|
source "package/php-yaml/Config.in"
|
||||||
|
source "package/php-zmq/Config.in"
|
||||||
|
endmenu
|
||||||
|
endif
|
||||||
|
if BR2_PREFER_STATIC_LIB
|
||||||
|
comment "External PHP extensions need a toolchain w/ dynamic library"
|
||||||
|
endif
|
||||||
|
endif
|
||||||
source "package/python/Config.in"
|
source "package/python/Config.in"
|
||||||
if BR2_PACKAGE_PYTHON
|
source "package/python3/Config.in"
|
||||||
|
if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||||
menu "external python modules"
|
menu "external python modules"
|
||||||
source "package/python-bottle/Config.in"
|
source "package/python-bottle/Config.in"
|
||||||
source "package/python-configobj/Config.in"
|
source "package/python-configobj/Config.in"
|
||||||
@ -432,7 +450,6 @@ source "package/python-tornado/Config.in"
|
|||||||
source "package/python-versiontools/Config.in"
|
source "package/python-versiontools/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
endif
|
endif
|
||||||
source "package/python3/Config.in"
|
|
||||||
source "package/ruby/Config.in"
|
source "package/ruby/Config.in"
|
||||||
source "package/tcl/Config.in"
|
source "package/tcl/Config.in"
|
||||||
if BR2_PACKAGE_TCL
|
if BR2_PACKAGE_TCL
|
||||||
@ -468,6 +485,7 @@ source "package/portaudio/Config.in"
|
|||||||
source "package/speex/Config.in"
|
source "package/speex/Config.in"
|
||||||
source "package/taglib/Config.in"
|
source "package/taglib/Config.in"
|
||||||
source "package/tremor/Config.in"
|
source "package/tremor/Config.in"
|
||||||
|
source "package/vo-aacenc/Config.in"
|
||||||
source "package/webrtc-audio-processing/Config.in"
|
source "package/webrtc-audio-processing/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
@ -568,6 +586,7 @@ endmenu
|
|||||||
menu "Hardware handling"
|
menu "Hardware handling"
|
||||||
source "package/ccid/Config.in"
|
source "package/ccid/Config.in"
|
||||||
source "package/dtc/Config.in"
|
source "package/dtc/Config.in"
|
||||||
|
source "package/gnu-efi/Config.in"
|
||||||
source "package/lcdapi/Config.in"
|
source "package/lcdapi/Config.in"
|
||||||
source "package/libaio/Config.in"
|
source "package/libaio/Config.in"
|
||||||
source "package/libatasmart/Config.in"
|
source "package/libatasmart/Config.in"
|
||||||
@ -617,7 +636,6 @@ source "package/json-c/Config.in"
|
|||||||
source "package/json-glib/Config.in"
|
source "package/json-glib/Config.in"
|
||||||
source "package/libjson/Config.in"
|
source "package/libjson/Config.in"
|
||||||
source "package/libroxml/Config.in"
|
source "package/libroxml/Config.in"
|
||||||
source "package/libxml-parser-perl/Config.in"
|
|
||||||
source "package/libxml2/Config.in"
|
source "package/libxml2/Config.in"
|
||||||
source "package/libxmlpp/Config.in"
|
source "package/libxmlpp/Config.in"
|
||||||
source "package/libxslt/Config.in"
|
source "package/libxslt/Config.in"
|
||||||
|
@ -206,7 +206,8 @@ HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH)
|
|||||||
HOSTCC_VERSION:=$(shell $(HOSTCC_NOCCACHE) --version | \
|
HOSTCC_VERSION:=$(shell $(HOSTCC_NOCCACHE) --version | \
|
||||||
sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p')
|
sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p')
|
||||||
|
|
||||||
export PERL5LIB := $(HOST_DIR)/usr/lib/perl
|
HOST_PERL_ARCHNAME := $(shell perl -MConfig -e "print Config->{archname}")
|
||||||
|
export PERL5LIB := $(HOST_DIR)/usr/lib/perl5/$(HOST_PERL_ARCHNAME):$(HOST_DIR)/usr/lib/perl5
|
||||||
|
|
||||||
TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||||
AR="$(TARGET_AR)" \
|
AR="$(TARGET_AR)" \
|
||||||
@ -359,5 +360,6 @@ include package/pkg-download.mk
|
|||||||
include package/pkg-autotools.mk
|
include package/pkg-autotools.mk
|
||||||
include package/pkg-cmake.mk
|
include package/pkg-cmake.mk
|
||||||
include package/pkg-luarocks.mk
|
include package/pkg-luarocks.mk
|
||||||
|
include package/pkg-perl.mk
|
||||||
include package/pkg-python.mk
|
include package/pkg-python.mk
|
||||||
include package/pkg-generic.mk
|
include package/pkg-generic.mk
|
||||||
|
@ -49,7 +49,7 @@ endchoice
|
|||||||
config BR2_BINUTILS_VERSION
|
config BR2_BINUTILS_VERSION
|
||||||
string
|
string
|
||||||
default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
|
default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
|
||||||
default "0c824ba511fa9b028220eb3c39b566af89ac9dda" if BR2_arc
|
default "a934fe50786aa0dc0fb5da4754e7e07591c9cd8e" if BR2_arc
|
||||||
default "8351467c933d277ebea0c8d99ad2b65b5f7b6bc2" if BR2_microblaze
|
default "8351467c933d277ebea0c8d99ad2b65b5f7b6bc2" if BR2_microblaze
|
||||||
default "2.20.1" if BR2_BINUTILS_VERSION_2_20_1
|
default "2.20.1" if BR2_BINUTILS_VERSION_2_20_1
|
||||||
default "2.21" if BR2_BINUTILS_VERSION_2_21
|
default "2.21" if BR2_BINUTILS_VERSION_2_21
|
||||||
|
@ -12,7 +12,7 @@ CCID_LICENSE_FILES = COPYING
|
|||||||
CCID_INSTALL_STAGING = YES
|
CCID_INSTALL_STAGING = YES
|
||||||
CCID_DEPENDENCIES = pcsc-lite host-pkgconf libusb
|
CCID_DEPENDENCIES = pcsc-lite host-pkgconf libusb
|
||||||
|
|
||||||
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||||
define CCID_INSTALL_UDEV_RULES
|
define CCID_INSTALL_UDEV_RULES
|
||||||
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
|
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
|
||||||
cp $(@D)/src/92_pcscd_ccid.rules $(TARGET_DIR)/etc/udev/rules.d/ ; \
|
cp $(@D)/src/92_pcscd_ccid.rules $(TARGET_DIR)/etc/udev/rules.d/ ; \
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
CONNMAN_VERSION = 1.19
|
CONNMAN_VERSION = 1.21
|
||||||
CONNMAN_SOURCE = connman-$(CONNMAN_VERSION).tar.xz
|
CONNMAN_SOURCE = connman-$(CONNMAN_VERSION).tar.xz
|
||||||
CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman/
|
CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman/
|
||||||
CONNMAN_DEPENDENCIES = libglib2 dbus iptables gnutls
|
CONNMAN_DEPENDENCIES = libglib2 dbus iptables gnutls
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
DBUS_VERSION = 1.4.26
|
DBUS_VERSION = 1.6.8
|
||||||
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus
|
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus
|
||||||
DBUS_LICENSE = AFLv2.1 GPLv2+
|
DBUS_LICENSE = AFLv2.1 GPLv2+
|
||||||
DBUS_LICENSE_FILES = COPYING
|
DBUS_LICENSE_FILES = COPYING
|
||||||
@ -30,6 +30,10 @@ DBUS_CONF_OPT = --with-dbus-user=dbus \
|
|||||||
--with-system-socket=/var/run/dbus/system_bus_socket \
|
--with-system-socket=/var/run/dbus/system_bus_socket \
|
||||||
--with-system-pid-file=/var/run/messagebus.pid
|
--with-system-pid-file=/var/run/messagebus.pid
|
||||||
|
|
||||||
|
define DBUS_USERS
|
||||||
|
dbus -1 dbus -1 * /var/run/dbus - dbus DBus messagebus user
|
||||||
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||||
DBUS_CONF_OPT += LIBS='-lpthread'
|
DBUS_CONF_OPT += LIBS='-lpthread'
|
||||||
endif
|
endif
|
||||||
|
@ -3,8 +3,6 @@ config BR2_PACKAGE_DMRAID
|
|||||||
depends on BR2_LARGEFILE
|
depends on BR2_LARGEFILE
|
||||||
depends on BR2_USE_MMU # lvm2
|
depends on BR2_USE_MMU # lvm2
|
||||||
depends on !BR2_PREFER_STATIC_LIB # lvm2
|
depends on !BR2_PREFER_STATIC_LIB # lvm2
|
||||||
# triggers gcc ice
|
|
||||||
depends on !BR2_arc
|
|
||||||
select BR2_PACKAGE_LVM2
|
select BR2_PACKAGE_LVM2
|
||||||
help
|
help
|
||||||
dmraid discovers, activates, deactivates and displays properties
|
dmraid discovers, activates, deactivates and displays properties
|
||||||
@ -16,4 +14,3 @@ config BR2_PACKAGE_DMRAID
|
|||||||
comment "dmraid needs a toolchain w/ largefile, dynamic library"
|
comment "dmraid needs a toolchain w/ largefile, dynamic library"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB
|
depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB
|
||||||
depends on !BR2_arc
|
|
||||||
|
42
package/eudev/Config.in
Normal file
42
package/eudev/Config.in
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
config BR2_PACKAGE_EUDEV
|
||||||
|
bool "eudev"
|
||||||
|
depends on !BR2_avr32 # no epoll_create1
|
||||||
|
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
||||||
|
depends on BR2_USE_MMU # uses fork()
|
||||||
|
depends on BR2_LARGEFILE # util-linux
|
||||||
|
depends on BR2_USE_WCHAR # util-linux
|
||||||
|
depends on !BR2_PREFER_STATIC_LIB # kmod
|
||||||
|
select BR2_PACKAGE_HAS_UDEV
|
||||||
|
select BR2_PACKAGE_UTIL_LINUX
|
||||||
|
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
||||||
|
select BR2_PACKAGE_KMOD
|
||||||
|
help
|
||||||
|
Userspace device daemon. This is a standalone version,
|
||||||
|
independent of systemd. It is a fork maintained by Gentoo.
|
||||||
|
|
||||||
|
eudev requires a Linux kernel >= 2.6.34: it relies on devtmpfs
|
||||||
|
and inotify.
|
||||||
|
|
||||||
|
http://github.com/gentoo/eudev/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_EUDEV
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PROVIDES_UDEV
|
||||||
|
default "eudev"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_EUDEV_RULES_GEN
|
||||||
|
bool "enable rules generator"
|
||||||
|
help
|
||||||
|
Enable persistent rules generator
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
comment "eudev needs eudev /dev management"
|
||||||
|
depends on !BR2_avr32
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
||||||
|
|
||||||
|
comment "eudev needs a toolchain w/ largefile, wchar, dynamic library"
|
||||||
|
depends on !BR2_avr32
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_PREFER_STATIC_LIB
|
48
package/eudev/S10udev
Executable file
48
package/eudev/S10udev
Executable file
@ -0,0 +1,48 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# udev This is a minimal non-LSB version of a UDEV startup script. It
|
||||||
|
# was derived by stripping down the udev-058 LSB version for use
|
||||||
|
# with buildroot on embedded hardware using Linux 2.6.34+ kernels.
|
||||||
|
#
|
||||||
|
# You may need to customize this for your system's resource limits
|
||||||
|
# (including startup time!) and administration. For example, if
|
||||||
|
# your early userspace has a custom initramfs or initrd you might
|
||||||
|
# need /dev much earlier; or without hotpluggable busses (like USB,
|
||||||
|
# PCMCIA, MMC/SD, and so on) your /dev might be static after boot.
|
||||||
|
#
|
||||||
|
# This script assumes your system boots right into the eventual root
|
||||||
|
# filesystem, and that init runs this udev script before any programs
|
||||||
|
# needing more device nodes than the bare-bones set -- /dev/console,
|
||||||
|
# /dev/zero, /dev/null -- that's needed to boot and run this script.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Check for missing binaries
|
||||||
|
UDEV_BIN=/sbin/udevd
|
||||||
|
test -x $UDEV_BIN || exit 5
|
||||||
|
|
||||||
|
# Check for config file and read it
|
||||||
|
UDEV_CONFIG=/etc/udev/udev.conf
|
||||||
|
test -r $UDEV_CONFIG || exit 6
|
||||||
|
. $UDEV_CONFIG
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
echo -n "Populating ${udev_root:-/dev} using udev: "
|
||||||
|
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
|
||||||
|
$UDEV_BIN -d || (echo "FAIL" && exit 1)
|
||||||
|
udevadm trigger
|
||||||
|
echo "done"
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
# Stop execution of events
|
||||||
|
udevadm control --stop-exec-queue
|
||||||
|
killall udevd
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
exit 0
|
43
package/eudev/eudev.mk
Normal file
43
package/eudev/eudev.mk
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# eudev
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
EUDEV_VERSION = 1.3
|
||||||
|
EUDEV_SITE = $(call github,gentoo,eudev,v$(EUDEV_VERSION))
|
||||||
|
EUDEV_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)
|
||||||
|
EUDEV_LICENSE_FILES = COPYING
|
||||||
|
EUDEV_INSTALL_STAGING = YES
|
||||||
|
EUDEV_AUTORECONF = YES
|
||||||
|
|
||||||
|
# mq_getattr is in librt
|
||||||
|
EUDEV_CONF_ENV += LIBS=-lrt
|
||||||
|
|
||||||
|
EUDEV_CONF_OPT = \
|
||||||
|
--sbindir=/sbin \
|
||||||
|
--with-rootlibdir=/lib \
|
||||||
|
--libexecdir=/lib \
|
||||||
|
--with-firmware-path=/lib/firmware \
|
||||||
|
--disable-introspection \
|
||||||
|
--enable-split-usr \
|
||||||
|
--enable-libkmod
|
||||||
|
|
||||||
|
EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux kmod
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y)
|
||||||
|
EUDEV_CONF_OPT += --enable-rule_generator
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||||
|
EUDEV_CONF_OPT += --enable-gudev
|
||||||
|
EUDEV_DEPENDENCIES += libglib2
|
||||||
|
else
|
||||||
|
EUDEV_CONF_OPT += --disable-gudev
|
||||||
|
endif
|
||||||
|
|
||||||
|
define EUDEV_INSTALL_INIT_SYSV
|
||||||
|
$(INSTALL) -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
F2FS_TOOLS_VERSION = 576cb469e73b9342f1d10ba5d0428bbce22cbc3b
|
F2FS_TOOLS_VERSION = 858c4039c85f7c00c57925902985701b1e083555
|
||||||
F2FS_TOOLS_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
|
F2FS_TOOLS_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
|
||||||
F2FS_TOOLS_SITE_METHOD = git
|
F2FS_TOOLS_SITE_METHOD = git
|
||||||
F2FS_TOOLS_CONF_ENV = ac_cv_file__git=no
|
F2FS_TOOLS_CONF_ENV = ac_cv_file__git=no
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
FIRMWARE_IMX_VERSION = $(FREESCALE_IMX_VERSION)
|
FIRMWARE_IMX_VERSION = $(FREESCALE_IMX_VERSION)
|
||||||
FIRMWARE_IMX_SITE = $(FREESCALE_IMX_MIRROR_SITE)
|
FIRMWARE_IMX_SITE = $(FREESCALE_IMX_SITE)
|
||||||
FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin
|
FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin
|
||||||
FIRMWARE_IMX_LICENSE = Freescale Semiconductor Software License Agreement, \
|
FIRMWARE_IMX_LICENSE = Freescale Semiconductor Software License Agreement, \
|
||||||
Atheros license (ath6k)
|
Atheros license (ath6k)
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
FREESCALE_IMX_VERSION = 1.1.0
|
FREESCALE_IMX_VERSION = 3.5.7-1.0.0
|
||||||
|
FREESCALE_IMX_SITE = http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/
|
||||||
# No official download site from freescale, just this mirror
|
|
||||||
FREESCALE_IMX_MIRROR_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
|
||||||
|
|
||||||
include $(sort $(wildcard package/freescale-imx/*/*.mk))
|
include $(sort $(wildcard package/freescale-imx/*/*.mk))
|
||||||
|
@ -4,8 +4,12 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GPU_VIV_BIN_MX6Q_VERSION = $(FREESCALE_IMX_VERSION)
|
ifeq ($(BR2_ARM_EABIHF),y)
|
||||||
GPU_VIV_BIN_MX6Q_SITE = $(FREESCALE_IMX_MIRROR_SITE)
|
GPU_VIV_BIN_MX6Q_VERSION = $(FREESCALE_IMX_VERSION)-hfp
|
||||||
|
else
|
||||||
|
GPU_VIV_BIN_MX6Q_VERSION = $(FREESCALE_IMX_VERSION)-sfp
|
||||||
|
endif
|
||||||
|
GPU_VIV_BIN_MX6Q_SITE = $(FREESCALE_IMX_SITE)
|
||||||
GPU_VIV_BIN_MX6Q_SOURCE = gpu-viv-bin-mx6q-$(GPU_VIV_BIN_MX6Q_VERSION).bin
|
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_INSTALL_STAGING = YES
|
||||||
|
@ -5,9 +5,10 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
IMX_LIB_VERSION = $(FREESCALE_IMX_VERSION)
|
IMX_LIB_VERSION = $(FREESCALE_IMX_VERSION)
|
||||||
IMX_LIB_SITE = $(FREESCALE_IMX_MIRROR_SITE)
|
IMX_LIB_SITE = $(FREESCALE_IMX_SITE)
|
||||||
IMX_LIB_LICENSE = LGPLv2.1+
|
IMX_LIB_LICENSE = Freescale License (vpu), LGPLv2.1+ (the rest)
|
||||||
# No license file included
|
IMX_LIB_LICENSE_FILES = EULA
|
||||||
|
IMX_LIB_SOURCE = imx-lib-$(IMX_LIB_VERSION).bin
|
||||||
|
|
||||||
IMX_LIB_INSTALL_STAGING = YES
|
IMX_LIB_INSTALL_STAGING = YES
|
||||||
|
|
||||||
@ -25,6 +26,23 @@ IMX_LIB_MAKE_ENV = \
|
|||||||
PLATFORM=$(BR2_PACKAGE_IMX_LIB_PLATFORM) \
|
PLATFORM=$(BR2_PACKAGE_IMX_LIB_PLATFORM) \
|
||||||
INCLUDE="$(IMX_LIB_INCLUDE)"
|
INCLUDE="$(IMX_LIB_INCLUDE)"
|
||||||
|
|
||||||
|
# The archive is a shell-self-extractor of a bzipped tar. It happens
|
||||||
|
# to extract in the correct directory (imx-lib-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
|
||||||
|
# Since there's a EULA in the bin file, extract it to imx-lib-x.y.z/EULA
|
||||||
|
#
|
||||||
|
define IMX_LIB_EXTRACT_CMDS
|
||||||
|
awk 'BEGIN { start=0; } \
|
||||||
|
/^EOEULA/ { start = 0; } \
|
||||||
|
{ if (start) print; } \
|
||||||
|
/<<EOEULA/ { start=1; }'\
|
||||||
|
$(DL_DIR)/$(IMX_LIB_SOURCE) > $(@D)/EULA
|
||||||
|
cd $(BUILD_DIR); \
|
||||||
|
sh $(DL_DIR)/$(IMX_LIB_SOURCE) --force --auto-accept
|
||||||
|
endef
|
||||||
|
|
||||||
define IMX_LIB_BUILD_CMDS
|
define IMX_LIB_BUILD_CMDS
|
||||||
$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D)
|
$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D)
|
||||||
endef
|
endef
|
||||||
|
@ -96,7 +96,7 @@ config BR2_GCC_VERSION
|
|||||||
default "4.6.4" if BR2_GCC_VERSION_4_6_X
|
default "4.6.4" if BR2_GCC_VERSION_4_6_X
|
||||||
default "4.7.3" if BR2_GCC_VERSION_4_7_X
|
default "4.7.3" if BR2_GCC_VERSION_4_7_X
|
||||||
default "4.8.2" if BR2_GCC_VERSION_4_8_X
|
default "4.8.2" if BR2_GCC_VERSION_4_8_X
|
||||||
default "7466697995233cc3aab5b9427bf843e3c7fabd80" if BR2_GCC_VERSION_4_8_ARC
|
default "c6227bc154124e270f15793deddfa3fe18f7db54" if BR2_GCC_VERSION_4_8_ARC
|
||||||
default "b93bb009e021aba64dd4b8cdb0bbc5a176c55543" if BR2_GCC_VERSION_4_9_MICROBLAZE
|
default "b93bb009e021aba64dd4b8cdb0bbc5a176c55543" if BR2_GCC_VERSION_4_9_MICROBLAZE
|
||||||
default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
|
default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ config BR2_GDB_VERSION
|
|||||||
(!BR2_PACKAGE_HOST_GDB && BR2_bfin)
|
(!BR2_PACKAGE_HOST_GDB && BR2_bfin)
|
||||||
default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 || \
|
default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 || \
|
||||||
(!BR2_PACKAGE_HOST_GDB && BR2_avr32)
|
(!BR2_PACKAGE_HOST_GDB && BR2_avr32)
|
||||||
default "f25a1952afd054205f9471e449c1f7ca5b271b7c" if BR2_arc
|
default "cb15acc5eecea46d041730e5c2c9fa1d4283ef25" if BR2_arc
|
||||||
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
||||||
default "7.4.1" if BR2_GDB_VERSION_7_4
|
default "7.4.1" if BR2_GDB_VERSION_7_4
|
||||||
default "7.5.1" if BR2_GDB_VERSION_7_5 || !BR2_PACKAGE_HOST_GDB
|
default "7.5.1" if BR2_GDB_VERSION_7_5 || !BR2_PACKAGE_HOST_GDB
|
||||||
|
@ -9,7 +9,6 @@ GIBLIB_SITE = http://linuxbrit.co.uk/downloads/
|
|||||||
GIBLIB_INSTALL_STAGING = YES
|
GIBLIB_INSTALL_STAGING = YES
|
||||||
GIBLIB_DEPENDENCIES = imlib2
|
GIBLIB_DEPENDENCIES = imlib2
|
||||||
GIBLIB_AUTORECONF = YES
|
GIBLIB_AUTORECONF = YES
|
||||||
GIBLIB_AUTORECONF_OPT = --install
|
|
||||||
GIBLIB_CONF_OPT = --with-imlib2-prefix=$(STAGING_DIR)/usr \
|
GIBLIB_CONF_OPT = --with-imlib2-prefix=$(STAGING_DIR)/usr \
|
||||||
--with-imlib2-exec-prefix=$(STAGING_DIR)/usr
|
--with-imlib2-exec-prefix=$(STAGING_DIR)/usr
|
||||||
GIBLIB_CONFIG_SCRIPTS = giblib-config
|
GIBLIB_CONFIG_SCRIPTS = giblib-config
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GIT_VERSION = 1.8.5.3
|
GIT_VERSION = 1.8.5.4
|
||||||
GIT_SITE = http://git-core.googlecode.com/files/
|
GIT_SITE = http://git-core.googlecode.com/files/
|
||||||
GIT_LICENSE = GPLv2 LGPLv2.1+
|
GIT_LICENSE = GPLv2 LGPLv2.1+
|
||||||
GIT_LICENSE_FILES = COPYING LGPL-2.1
|
GIT_LICENSE_FILES = COPYING LGPL-2.1
|
||||||
|
21
package/glibc/Config.in
Normal file
21
package/glibc/Config.in
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
if BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "glibc version"
|
||||||
|
default BR2_GLIBC_VERSION_2_18
|
||||||
|
# Architectures supported in mainline glibc
|
||||||
|
depends on BR2_arm || BR2_armeb || BR2_aarch64 || \
|
||||||
|
BR2_i386 || BR2_mips || BR2_mipsel || \
|
||||||
|
BR2_mips64 || BR2_mips64el || BR2_powerpc || \
|
||||||
|
BR2_sh || BR2_sh64 || BR2_sparc || \
|
||||||
|
BR2_x86_64
|
||||||
|
|
||||||
|
config BR2_GLIBC_VERSION_2_18
|
||||||
|
bool "2.18"
|
||||||
|
|
||||||
|
config BR2_GLIBC_VERSION_2_19
|
||||||
|
bool "2.19"
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
endif
|
@ -21,7 +21,7 @@ GLIBC_SITE = http://downloads.yoctoproject.org/releases/eglibc/
|
|||||||
GLIBC_SOURCE = eglibc-$(GLIBC_VERSION).tar.bz2
|
GLIBC_SOURCE = eglibc-$(GLIBC_VERSION).tar.bz2
|
||||||
GLIBC_SRC_SUBDIR = libc
|
GLIBC_SRC_SUBDIR = libc
|
||||||
else
|
else
|
||||||
GLIBC_VERSION = 2.18
|
GLIBC_VERSION = $(if $(BR2_GLIBC_VERSION_2_19),2.19,2.18)
|
||||||
GLIBC_SITE = $(BR2_GNU_MIRROR)/libc
|
GLIBC_SITE = $(BR2_GNU_MIRROR)/libc
|
||||||
GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz
|
GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz
|
||||||
GLIBC_SRC_SUBDIR = .
|
GLIBC_SRC_SUBDIR = .
|
||||||
@ -31,13 +31,13 @@ endif
|
|||||||
GLIBC_LICENSE = GPLv2+ (programs), LGPLv2.1+, BSD-3c, MIT (library)
|
GLIBC_LICENSE = GPLv2+ (programs), LGPLv2.1+, BSD-3c, MIT (library)
|
||||||
GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICENSES)
|
GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICENSES)
|
||||||
|
|
||||||
|
# glibc is part of the toolchain so disable the toolchain dependency
|
||||||
|
GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO
|
||||||
|
|
||||||
# Before (e)glibc is configured, we must have the first stage
|
# Before (e)glibc is configured, we must have the first stage
|
||||||
# cross-compiler and the kernel headers
|
# cross-compiler and the kernel headers
|
||||||
GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-gawk
|
GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-gawk
|
||||||
|
|
||||||
# Before (e)glibc is built, we must have the second stage cross-compiler
|
|
||||||
glibc-build: host-gcc-intermediate
|
|
||||||
|
|
||||||
GLIBC_SUBDIR = build
|
GLIBC_SUBDIR = build
|
||||||
|
|
||||||
GLIBC_INSTALL_STAGING = YES
|
GLIBC_INSTALL_STAGING = YES
|
||||||
@ -139,3 +139,6 @@ define GLIBC_INSTALL_TARGET_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
||||||
|
# Before (e)glibc is built, we must have the second stage cross-compiler
|
||||||
|
$(GLIBC_TARGET_BUILD): | host-gcc-intermediate
|
||||||
|
9
package/gnu-efi/Config.in
Normal file
9
package/gnu-efi/Config.in
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
config BR2_PACKAGE_GNU_EFI
|
||||||
|
bool "gnu-efi"
|
||||||
|
depends on BR2_i386 || BR2_x86_64
|
||||||
|
help
|
||||||
|
Develop EFI applications for IA-64 (IPF), IA-32 (x86), and
|
||||||
|
x86_64 platforms using the GNU toolchain and the EFI
|
||||||
|
development environment.
|
||||||
|
|
||||||
|
http://gnu-efi.sourceforge.net/
|
53
package/gnu-efi/gnu-efi-01-use-override-cflags.patch
Normal file
53
package/gnu-efi/gnu-efi-01-use-override-cflags.patch
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
Allow CFLAGS/CPPFLAGS to be completed from the environment
|
||||||
|
|
||||||
|
Buildroot passes its own CPPFLAGS and CFLAGS in the environment, so
|
||||||
|
the CFLAGS += and CPPFLAGS += statements in gnu-efi Makefile have no
|
||||||
|
effect. Change these to override <VARIABLE> += so that they extend the
|
||||||
|
flags passed by Buildroot.
|
||||||
|
|
||||||
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||||
|
|
||||||
|
Index: b/Make.defaults
|
||||||
|
===================================================================
|
||||||
|
--- a/Make.defaults
|
||||||
|
+++ b/Make.defaults
|
||||||
|
@@ -83,25 +83,25 @@
|
||||||
|
&& [ $(GCCMINOR) -ge "7" ] ) ) \
|
||||||
|
&& echo 1)
|
||||||
|
ifeq ($(GCCNEWENOUGH),1)
|
||||||
|
- CPPFLAGS += -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11
|
||||||
|
+ override CPPFLAGS += -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Arch-specific compilation flags
|
||||||
|
-CPPFLAGS += -DCONFIG_$(ARCH)
|
||||||
|
+override CPPFLAGS += -DCONFIG_$(ARCH)
|
||||||
|
|
||||||
|
ifeq ($(ARCH),ia64)
|
||||||
|
- CFLAGS += -mfixed-range=f32-f127
|
||||||
|
+ override CFLAGS += -mfixed-range=f32-f127
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ARCH),ia32)
|
||||||
|
- CFLAGS += -mno-mmx -mno-sse
|
||||||
|
+ override CFLAGS += -mno-mmx -mno-sse
|
||||||
|
ifeq ($(HOSTARCH),x86_64)
|
||||||
|
ARCH3264 = -m32
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ARCH),x86_64)
|
||||||
|
- CFLAGS += -mno-red-zone -mno-mmx -mno-sse
|
||||||
|
+ override CFLAGS += -mno-red-zone -mno-mmx -mno-sse
|
||||||
|
ifeq ($(HOSTARCH),ia32)
|
||||||
|
ARCH3264 = -m64
|
||||||
|
endif
|
||||||
|
@@ -110,7 +110,7 @@
|
||||||
|
# Generic compilation flags
|
||||||
|
INCDIR += -I$(SRCDIR) -I$(TOPDIR)/inc -I$(TOPDIR)/inc/$(ARCH) \
|
||||||
|
-I$(TOPDIR)/inc/protocol
|
||||||
|
-CFLAGS += $(ARCH3264) -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing \
|
||||||
|
+override CFLAGS += $(ARCH3264) -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing \
|
||||||
|
-fno-merge-constants -ffreestanding -fno-stack-protector \
|
||||||
|
-fno-stack-check
|
||||||
|
ASFLAGS += $(ARCH3264)
|
48
package/gnu-efi/gnu-efi-02-parallel-make-archives.patch
Normal file
48
package/gnu-efi/gnu-efi-02-parallel-make-archives.patch
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
Fix parallel make failure for archives
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
The lib and gnuefi makefiles were using the lib.a() form which compiles
|
||||||
|
and ar's as a pair instead of compiling all and then ar'ing which can
|
||||||
|
parallelize better. This was resulting in build failures on larger values
|
||||||
|
of -j.
|
||||||
|
|
||||||
|
See http://www.chemie.fu-berlin.de/chemnet/use/info/make/make_toc.html#TOC105
|
||||||
|
for details.
|
||||||
|
|
||||||
|
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
||||||
|
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
|
||||||
|
---
|
||||||
|
---
|
||||||
|
gnuefi/Makefile | 3 ++-
|
||||||
|
lib/Makefile | 3 ++-
|
||||||
|
2 files changed, 4 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
Index: gnu-efi-3.0/lib/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- gnu-efi-3.0.orig/lib/Makefile
|
||||||
|
+++ gnu-efi-3.0/lib/Makefile
|
||||||
|
@@ -66,7 +66,8 @@ all: libsubdirs libefi.a
|
||||||
|
libsubdirs:
|
||||||
|
for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
|
||||||
|
|
||||||
|
-libefi.a: $(patsubst %,libefi.a(%),$(OBJS))
|
||||||
|
+libefi.a: $(OBJS)
|
||||||
|
+ $(AR) rv $@ $(OBJS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f libefi.a *~ $(OBJS) */*.o
|
||||||
|
Index: gnu-efi-3.0/gnuefi/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- gnu-efi-3.0.orig/gnuefi/Makefile
|
||||||
|
+++ gnu-efi-3.0/gnuefi/Makefile
|
||||||
|
@@ -51,7 +51,8 @@ TARGETS = crt0-efi-$(ARCH).o libgnuefi.a
|
||||||
|
|
||||||
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
-libgnuefi.a: $(patsubst %,libgnuefi.a(%),$(OBJS))
|
||||||
|
+libgnuefi.a: $(OBJS)
|
||||||
|
+ $(AR) rv $@ $(OBJS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(TARGETS) *~ *.o $(OBJS)
|
22
package/gnu-efi/gnu-efi-03-parallel-make.patch
Normal file
22
package/gnu-efi/gnu-efi-03-parallel-make.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Fix parallel make failure
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [Maintainer directly]
|
||||||
|
|
||||||
|
Add a missing dependency which resulted in a race leading to failure
|
||||||
|
on larger values of -j.
|
||||||
|
|
||||||
|
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
|
||||||
|
|
||||||
|
Index: gnu-efi-3.0/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- gnu-efi-3.0.orig/Makefile
|
||||||
|
+++ gnu-efi-3.0/Makefile
|
||||||
|
@@ -42,6 +42,8 @@ include $(SRCDIR)/Make.defaults
|
||||||
|
|
||||||
|
SUBDIRS = lib gnuefi inc apps
|
||||||
|
|
||||||
|
+gnuefi: lib
|
||||||
|
+
|
||||||
|
all: check_gcc $(SUBDIRS)
|
||||||
|
|
||||||
|
$(SUBDIRS):
|
38
package/gnu-efi/gnu-efi.mk
Normal file
38
package/gnu-efi/gnu-efi.mk
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# gnu-efi
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
GNU_EFI_VERSION = 3.0u
|
||||||
|
GNU_EFI_SOURCE = gnu-efi_$(GNU_EFI_VERSION).orig.tar.gz
|
||||||
|
GNU_EFI_SITE = http://downloads.sourceforge.net/project/gnu-efi/
|
||||||
|
GNU_EFI_INSTALL_STAGING = YES
|
||||||
|
GNU_EFI_LICENSE = GPLv2+ (gnuefi), BSD (efilib)
|
||||||
|
GNU_EFI_LICENSE_FILES = debian/copyright
|
||||||
|
|
||||||
|
# gnu-efi is a set of library and header files used to build
|
||||||
|
# standalone EFI applications such as bootloaders. There is no point
|
||||||
|
# in installing these libraries to the target.
|
||||||
|
GNU_EFI_INSTALL_TARGET = NO
|
||||||
|
|
||||||
|
ifeq ($(BR2_i386),y)
|
||||||
|
GNU_EFI_PLATFORM=ia32
|
||||||
|
else ifeq ($(BR2_x86_64),y)
|
||||||
|
GNU_EFI_PLATFORM=x86_64
|
||||||
|
endif
|
||||||
|
|
||||||
|
define GNU_EFI_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||||
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
ARCH=$(GNU_EFI_PLATFORM)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define GNU_EFI_INSTALL_STAGING_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||||
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
INSTALLROOT=$(STAGING_DIR) \
|
||||||
|
PREFIX=/usr ARCH=$(GNU_EFI_PLATFORM) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
@ -222,7 +222,7 @@ define GPSD_INSTALL_STAGING_CMDS
|
|||||||
install)
|
install)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||||
define GPSD_INSTALL_UDEV_RULES
|
define GPSD_INSTALL_UDEV_RULES
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
$(GPSD_SCONS_ENV) \
|
$(GPSD_SCONS_ENV) \
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GST_FSL_PLUGINS_VERSION = 3.0.1
|
GST_FSL_PLUGINS_VERSION = $(FREESCALE_IMX_VERSION)
|
||||||
# No official download site from freescale, just this mirror
|
GST_FSL_PLUGINS_SITE = $(FREESCALE_IMX_SITE)
|
||||||
GST_FSL_PLUGINS_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
|
||||||
|
|
||||||
# Most is LGPLv2+, but some sources are copied from upstream and are
|
# Most is LGPLv2+, but some sources are copied from upstream and are
|
||||||
# LGPLv2.1+, which essentially makes it LGPLv2.1+
|
# LGPLv2.1+, which essentially makes it LGPLv2.1+
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GST1_LIBAV_VERSION = 1.2.2
|
GST1_LIBAV_VERSION = 1.2.3
|
||||||
GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz
|
GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz
|
||||||
GST1_LIBAV_SITE = http://gstreamer.freedesktop.org/src/gst-libav
|
GST1_LIBAV_SITE = http://gstreamer.freedesktop.org/src/gst-libav
|
||||||
|
|
||||||
|
@ -318,6 +318,14 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK
|
|||||||
bool "apexsink"
|
bool "apexsink"
|
||||||
select BR2_PACKAGE_OPENSSL
|
select BR2_PACKAGE_OPENSSL
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER
|
||||||
|
bool "assrender"
|
||||||
|
select BR2_PACKAGE_LIBASS
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
|
||||||
|
bool "voaacenc"
|
||||||
|
select BR2_PACKAGE_VO_AACENC
|
||||||
|
|
||||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2
|
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2
|
||||||
bool "bz2"
|
bool "bz2"
|
||||||
select BR2_PACKAGE_BZIP2
|
select BR2_PACKAGE_BZIP2
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GST1_PLUGINS_BAD_VERSION = 1.2.2
|
GST1_PLUGINS_BAD_VERSION = 1.2.3
|
||||||
GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
|
GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
|
||||||
GST1_PLUGINS_BAD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-bad
|
GST1_PLUGINS_BAD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-bad
|
||||||
GST1_PLUGINS_BAD_LICENSE_FILES = COPYING COPYING.LIB
|
GST1_PLUGINS_BAD_LICENSE_FILES = COPYING COPYING.LIB
|
||||||
@ -39,9 +39,7 @@ GST1_PLUGINS_BAD_CONF_OPT += \
|
|||||||
--disable-mfc \
|
--disable-mfc \
|
||||||
--disable-opensles \
|
--disable-opensles \
|
||||||
--disable-uvch264 \
|
--disable-uvch264 \
|
||||||
--disable-assrender \
|
|
||||||
--disable-voamrwbenc \
|
--disable-voamrwbenc \
|
||||||
--disable-voaacenc \
|
|
||||||
--disable-chromaprint \
|
--disable-chromaprint \
|
||||||
--disable-dash \
|
--disable-dash \
|
||||||
--disable-dc1394 \
|
--disable-dc1394 \
|
||||||
@ -511,6 +509,20 @@ else
|
|||||||
GST1_PLUGINS_BAD_CONF_OPT += --disable-apexsink
|
GST1_PLUGINS_BAD_CONF_OPT += --disable-apexsink
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER),y)
|
||||||
|
GST1_PLUGINS_BAD_CONF_OPT += --enable-assrender
|
||||||
|
GST1_PLUGINS_BAD_DEPENDENCIES += libass
|
||||||
|
else
|
||||||
|
GST1_PLUGINS_BAD_CONF_OPT += --disable-assrender
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
|
||||||
|
GST1_PLUGINS_BAD_CONF_OPT += --enable-voaacenc
|
||||||
|
GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc
|
||||||
|
else
|
||||||
|
GST1_PLUGINS_BAD_CONF_OPT += --disable-voaacenc
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y)
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y)
|
||||||
GST1_PLUGINS_BAD_CONF_OPT += --enable-bz2
|
GST1_PLUGINS_BAD_CONF_OPT += --enable-bz2
|
||||||
GST1_PLUGINS_BAD_DEPENDENCIES += bzip2
|
GST1_PLUGINS_BAD_DEPENDENCIES += bzip2
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GST1_PLUGINS_BASE_VERSION = 1.2.2
|
GST1_PLUGINS_BASE_VERSION = 1.2.3
|
||||||
GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz
|
GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz
|
||||||
GST1_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
|
GST1_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
|
||||||
GST1_PLUGINS_BASE_INSTALL_STAGING = YES
|
GST1_PLUGINS_BASE_INSTALL_STAGING = YES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GST1_PLUGINS_GOOD_VERSION = 1.2.2
|
GST1_PLUGINS_GOOD_VERSION = 1.2.3
|
||||||
GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz
|
GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz
|
||||||
GST1_PLUGINS_GOOD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-good
|
GST1_PLUGINS_GOOD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-good
|
||||||
GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING
|
GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GST1_PLUGINS_UGLY_VERSION = 1.2.2
|
GST1_PLUGINS_UGLY_VERSION = 1.2.3
|
||||||
GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz
|
GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz
|
||||||
GST1_PLUGINS_UGLY_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-ugly
|
GST1_PLUGINS_UGLY_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-ugly
|
||||||
GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING
|
GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GSTREAMER1_VERSION = 1.2.2
|
GSTREAMER1_VERSION = 1.2.3
|
||||||
GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz
|
GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz
|
||||||
GSTREAMER1_SITE = http://gstreamer.freedesktop.org/src/gstreamer
|
GSTREAMER1_SITE = http://gstreamer.freedesktop.org/src/gstreamer
|
||||||
GSTREAMER1_INSTALL_STAGING = YES
|
GSTREAMER1_INSTALL_STAGING = YES
|
||||||
|
@ -9,7 +9,7 @@ INTLTOOL_SITE = https://launchpad.net/intltool/trunk/$(INTLTOOL_VERSION)/+downlo
|
|||||||
INTLTOOL_LICENSE = GPLv2+
|
INTLTOOL_LICENSE = GPLv2+
|
||||||
INTLTOOL_LICENSE_FILES = COPYING
|
INTLTOOL_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
HOST_INTLTOOL_DEPENDENCIES = host-gettext host-libxml-parser-perl
|
HOST_INTLTOOL_DEPENDENCIES = host-gettext host-perl-xml-parser
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
JANSSON_VERSION = 2.5
|
JANSSON_VERSION = 2.6
|
||||||
JANSSON_SITE = http://www.digip.org/jansson/releases
|
JANSSON_SITE = http://www.digip.org/jansson/releases
|
||||||
JANSSON_LICENSE = MIT
|
JANSSON_LICENSE = MIT
|
||||||
JANSSON_LICENSE_FILES = LICENSE
|
JANSSON_LICENSE_FILES = LICENSE
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
config BR2_PACKAGE_LIBATASMART
|
config BR2_PACKAGE_LIBATASMART
|
||||||
bool "libatasmart"
|
bool "libatasmart"
|
||||||
depends on BR2_PACKAGE_UDEV # libudev is configure dependency
|
depends on BR2_PACKAGE_HAS_UDEV # libudev is configure dependency
|
||||||
help
|
help
|
||||||
The libatasmart package is a disk reporting library.
|
The libatasmart package is a disk reporting library.
|
||||||
It only supports a subset of the ATA S.M.A.R.T. functionality.
|
It only supports a subset of the ATA S.M.A.R.T. functionality.
|
||||||
@ -8,4 +8,4 @@ config BR2_PACKAGE_LIBATASMART
|
|||||||
http://www.linuxfromscratch.org/blfs/view/svn/general/libatasmart.html
|
http://www.linuxfromscratch.org/blfs/view/svn/general/libatasmart.html
|
||||||
|
|
||||||
comment "libatasmart requires udev to be enabled"
|
comment "libatasmart requires udev to be enabled"
|
||||||
depends on !BR2_PACKAGE_UDEV
|
depends on !BR2_PACKAGE_HAS_UDEV
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
From 7e940ce34ff4de254d460344f1a1a486a14fb045 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Gilles Talis <gilles.talis@gmail.com>
|
|
||||||
Date: Wed, 22 May 2013 16:21:26 -0700
|
|
||||||
Subject: [PATCH] Fix build failure seen when using toolchain without threads support
|
|
||||||
|
|
||||||
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
|
|
||||||
---
|
|
||||||
src/atomic_ops.c | 4 ++++
|
|
||||||
1 files changed, 4 insertions(+), 0 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/atomic_ops.c b/src/atomic_ops.c
|
|
||||||
index b6731a2..5769643 100644
|
|
||||||
--- a/src/atomic_ops.c
|
|
||||||
+++ b/src/atomic_ops.c
|
|
||||||
@@ -48,7 +48,9 @@
|
|
||||||
|
|
||||||
#undef AO_REQUIRE_CAS
|
|
||||||
|
|
||||||
+#if defined(AO_USE_PTHREAD_DEFS)
|
|
||||||
#include <pthread.h>
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
#ifndef AO_USE_NO_SIGNALS
|
|
||||||
# include <signal.h>
|
|
||||||
@@ -72,11 +74,13 @@
|
|
||||||
# include "atomic_ops/sysdeps/standard_ao_double_t.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#if defined(AO_USE_PTHREAD_DEFS)
|
|
||||||
/*
|
|
||||||
* Lock for pthreads-based implementation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
pthread_mutex_t AO_pt_lock = PTHREAD_MUTEX_INITIALIZER;
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Out of line compare-and-swap emulation based on test and set.
|
|
||||||
--
|
|
||||||
1.7.4.1
|
|
||||||
|
|
@ -4,8 +4,9 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBATOMIC_OPS_VERSION = 7.2
|
LIBATOMIC_OPS_VERSION = libatomic_ops-7_4_0
|
||||||
LIBATOMIC_OPS_SITE = http://www.hpl.hp.com/research/linux/atomic_ops/download
|
LIBATOMIC_OPS_SITE = $(call github,ivmai,libatomic_ops,$(LIBATOMIC_OPS_VERSION))
|
||||||
|
LIBATOMIC_OPS_AUTORECONF = YES
|
||||||
|
|
||||||
# From doc/LICENSING.txt: "Our intent is to make it easy to use
|
# From doc/LICENSING.txt: "Our intent is to make it easy to use
|
||||||
# libatomic_ops, in both free and proprietary software. Hence most
|
# libatomic_ops, in both free and proprietary software. Hence most
|
||||||
@ -14,7 +15,7 @@ LIBATOMIC_OPS_SITE = http://www.hpl.hp.com/research/linux/atomic_ops/download
|
|||||||
# by the GNU General Public License. These are put into a separate
|
# by the GNU General Public License. These are put into a separate
|
||||||
# library, libatomic_ops_gpl.a."
|
# library, libatomic_ops_gpl.a."
|
||||||
LIBATOMIC_OPS_LICENSE = MIT (main library) / GPLv2+ (gpl extension)
|
LIBATOMIC_OPS_LICENSE = MIT (main library) / GPLv2+ (gpl extension)
|
||||||
LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt doc/COPYING
|
LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt COPYING
|
||||||
|
|
||||||
LIBATOMIC_OPS_INSTALL_STAGING = YES
|
LIBATOMIC_OPS_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_LOCKDEV),y)
|
|||||||
LIBCEC_DEPENDENCIES += lockdev
|
LIBCEC_DEPENDENCIES += lockdev
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UDEV),y)
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||||
LIBCEC_DEPENDENCIES += udev
|
LIBCEC_DEPENDENCIES += udev
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ else
|
|||||||
LIBDRM_CONF_OPT += --disable-freedreno-experimental-api
|
LIBDRM_CONF_OPT += --disable-freedreno-experimental-api
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UDEV),y)
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||||
LIBDRM_CONF_OPT += --enable-udev
|
LIBDRM_CONF_OPT += --enable-udev
|
||||||
LIBDRM_DEPENDENCIES += udev
|
LIBDRM_DEPENDENCIES += udev
|
||||||
else
|
else
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBFSLCODEC_VERSION = 3.0.1
|
LIBFSLCODEC_VERSION = $(FREESCALE_IMX_VERSION)
|
||||||
# No official download site from freescale, just this mirror
|
LIBFSLCODEC_SITE = $(FREESCALE_IMX_SITE)
|
||||||
LIBFSLCODEC_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
|
||||||
LIBFSLCODEC_SOURCE = libfslcodec-$(LIBFSLCODEC_VERSION).bin
|
LIBFSLCODEC_SOURCE = libfslcodec-$(LIBFSLCODEC_VERSION).bin
|
||||||
LIBFSLCODEC_LICENSE = Freescale Semiconductor Software License Agreement, BSD-3c (flac, ogg headers)
|
LIBFSLCODEC_LICENSE = Freescale Semiconductor Software License Agreement, BSD-3c (flac, ogg headers)
|
||||||
LIBFSLCODEC_LICENSE_FILES = EULA EULA.txt
|
LIBFSLCODEC_LICENSE_FILES = EULA EULA.txt
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBFSLPARSER_VERSION = 3.0.1
|
LIBFSLPARSER_VERSION = $(FREESCALE_IMX_VERSION)
|
||||||
# No official download site from freescale, just this mirror
|
LIBFSLPARSER_SITE = $(FREESCALE_IMX_SITE)
|
||||||
LIBFSLPARSER_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
|
||||||
LIBFSLPARSER_SOURCE = libfslparser-$(LIBFSLPARSER_VERSION).bin
|
LIBFSLPARSER_SOURCE = libfslparser-$(LIBFSLPARSER_VERSION).bin
|
||||||
LIBFSLPARSER_LICENSE = Freescale Semiconductor Software License Agreement
|
LIBFSLPARSER_LICENSE = Freescale Semiconductor Software License Agreement
|
||||||
LIBFSLPARSER_LICENSE_FILES = EULA EULA.txt
|
LIBFSLPARSER_LICENSE_FILES = EULA EULA.txt
|
||||||
@ -37,4 +36,7 @@ endef
|
|||||||
# The Makefile installs several versions of the libraries, but we only
|
# The Makefile installs several versions of the libraries, but we only
|
||||||
# need one of them, depending on the platform.
|
# need one of them, depending on the platform.
|
||||||
|
|
||||||
|
# without AUTORECONF, configure fails to find install-sh.
|
||||||
|
LIBFSLPARSER_AUTORECONF = YES
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
@ -4,15 +4,33 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBFSLVPUWRAP_VERSION = 1.0.17
|
LIBFSLVPUWRAP_VERSION = $(FREESCALE_IMX_VERSION)
|
||||||
# No official download site from freescale, just this mirror
|
LIBFSLVPUWRAP_SITE = $(FREESCALE_IMX_SITE)
|
||||||
LIBFSLVPUWRAP_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
LIBFSLVPUWRAP_SOURCE = libfslvpuwrap-$(LIBFSLVPUWRAP_VERSION).bin
|
||||||
LIBFSLVPUWRAP_LICENSE = Freescale Semiconductor Software License Agreement
|
LIBFSLVPUWRAP_LICENSE = Freescale Semiconductor Software License Agreement
|
||||||
LIBFSLVPUWRAP_LICENSE_FILES = EULA.txt
|
# N.B.: the content of the two license files is different
|
||||||
|
LIBFSLVPUWRAP_LICENSE_FILES = EULA EULA.txt
|
||||||
LIBFSLVPUWRAP_REDISTRIBUTE = NO
|
LIBFSLVPUWRAP_REDISTRIBUTE = NO
|
||||||
|
|
||||||
LIBFSLVPUWRAP_INSTALL_STAGING = YES
|
LIBFSLVPUWRAP_INSTALL_STAGING = YES
|
||||||
|
|
||||||
LIBFSLVPUWRAP_DEPENDENCIES += imx-lib
|
LIBFSLVPUWRAP_DEPENDENCIES += imx-lib
|
||||||
|
|
||||||
|
# The archive is a shell-self-extractor of a bzipped tar. It happens
|
||||||
|
# to extract in the correct directory (libfslvpuwrap-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
|
||||||
|
# Since the EULA in the bin file differs from the one in the tar file,
|
||||||
|
# extract the one from the bin file as well.
|
||||||
|
define LIBFSLVPUWRAP_EXTRACT_CMDS
|
||||||
|
awk 'BEGIN { start=0; } \
|
||||||
|
/^EOEULA/ { start = 0; } \
|
||||||
|
{ if (start) print; } \
|
||||||
|
/<<EOEULA/ { start=1; }'\
|
||||||
|
$(DL_DIR)/$(LIBFSLVPUWRAP_SOURCE) > $(@D)/EULA
|
||||||
|
cd $(BUILD_DIR); \
|
||||||
|
sh $(DL_DIR)/$(LIBFSLVPUWRAP_SOURCE) --force --auto-accept
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
@ -2,9 +2,8 @@ config BR2_PACKAGE_LIBMBIM
|
|||||||
bool "libmbim"
|
bool "libmbim"
|
||||||
depends on BR2_USE_WCHAR # libglib2
|
depends on BR2_USE_WCHAR # libglib2
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||||
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
depends on BR2_PACKAGE_HAS_UDEV
|
||||||
select BR2_PACKAGE_LIBGLIB2
|
select BR2_PACKAGE_LIBGLIB2
|
||||||
select BR2_PACKAGE_UDEV_ALL_EXTRAS
|
|
||||||
help
|
help
|
||||||
libmbim is a glib-based library for talking to WWAN modems and
|
libmbim is a glib-based library for talking to WWAN modems and
|
||||||
devices which speak the Mobile Interface Broadband Model (MBIM)
|
devices which speak the Mobile Interface Broadband Model (MBIM)
|
||||||
@ -14,4 +13,4 @@ config BR2_PACKAGE_LIBMBIM
|
|||||||
|
|
||||||
comment "libmbim needs udev /dev management and a toolchain w/ wchar, threads"
|
comment "libmbim needs udev /dev management and a toolchain w/ wchar, threads"
|
||||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||||
!BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
!BR2_PACKAGE_HAS_UDEV
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBPNG_VERSION = 1.6.8
|
LIBPNG_VERSION = 1.6.9
|
||||||
LIBPNG_SERIES = 16
|
LIBPNG_SERIES = 16
|
||||||
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
|
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
|
||||||
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/older-releases/$(LIBPNG_VERSION)
|
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/older-releases/$(LIBPNG_VERSION)
|
||||||
|
@ -11,7 +11,6 @@ LIBTPL_LICENSE = BSD-like
|
|||||||
LIBTPL_LICENSE_FILES = LICENSE
|
LIBTPL_LICENSE_FILES = LICENSE
|
||||||
|
|
||||||
LIBTPL_AUTORECONF = YES
|
LIBTPL_AUTORECONF = YES
|
||||||
LIBTPL_AUTORECONF_OPT = --install --force
|
|
||||||
|
|
||||||
define LIBTPL_CREATE_MISSING_FILES
|
define LIBTPL_CREATE_MISSING_FILES
|
||||||
touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/ChangeLog $(@D)/COPYING
|
touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/ChangeLog $(@D)/COPYING
|
||||||
|
@ -21,7 +21,7 @@ ifeq ($(BR2_avr32),y)
|
|||||||
LIBUSB_CONF_OPT += --disable-timerfd
|
LIBUSB_CONF_OPT += --disable-timerfd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||||
LIBUSB_DEPENDENCIES += udev
|
LIBUSB_DEPENDENCIES += udev
|
||||||
else
|
else
|
||||||
LIBUSB_CONF_OPT += --disable-udev
|
LIBUSB_CONF_OPT += --disable-udev
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
config BR2_PACKAGE_LIBXML_PARSER_PERL
|
|
||||||
bool "libxml-parser-perl"
|
|
||||||
select BR2_PACKAGE_EXPAT
|
|
||||||
# Hide from configuration as we only support the host package
|
|
||||||
# for the moment
|
|
||||||
depends on BR2_HOST_ONLY
|
|
||||||
help
|
|
||||||
The Perl XML::Parser module.
|
|
||||||
|
|
||||||
http://www.cpan.org/modules/by-module/XML/
|
|
@ -1,35 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
#
|
|
||||||
# libxml-parser-perl
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
LIBXML_PARSER_PERL_VERSION = 2.36
|
|
||||||
LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz
|
|
||||||
LIBXML_PARSER_PERL_SITE = http://www.cpan.org/modules/by-module/XML/
|
|
||||||
|
|
||||||
LIBXML_PARSER_PERL_DEPENDENCIES = expat
|
|
||||||
|
|
||||||
define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
|
|
||||||
(cd $(@D) ; \
|
|
||||||
$(HOST_CONFIGURE_OPTS) perl Makefile.PL \
|
|
||||||
PREFIX=$(HOST_DIR)/usr \
|
|
||||||
EXPATLIBPATH=$(HOST_DIR)/usr/lib \
|
|
||||||
EXPATINCPATH=$(HOST_DIR)/usr/include \
|
|
||||||
INSTALLDIRS=site \
|
|
||||||
INSTALLSITELIB=$(HOST_DIR)/usr/lib/perl \
|
|
||||||
INSTALLSITEARCH=$(HOST_DIR)/usr/lib/perl \
|
|
||||||
USE_MM_LD_RUN_PATH=1 \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define HOST_LIBXML_PARSER_PERL_BUILD_CMDS
|
|
||||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define HOST_LIBXML_PARSER_PERL_INSTALL_CMDS
|
|
||||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(generic-package))
|
|
||||||
$(eval $(host-generic-package))
|
|
@ -17,6 +17,9 @@ LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz
|
|||||||
|
|
||||||
LINUX_HEADERS_INSTALL_STAGING = YES
|
LINUX_HEADERS_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
# linux-headers is part of the toolchain so disable the toolchain dependency
|
||||||
|
LINUX_HEADERS_ADD_TOOLCHAIN_DEPENDENCY = NO
|
||||||
|
|
||||||
# For some architectures (eg. Arc, Cris, Hexagon, ia64, parisc,
|
# For some architectures (eg. Arc, Cris, Hexagon, ia64, parisc,
|
||||||
# score and xtensa), the Linux buildsystem tries to call the
|
# score and xtensa), the Linux buildsystem tries to call the
|
||||||
# cross-compiler, although it is not needed at all.
|
# cross-compiler, although it is not needed at all.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LTP_TESTSUITE_VERSION = 20130904
|
LTP_TESTSUITE_VERSION = 20140115
|
||||||
LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz
|
LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz
|
||||||
LTP_TESTSUITE_SITE = http://downloads.sourceforge.net/project/ltp/LTP%20Source/ltp-$(LTP_TESTSUITE_VERSION)
|
LTP_TESTSUITE_SITE = http://downloads.sourceforge.net/project/ltp/LTP%20Source/ltp-$(LTP_TESTSUITE_VERSION)
|
||||||
LTP_TESTSUITE_LICENSE = GPLv2 GPLv2+
|
LTP_TESTSUITE_LICENSE = GPLv2 GPLv2+
|
||||||
|
@ -9,4 +9,10 @@ LUAINTERPRETER_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_LUA_INTERPRET
|
|||||||
|
|
||||||
LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION))
|
LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION))
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_HAS_LUA_INTERPRETER),y)
|
||||||
|
ifeq ($(LUAINTERPRETER_DEPENDENCIES),)
|
||||||
|
$(error No lua interpreter implementation selected. Configuration error.)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -19,7 +19,7 @@ METACITY_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
|
|||||||
|
|
||||||
METACITY_DEPENDENCIES = libgtk2 \
|
METACITY_DEPENDENCIES = libgtk2 \
|
||||||
xlib_libX11 \
|
xlib_libX11 \
|
||||||
host-libxml-parser-perl \
|
host-perl-xml-parser \
|
||||||
xlib_libXcomposite \
|
xlib_libXcomposite \
|
||||||
xlib_libXfixes \
|
xlib_libXfixes \
|
||||||
xlib_libXrender \
|
xlib_libXrender \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
config BR2_PACKAGE_MODEM_MANAGER
|
config BR2_PACKAGE_MODEM_MANAGER
|
||||||
bool "modemmanager"
|
bool "modemmanager"
|
||||||
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
depends on BR2_PACKAGE_HAS_UDEV
|
||||||
select BR2_PACKAGE_DBUS
|
select BR2_PACKAGE_DBUS
|
||||||
depends on BR2_INET_IPV6
|
depends on BR2_INET_IPV6
|
||||||
depends on BR2_LARGEFILE # acl
|
depends on BR2_LARGEFILE # acl
|
||||||
@ -8,8 +8,6 @@ config BR2_PACKAGE_MODEM_MANAGER
|
|||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
||||||
depends on BR2_USE_MMU # dbus
|
depends on BR2_USE_MMU # dbus
|
||||||
select BR2_PACKAGE_DBUS_GLIB
|
select BR2_PACKAGE_DBUS_GLIB
|
||||||
select BR2_PACKAGE_UDEV
|
|
||||||
select BR2_PACKAGE_UDEV_ALL_EXTRAS
|
|
||||||
help
|
help
|
||||||
ModemManager is a DBus-activated daemon which controls mobile
|
ModemManager is a DBus-activated daemon which controls mobile
|
||||||
broadband (2G/3G/4G) devices and connections.
|
broadband (2G/3G/4G) devices and connections.
|
||||||
@ -33,4 +31,4 @@ endif
|
|||||||
|
|
||||||
comment "modemmanager needs udev /dev management and a toolchain w/ largefile, wchar, threads, IPv6"
|
comment "modemmanager needs udev /dev management and a toolchain w/ largefile, wchar, threads, IPv6"
|
||||||
depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
|
depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
|
||||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_HAS_UDEV
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
MONIT_VERSION = 5.6
|
MONIT_VERSION = 5.7
|
||||||
MONIT_SITE = http://mmonit.com/monit/dist/
|
MONIT_SITE = http://mmonit.com/monit/dist/
|
||||||
MONIT_LICENSE = AGPLv3 with OpenSSL exception
|
MONIT_LICENSE = AGPLv3 with OpenSSL exception
|
||||||
MONIT_LICENSE_FILES = COPYING
|
MONIT_LICENSE_FILES = COPYING
|
||||||
|
@ -1,16 +1,14 @@
|
|||||||
config BR2_PACKAGE_NETWORK_MANAGER
|
config BR2_PACKAGE_NETWORK_MANAGER
|
||||||
bool "NetworkManager"
|
bool "NetworkManager"
|
||||||
depends on !BR2_avr32 # udev
|
depends on !BR2_avr32 # udev
|
||||||
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
|
||||||
select BR2_PACKAGE_DBUS
|
|
||||||
depends on BR2_INET_IPV6
|
depends on BR2_INET_IPV6
|
||||||
depends on BR2_LARGEFILE # acl
|
depends on BR2_LARGEFILE # acl
|
||||||
depends on BR2_USE_WCHAR # libglib2 and gnutls
|
depends on BR2_USE_WCHAR # libglib2 and gnutls
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
|
||||||
depends on BR2_USE_MMU # dbus
|
depends on BR2_USE_MMU # dbus
|
||||||
|
depends on BR2_PACKAGE_HAS_UDEV
|
||||||
|
select BR2_PACKAGE_DBUS
|
||||||
select BR2_PACKAGE_DBUS_GLIB
|
select BR2_PACKAGE_DBUS_GLIB
|
||||||
select BR2_PACKAGE_UDEV
|
|
||||||
select BR2_PACKAGE_UDEV_ALL_EXTRAS
|
|
||||||
select BR2_PACKAGE_GNUTLS
|
select BR2_PACKAGE_GNUTLS
|
||||||
select BR2_PACKAGE_LIBGCRYPT
|
select BR2_PACKAGE_LIBGCRYPT
|
||||||
select BR2_PACKAGE_LIBNL
|
select BR2_PACKAGE_LIBNL
|
||||||
@ -33,4 +31,4 @@ comment "NetworkManager needs udev /dev management and a toolchain w/ IPv6, larg
|
|||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
|
depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
|
||||||
!BR2_TOOLCHAIN_HAS_THREADS || \
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
||||||
!BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
!BR2_PACKAGE_HAS_UDEV
|
||||||
|
@ -22,7 +22,7 @@ OFONO_CONF_OPT = --disable-test
|
|||||||
# make sure that it is defined.
|
# make sure that it is defined.
|
||||||
OFONO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
OFONO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UDEV),y)
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||||
OFONO_CONF_OPT += --enable-udev
|
OFONO_CONF_OPT += --enable-udev
|
||||||
OFONO_DEPENDENCIES += udev
|
OFONO_DEPENDENCIES += udev
|
||||||
else
|
else
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
LIBEGL_SOURCE =
|
LIBEGL_SOURCE =
|
||||||
LIBEGL_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENGL_EGL))
|
LIBEGL_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENGL_EGL))
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_HAS_OPENGL_EGL),y)
|
||||||
ifeq ($(LIBEGL_DEPENDENCIES),)
|
ifeq ($(LIBEGL_DEPENDENCIES),)
|
||||||
define LIBEGL_CONFIGURE_CMDS
|
$(error No libEGL implementation selected. Configuration error.)
|
||||||
echo "No libEGL implementation selected. Configuration error."
|
endif
|
||||||
exit 1
|
|
||||||
endef
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
LIBGLES_SOURCE =
|
LIBGLES_SOURCE =
|
||||||
LIBGLES_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENGL_ES))
|
LIBGLES_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENGL_ES))
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_HAS_OPENGL_ES),y)
|
||||||
ifeq ($(LIBGLES_DEPENDENCIES),)
|
ifeq ($(LIBGLES_DEPENDENCIES),)
|
||||||
define LIBGLES_CONFIGURE_CMDS
|
$(error No libGLES implementation selected. Configuration error.)
|
||||||
echo "No libGLES implementation selected. Configuration error."
|
endif
|
||||||
exit 1
|
|
||||||
endef
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
LIBOPENMAX_SOURCE =
|
LIBOPENMAX_SOURCE =
|
||||||
LIBOPENMAX_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENMAX))
|
LIBOPENMAX_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENMAX))
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_HAS_OPENMAX),y)
|
||||||
ifeq ($(LIBOPENMAX_DEPENDENCIES),)
|
ifeq ($(LIBOPENMAX_DEPENDENCIES),)
|
||||||
define LIBOPENMAX_CONFIGURE_CMDS
|
$(error No libopenmax implementation selected. Configuration error.)
|
||||||
echo "No libopenmax implementation selected. Configuration error."
|
endif
|
||||||
exit 1
|
|
||||||
endef
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
LIBOPENVG_SOURCE =
|
LIBOPENVG_SOURCE =
|
||||||
LIBOPENVG_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENVG))
|
LIBOPENVG_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENVG))
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_HAS_OPENVG),y)
|
||||||
ifeq ($(LIBOPENVG_DEPENDENCIES),)
|
ifeq ($(LIBOPENVG_DEPENDENCIES),)
|
||||||
define LIBOPENVG_CONFIGURE_CMDS
|
$(error No libOpenVG implementation selected. Configuration error.)
|
||||||
echo "No libOpenVG implementation selected. Configuration error."
|
endif
|
||||||
exit 1
|
|
||||||
endef
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
9
package/opentyrian-data/Config.in
Normal file
9
package/opentyrian-data/Config.in
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
config BR2_PACKAGE_OPENTYRIAN_DATA
|
||||||
|
bool "OpenTyrian data"
|
||||||
|
depends on BR2_PACKAGE_OPENTYRIAN
|
||||||
|
help
|
||||||
|
Data files to use with OpenTyrian game. Currently only the original
|
||||||
|
Tyrian 2.1 data files, that have been released as Freeware in 2004,
|
||||||
|
are compatible.
|
||||||
|
|
||||||
|
http://code.google.com/p/opentyrian/wiki/FAQ
|
23
package/opentyrian-data/opentyrian-data.mk
Normal file
23
package/opentyrian-data/opentyrian-data.mk
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
###############################################################################
|
||||||
|
#
|
||||||
|
# opentyrian-data
|
||||||
|
#
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
OPENTYRIAN_DATA_VERSION = 2.1
|
||||||
|
OPENTYRIAN_DATA_SITE = http://www.camanis.net/opentyrian/
|
||||||
|
OPENTYRIAN_DATA_SOURCE = tyrian21.zip
|
||||||
|
OPENTYRIAN_DATA_LICENSE = Freeware
|
||||||
|
|
||||||
|
define OPENTYRIAN_DATA_EXTRACT_CMDS
|
||||||
|
unzip -d $(@D) $(DL_DIR)/$(OPENTYRIAN_DATA_SOURCE)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define OPENTYRIAN_DATA_INSTALL_TARGET_CMDS
|
||||||
|
mkdir -p $(TARGET_DIR)/usr/share/opentyrian/data/
|
||||||
|
cp $(@D)/tyrian21/* $(TARGET_DIR)/usr/share/opentyrian/data/
|
||||||
|
rm -f $(TARGET_DIR)/usr/share/opentyrian/data/*.doc
|
||||||
|
rm -f $(TARGET_DIR)/usr/share/opentyrian/data/*.exe
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
24
package/opentyrian/Config.in
Normal file
24
package/opentyrian/Config.in
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
config BR2_PACKAGE_OPENTYRIAN
|
||||||
|
bool "OpenTyrian"
|
||||||
|
select BR2_PACKAGE_SDL
|
||||||
|
select BR2_PACKAGE_OPENTYRIAN_DATA
|
||||||
|
help
|
||||||
|
OpenTyrian is a port of the DOS shoot-em-up Tyrian. It uses SDL,
|
||||||
|
making it easily cross-platform.
|
||||||
|
It requires the original data files to run.
|
||||||
|
A display with minimum 640x480 resolution and a keyboard are needed
|
||||||
|
to play the game.
|
||||||
|
If you want some sound, activate ALSA with OSS emulation.
|
||||||
|
|
||||||
|
http://code.google.com/p/opentyrian/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_OPENTYRIAN
|
||||||
|
|
||||||
|
config BR2_PACKAGE_OPENTYRIAN_NET
|
||||||
|
bool "network support"
|
||||||
|
default y
|
||||||
|
select BR2_PACKAGE_SDL_NET
|
||||||
|
help
|
||||||
|
Activates network support in OpenTyrian. Will add SDL_net.
|
||||||
|
|
||||||
|
endif
|
36
package/opentyrian/opentyrian.mk
Normal file
36
package/opentyrian/opentyrian.mk
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
###############################################################################
|
||||||
|
#
|
||||||
|
# opentyrian
|
||||||
|
#
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
OPENTYRIAN_VERSION = 2.1.20130907
|
||||||
|
OPENTYRIAN_SITE = http://www.camanis.net/opentyrian/releases/
|
||||||
|
OPENTYRIAN_SOURCE = opentyrian-$(OPENTYRIAN_VERSION)-src.tar.gz
|
||||||
|
OPENTYRIAN_LICENSE = GPLv2+
|
||||||
|
OPENTYRIAN_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
OPENTYRIAN_DEPENDENCIES = sdl
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_OPENTYRIAN_NET),y)
|
||||||
|
OPENTYRIAN_DEPENDENCIES += sdl_net
|
||||||
|
OPENTYRIAN_NETWORK = true
|
||||||
|
else
|
||||||
|
OPENTYRIAN_NETWORK = false
|
||||||
|
endif
|
||||||
|
|
||||||
|
define OPENTYRIAN_BUILD_CMDS
|
||||||
|
$(MAKE) PLATFORM=UNIX \
|
||||||
|
CC="$(TARGET_CC)" \
|
||||||
|
STRIP="/bin/true" \
|
||||||
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
|
||||||
|
LDFLAGS="-lm" \
|
||||||
|
WITH_NETWORK="$(OPENTYRIAN_NETWORK)" \
|
||||||
|
-C $(@D) release
|
||||||
|
endef
|
||||||
|
|
||||||
|
define OPENTYRIAN_INSTALL_TARGET_CMDS
|
||||||
|
$(INSTALL) -D -m 0755 $(@D)/opentyrian $(TARGET_DIR)/usr/bin/opentyrian
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
@ -11,7 +11,7 @@ if BR2_PACKAGE_PCSC_LITE
|
|||||||
|
|
||||||
config BR2_PACKAGE_PCSC_LITE_FORCE_LIBUSB
|
config BR2_PACKAGE_PCSC_LITE_FORCE_LIBUSB
|
||||||
bool "use libusb"
|
bool "use libusb"
|
||||||
depends on !BR2_PACKAGE_UDEV
|
depends on !BR2_PACKAGE_HAS_UDEV
|
||||||
select BR2_PACKAGE_LIBUSB
|
select BR2_PACKAGE_LIBUSB
|
||||||
help
|
help
|
||||||
Select Y if you want to support usb smart card readers.
|
Select Y if you want to support usb smart card readers.
|
||||||
|
@ -17,7 +17,7 @@ PCSC_LITE_AUTORECONF = YES
|
|||||||
# - libudev and libusb can't be used together
|
# - libudev and libusb can't be used together
|
||||||
# - libudev has a priority over libusb
|
# - libudev has a priority over libusb
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UDEV),y)
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||||
PCSC_LITE_CONF_OPT += --enable-libudev --disable-libusb
|
PCSC_LITE_CONF_OPT += --enable-libudev --disable-libusb
|
||||||
PCSC_LITE_DEPENDENCIES += udev
|
PCSC_LITE_DEPENDENCIES += udev
|
||||||
else
|
else
|
||||||
|
12
package/perl-module-build/perl-module-build.mk
Normal file
12
package/perl-module-build/perl-module-build.mk
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# perl-module-build
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PERL_MODULE_BUILD_VERSION = 0.4204
|
||||||
|
PERL_MODULE_BUILD_SOURCE = Module-Build-$(PERL_MODULE_BUILD_VERSION).tar.gz
|
||||||
|
PERL_MODULE_BUILD_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEONT/
|
||||||
|
PERL_MODULE_BUILD_LICENSE = Artistic or GPLv1+
|
||||||
|
|
||||||
|
$(eval $(host-perl-package))
|
17
package/perl-xml-parser/perl-xml-parser.mk
Normal file
17
package/perl-xml-parser/perl-xml-parser.mk
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# perl-xml-parser
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PERL_XML_PARSER_VERSION = 2.41
|
||||||
|
PERL_XML_PARSER_SOURCE = XML-Parser-$(PERL_XML_PARSER_VERSION).tar.gz
|
||||||
|
PERL_XML_PARSER_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR/
|
||||||
|
PERL_XML_PARSER_DEPENDENCIES = expat
|
||||||
|
PERL_XML_PARSER_LICENSE = Artistic or GPLv1+
|
||||||
|
|
||||||
|
HOST_LIBXML_PARSER_PERL_CONF_OPT = \
|
||||||
|
EXPATLIBPATH=$(HOST_DIR)/usr/lib \
|
||||||
|
EXPATINCPATH=$(HOST_DIR)/usr/include
|
||||||
|
|
||||||
|
$(eval $(host-perl-package))
|
@ -90,10 +90,8 @@ define PERL_INSTALL_STAGING_CMDS
|
|||||||
$(MAKE1) -C $(@D) DESTDIR="$(STAGING_DIR)" install.perl
|
$(MAKE1) -C $(@D) DESTDIR="$(STAGING_DIR)" install.perl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
PERL_INSTALL_TARGET_GOALS = install.perl
|
|
||||||
|
|
||||||
define PERL_INSTALL_TARGET_CMDS
|
define PERL_INSTALL_TARGET_CMDS
|
||||||
$(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" $(PERL_INSTALL_TARGET_GOALS)
|
$(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" install.perl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
9
package/php-gnupg/Config.in
Normal file
9
package/php-gnupg/Config.in
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
config BR2_PACKAGE_PHP_GNUPG
|
||||||
|
bool "php-gnupg"
|
||||||
|
depends on BR2_PACKAGE_PHP
|
||||||
|
depends on BR2_USE_MMU # libassuan
|
||||||
|
select BR2_PACKAGE_LIBGPGME
|
||||||
|
help
|
||||||
|
PHP wrapper around the gpgme library.
|
||||||
|
|
||||||
|
http://pecl.php.net/package/gnupg
|
23
package/php-gnupg/php-gnupg.mk
Normal file
23
package/php-gnupg/php-gnupg.mk
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# php-gnupg
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PHP_GNUPG_VERSION = 1.3.3
|
||||||
|
PHP_GNUPG_SOURCE = gnupg-$(PHP_GNUPG_VERSION).tgz
|
||||||
|
PHP_GNUPG_SITE = http://pecl.php.net/get
|
||||||
|
# phpize does the autoconf magic
|
||||||
|
PHP_GNUPG_DEPENDENCIES = php libgpgme host-autoconf host-pkgconf
|
||||||
|
PHP_GNUPG_CONF_OPT = --with-php-config=$(STAGING_DIR)/usr/bin/php-config
|
||||||
|
PHP_GNUPG_LICENSE = BSD-2c
|
||||||
|
PHP_GNUPG_LICENSE_FILES = LICENSE
|
||||||
|
|
||||||
|
define PHP_GNUPG_PHPIZE
|
||||||
|
(cd $(@D); \
|
||||||
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
|
endef
|
||||||
|
|
||||||
|
PHP_GNUPG_PRE_CONFIGURE_HOOKS += PHP_GNUPG_PHPIZE
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
8
package/php-imagick/Config.in
Normal file
8
package/php-imagick/Config.in
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
config BR2_PACKAGE_PHP_IMAGICK
|
||||||
|
bool "php-imagick"
|
||||||
|
depends on BR2_PACKAGE_PHP
|
||||||
|
select BR2_PACKAGE_IMAGEMAGICK
|
||||||
|
help
|
||||||
|
PHP wrapper to the ImageMagick library.
|
||||||
|
|
||||||
|
http://pecl.php.net/package/imagick
|
26
package/php-imagick/php-imagick.mk
Normal file
26
package/php-imagick/php-imagick.mk
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# php-imagick
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PHP_IMAGICK_VERSION = 3.1.2
|
||||||
|
PHP_IMAGICK_SOURCE = imagick-$(PHP_IMAGICK_VERSION).tgz
|
||||||
|
PHP_IMAGICK_SITE = http://pecl.php.net/get
|
||||||
|
PHP_IMAGICK_CONF_OPT = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
|
||||||
|
--with-imagick=$(STAGING_DIR)/usr
|
||||||
|
# phpize does the autoconf magic
|
||||||
|
PHP_IMAGICK_DEPENDENCIES = imagemagick php host-autoconf
|
||||||
|
PHP_IMAGICK_LICENSE = PHP
|
||||||
|
PHP_IMAGICK_LICENSE_FILES = LICENSE
|
||||||
|
|
||||||
|
define PHP_IMAGICK_PHPIZE
|
||||||
|
(cd $(@D); \
|
||||||
|
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
||||||
|
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
||||||
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
|
endef
|
||||||
|
|
||||||
|
PHP_IMAGICK_PRE_CONFIGURE_HOOKS += PHP_IMAGICK_PHPIZE
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
8
package/php-ssh2/Config.in
Normal file
8
package/php-ssh2/Config.in
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
config BR2_PACKAGE_PHP_SSH2
|
||||||
|
bool "php-ssh2"
|
||||||
|
depends on BR2_PACKAGE_PHP
|
||||||
|
select BR2_PACKAGE_LIBSSH2
|
||||||
|
help
|
||||||
|
PHP bindings for the libssh2 library.
|
||||||
|
|
||||||
|
http://pecl.php.net/package/ssh2
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user