Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin
Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
15bff58f3e
commit
0f9c0bf3d5
4
Makefile
4
Makefile
@ -447,7 +447,7 @@ BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(PATH)"
|
|||||||
TARGET_DIR_WARNING_FILE = $(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
|
TARGET_DIR_WARNING_FILE = $(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
|
||||||
|
|
||||||
ifeq ($(BR2_CCACHE),y)
|
ifeq ($(BR2_CCACHE),y)
|
||||||
CCACHE := $(HOST_DIR)/usr/bin/ccache
|
CCACHE := $(HOST_DIR)/bin/ccache
|
||||||
BR_CACHE_DIR ?= $(call qstrip,$(BR2_CCACHE_DIR))
|
BR_CACHE_DIR ?= $(call qstrip,$(BR2_CCACHE_DIR))
|
||||||
export BR_CACHE_DIR
|
export BR_CACHE_DIR
|
||||||
HOSTCC := $(CCACHE) $(HOSTCC)
|
HOSTCC := $(CCACHE) $(HOSTCC)
|
||||||
@ -609,7 +609,7 @@ define GENERATE_GLIBC_LOCALES
|
|||||||
fi ; \
|
fi ; \
|
||||||
echo "Generating locale $${inputfile}.$${charmap}" ; \
|
echo "Generating locale $${inputfile}.$${charmap}" ; \
|
||||||
I18NPATH=$(STAGING_DIR)/usr/share/i18n:/usr/share/i18n \
|
I18NPATH=$(STAGING_DIR)/usr/share/i18n:/usr/share/i18n \
|
||||||
$(HOST_DIR)/usr/bin/localedef \
|
$(HOST_DIR)/bin/localedef \
|
||||||
--prefix=$(TARGET_DIR) \
|
--prefix=$(TARGET_DIR) \
|
||||||
--$(call LOWERCASE,$(BR2_ENDIAN))-endian \
|
--$(call LOWERCASE,$(BR2_ENDIAN))-endian \
|
||||||
-i $${inputfile} -f $${charmap} \
|
-i $${inputfile} -f $${charmap} \
|
||||||
|
@ -86,7 +86,7 @@ endif
|
|||||||
|
|
||||||
define GRUB2_IMAGE_INSTALLATION
|
define GRUB2_IMAGE_INSTALLATION
|
||||||
mkdir -p $(dir $(GRUB2_IMAGE))
|
mkdir -p $(dir $(GRUB2_IMAGE))
|
||||||
$(HOST_DIR)/usr/bin/grub-mkimage \
|
$(HOST_DIR)/bin/grub-mkimage \
|
||||||
-d $(HOST_DIR)/usr/lib/grub/$(GRUB2_TUPLE) \
|
-d $(HOST_DIR)/usr/lib/grub/$(GRUB2_TUPLE) \
|
||||||
-O $(GRUB2_TUPLE) \
|
-O $(GRUB2_TUPLE) \
|
||||||
-o $(GRUB2_IMAGE) \
|
-o $(GRUB2_IMAGE) \
|
||||||
|
@ -94,7 +94,7 @@ define MXS_BOOTLETS_BUILD_CMDS
|
|||||||
$(MXS_BOOTLETS_SED_BAREBOX)
|
$(MXS_BOOTLETS_SED_BAREBOX)
|
||||||
$(MXS_BOOTLETS_SED_LINUX)
|
$(MXS_BOOTLETS_SED_LINUX)
|
||||||
$(MXS_BOOTLETS_SED_UBOOT)
|
$(MXS_BOOTLETS_SED_UBOOT)
|
||||||
$(HOST_DIR)/usr/bin/elftosb $(MXS_BOOTLETS_ELFTOSB_OPTIONS) \
|
$(HOST_DIR)/bin/elftosb $(MXS_BOOTLETS_ELFTOSB_OPTIONS) \
|
||||||
-z -c $(@D)/$(MXS_BOOTLETS_BOOTDESC) \
|
-z -c $(@D)/$(MXS_BOOTLETS_BOOTDESC) \
|
||||||
-o $(@D)/$(MXS_BOOTLETS_BOOTSTREAM)
|
-o $(@D)/$(MXS_BOOTLETS_BOOTSTREAM)
|
||||||
endef
|
endef
|
||||||
|
@ -55,7 +55,7 @@ define SYSLINUX_BUILD_CMDS
|
|||||||
$(TARGET_MAKE_ENV) $(MAKE1) \
|
$(TARGET_MAKE_ENV) $(MAKE1) \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
LD="$(TARGET_LD)" \
|
LD="$(TARGET_LD)" \
|
||||||
NASM="$(HOST_DIR)/usr/bin/nasm" \
|
NASM="$(HOST_DIR)/bin/nasm" \
|
||||||
CC_FOR_BUILD="$(HOSTCC)" \
|
CC_FOR_BUILD="$(HOSTCC)" \
|
||||||
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
|
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
|
||||||
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
|
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
|
||||||
@ -78,7 +78,7 @@ endef
|
|||||||
# However, buildroot makes no usage of it, so better delete it than have it
|
# However, buildroot makes no usage of it, so better delete it than have it
|
||||||
# installed at the wrong place
|
# installed at the wrong place
|
||||||
define SYSLINUX_POST_INSTALL_CLEANUP
|
define SYSLINUX_POST_INSTALL_CLEANUP
|
||||||
rm -rf $(HOST_DIR)/usr/bin/syslinux
|
rm -rf $(HOST_DIR)/bin/syslinux
|
||||||
endef
|
endef
|
||||||
SYSLINUX_POST_INSTALL_TARGET_HOOKS += SYSLINUX_POST_INSTALL_CLEANUP
|
SYSLINUX_POST_INSTALL_TARGET_HOOKS += SYSLINUX_POST_INSTALL_CLEANUP
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ define UBOOT_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define UBOOT_BUILD_OMAP_IFT
|
define UBOOT_BUILD_OMAP_IFT
|
||||||
$(HOST_DIR)/usr/bin/gpsign -f $(@D)/u-boot.bin \
|
$(HOST_DIR)/bin/gpsign -f $(@D)/u-boot.bin \
|
||||||
-c $(call qstrip,$(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG))
|
-c $(call qstrip,$(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -231,12 +231,12 @@ define UBOOT_INSTALL_IMAGES_CMDS
|
|||||||
)
|
)
|
||||||
$(if $(BR2_TARGET_UBOOT_ENVIMAGE),
|
$(if $(BR2_TARGET_UBOOT_ENVIMAGE),
|
||||||
cat $(call qstrip,$(BR2_TARGET_UBOOT_ENVIMAGE_SOURCE)) | \
|
cat $(call qstrip,$(BR2_TARGET_UBOOT_ENVIMAGE_SOURCE)) | \
|
||||||
$(HOST_DIR)/usr/bin/mkenvimage -s $(BR2_TARGET_UBOOT_ENVIMAGE_SIZE) \
|
$(HOST_DIR)/bin/mkenvimage -s $(BR2_TARGET_UBOOT_ENVIMAGE_SIZE) \
|
||||||
$(if $(BR2_TARGET_UBOOT_ENVIMAGE_REDUNDANT),-r) \
|
$(if $(BR2_TARGET_UBOOT_ENVIMAGE_REDUNDANT),-r) \
|
||||||
$(if $(filter BIG,$(BR2_ENDIAN)),-b) \
|
$(if $(filter BIG,$(BR2_ENDIAN)),-b) \
|
||||||
-o $(BINARIES_DIR)/uboot-env.bin -)
|
-o $(BINARIES_DIR)/uboot-env.bin -)
|
||||||
$(if $(BR2_TARGET_UBOOT_BOOT_SCRIPT),
|
$(if $(BR2_TARGET_UBOOT_BOOT_SCRIPT),
|
||||||
$(HOST_DIR)/usr/bin/mkimage -C none -A $(MKIMAGE_ARCH) -T script \
|
$(HOST_DIR)/bin/mkimage -C none -A $(MKIMAGE_ARCH) -T script \
|
||||||
-d $(call qstrip,$(BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE)) \
|
-d $(call qstrip,$(BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE)) \
|
||||||
$(BINARIES_DIR)/boot.scr)
|
$(BINARIES_DIR)/boot.scr)
|
||||||
endef
|
endef
|
||||||
@ -261,8 +261,8 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_TARGET_UBOOT_ZYNQ_IMAGE),y)
|
ifeq ($(BR2_TARGET_UBOOT_ZYNQ_IMAGE),y)
|
||||||
define UBOOT_GENERATE_ZYNQ_IMAGE
|
define UBOOT_GENERATE_ZYNQ_IMAGE
|
||||||
$(HOST_DIR)/usr/bin/python2 \
|
$(HOST_DIR)/bin/python2 \
|
||||||
$(HOST_DIR)/usr/bin/zynq-boot-bin.py \
|
$(HOST_DIR)/bin/zynq-boot-bin.py \
|
||||||
-u $(@D)/$(firstword $(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME))) \
|
-u $(@D)/$(firstword $(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME))) \
|
||||||
-o $(BINARIES_DIR)/BOOT.BIN
|
-o $(BINARIES_DIR)/BOOT.BIN
|
||||||
endef
|
endef
|
||||||
@ -280,7 +280,7 @@ UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 1
|
|||||||
endif
|
endif
|
||||||
define UBOOT_CRC_ALTERA_SOCFPGA_IMAGE
|
define UBOOT_CRC_ALTERA_SOCFPGA_IMAGE
|
||||||
$(foreach f,$(UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES), \
|
$(foreach f,$(UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES), \
|
||||||
$(HOST_DIR)/usr/bin/mkpimage \
|
$(HOST_DIR)/bin/mkpimage \
|
||||||
-v $(UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION) \
|
-v $(UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION) \
|
||||||
-o $(BINARIES_DIR)/$(notdir $(call qstrip,$(f))).crc \
|
-o $(BINARIES_DIR)/$(notdir $(call qstrip,$(f))).crc \
|
||||||
$(@D)/$(call qstrip,$(f))
|
$(@D)/$(call qstrip,$(f))
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
ROOTFS_AXFS_DEPENDENCIES = host-axfsutils
|
ROOTFS_AXFS_DEPENDENCIES = host-axfsutils
|
||||||
|
|
||||||
define ROOTFS_AXFS_CMD
|
define ROOTFS_AXFS_CMD
|
||||||
$(HOST_DIR)/usr/bin/mkfs.axfs -s -a $(TARGET_DIR) $@
|
$(HOST_DIR)/bin/mkfs.axfs -s -a $(TARGET_DIR) $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call ROOTFS_TARGET,axfs))
|
$(eval $(call ROOTFS_TARGET,axfs))
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
ROOTFS_CLOOP_DEPENDENCIES = host-cloop host-cdrkit
|
ROOTFS_CLOOP_DEPENDENCIES = host-cloop host-cdrkit
|
||||||
|
|
||||||
define ROOTFS_CLOOP_CMD
|
define ROOTFS_CLOOP_CMD
|
||||||
$(HOST_DIR)/usr/bin/genisoimage -r $(TARGET_DIR) | \
|
$(HOST_DIR)/bin/genisoimage -r $(TARGET_DIR) | \
|
||||||
$(HOST_DIR)/usr/bin/create_compressed_fs - 65536 > $@
|
$(HOST_DIR)/bin/create_compressed_fs - 65536 > $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call ROOTFS_TARGET,cloop))
|
$(eval $(call ROOTFS_TARGET,cloop))
|
||||||
|
@ -91,7 +91,7 @@ ifeq ($$(BR2_ROOTFS_DEVICE_CREATION_STATIC),y)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
$$(call PRINTF,$$(PACKAGES_PERMISSIONS_TABLE)) >> $$(FULL_DEVICE_TABLE)
|
$$(call PRINTF,$$(PACKAGES_PERMISSIONS_TABLE)) >> $$(FULL_DEVICE_TABLE)
|
||||||
echo "$$(HOST_DIR)/usr/bin/makedevs -d $$(FULL_DEVICE_TABLE) $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT)
|
echo "$$(HOST_DIR)/bin/makedevs -d $$(FULL_DEVICE_TABLE) $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT)
|
||||||
$$(foreach s,$$(call qstrip,$$(BR2_ROOTFS_POST_FAKEROOT_SCRIPT)),\
|
$$(foreach s,$$(call qstrip,$$(BR2_ROOTFS_POST_FAKEROOT_SCRIPT)),\
|
||||||
echo "echo '$$(TERM_BOLD)>>> Executing fakeroot script $$(s)$$(TERM_RESET)'" >> $$(FAKEROOT_SCRIPT); \
|
echo "echo '$$(TERM_BOLD)>>> Executing fakeroot script $$(s)$$(TERM_RESET)'" >> $$(FAKEROOT_SCRIPT); \
|
||||||
echo $$(s) $$(TARGET_DIR) $$(BR2_ROOTFS_POST_SCRIPT_ARGS) >> $$(FAKEROOT_SCRIPT)$$(sep))
|
echo $$(s) $$(TARGET_DIR) $$(BR2_ROOTFS_POST_SCRIPT_ARGS) >> $$(FAKEROOT_SCRIPT)$$(sep))
|
||||||
@ -100,7 +100,7 @@ ifeq ($$(BR2_REPRODUCIBLE),y)
|
|||||||
endif
|
endif
|
||||||
$$(call PRINTF,$$(ROOTFS_$(2)_CMD)) >> $$(FAKEROOT_SCRIPT)
|
$$(call PRINTF,$$(ROOTFS_$(2)_CMD)) >> $$(FAKEROOT_SCRIPT)
|
||||||
chmod a+x $$(FAKEROOT_SCRIPT)
|
chmod a+x $$(FAKEROOT_SCRIPT)
|
||||||
PATH=$$(BR_PATH) $$(HOST_DIR)/usr/bin/fakeroot -- $$(FAKEROOT_SCRIPT)
|
PATH=$$(BR_PATH) $$(HOST_DIR)/bin/fakeroot -- $$(FAKEROOT_SCRIPT)
|
||||||
$$(INSTALL) -m 0644 support/misc/target-dir-warning.txt $$(TARGET_DIR_WARNING_FILE)
|
$$(INSTALL) -m 0644 support/misc/target-dir-warning.txt $$(TARGET_DIR_WARNING_FILE)
|
||||||
-@rm -f $$(FAKEROOT_SCRIPT) $$(FULL_DEVICE_TABLE)
|
-@rm -f $$(FAKEROOT_SCRIPT) $$(FULL_DEVICE_TABLE)
|
||||||
ifneq ($$(ROOTFS_$(2)_COMPRESS_CMD),)
|
ifneq ($$(ROOTFS_$(2)_COMPRESS_CMD),)
|
||||||
|
@ -11,7 +11,7 @@ CRAMFS_OPTS = -l
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define ROOTFS_CRAMFS_CMD
|
define ROOTFS_CRAMFS_CMD
|
||||||
$(HOST_DIR)/usr/bin/mkcramfs $(CRAMFS_OPTS) $(TARGET_DIR) $@
|
$(HOST_DIR)/bin/mkcramfs $(CRAMFS_OPTS) $(TARGET_DIR) $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
||||||
|
@ -144,14 +144,14 @@ endif # ROOTFS_ISO9660_USE_INITRD
|
|||||||
|
|
||||||
|
|
||||||
define ROOTFS_ISO9660_CMD
|
define ROOTFS_ISO9660_CMD
|
||||||
$(HOST_DIR)/usr/bin/genisoimage -J -R -b $(ROOTFS_ISO9660_BOOT_IMAGE) \
|
$(HOST_DIR)/bin/genisoimage -J -R -b $(ROOTFS_ISO9660_BOOT_IMAGE) \
|
||||||
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||||
-o $@ $(ROOTFS_ISO9660_TARGET_DIR)
|
-o $@ $(ROOTFS_ISO9660_TARGET_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_ISO9660_HYBRID),y)
|
ifeq ($(BR2_TARGET_ROOTFS_ISO9660_HYBRID),y)
|
||||||
define ROOTFS_ISO9660_GEN_HYBRID
|
define ROOTFS_ISO9660_GEN_HYBRID
|
||||||
$(HOST_DIR)/usr/bin/isohybrid -t 0x96 $@
|
$(HOST_DIR)/bin/isohybrid -t 0x96 $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ROOTFS_ISO9660_POST_GEN_HOOKS += ROOTFS_ISO9660_GEN_HYBRID
|
ROOTFS_ISO9660_POST_GEN_HOOKS += ROOTFS_ISO9660_GEN_HYBRID
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
ROOTFS_ROMFS_DEPENDENCIES = host-genromfs
|
ROOTFS_ROMFS_DEPENDENCIES = host-genromfs
|
||||||
|
|
||||||
define ROOTFS_ROMFS_CMD
|
define ROOTFS_ROMFS_CMD
|
||||||
$(HOST_DIR)/usr/bin/genromfs -d $(TARGET_DIR) -f $@
|
$(HOST_DIR)/bin/genromfs -d $(TARGET_DIR) -f $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call ROOTFS_TARGET,romfs))
|
$(eval $(call ROOTFS_TARGET,romfs))
|
||||||
|
@ -25,7 +25,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define ROOTFS_SQUASHFS_CMD
|
define ROOTFS_SQUASHFS_CMD
|
||||||
$(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $@ -noappend \
|
$(HOST_DIR)/bin/mksquashfs $(TARGET_DIR) $@ -noappend \
|
||||||
$(ROOTFS_SQUASHFS_ARGS)
|
$(ROOTFS_SQUASHFS_ARGS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
ROOTFS_YAFFS2_DEPENDENCIES = host-yaffs2utils
|
ROOTFS_YAFFS2_DEPENDENCIES = host-yaffs2utils
|
||||||
|
|
||||||
define ROOTFS_YAFFS2_CMD
|
define ROOTFS_YAFFS2_CMD
|
||||||
$(HOST_DIR)/usr/bin/mkyaffs2 --all-root $(TARGET_DIR) $@
|
$(HOST_DIR)/bin/mkyaffs2 --all-root $(TARGET_DIR) $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call ROOTFS_TARGET,yaffs2))
|
$(eval $(call ROOTFS_TARGET,yaffs2))
|
||||||
|
@ -383,9 +383,9 @@ endif
|
|||||||
define LINUX_INSTALL_HOST_TOOLS
|
define LINUX_INSTALL_HOST_TOOLS
|
||||||
# Installing dtc (device tree compiler) as host tool, if selected
|
# Installing dtc (device tree compiler) as host tool, if selected
|
||||||
if grep -q "CONFIG_DTC=y" $(@D)/.config; then \
|
if grep -q "CONFIG_DTC=y" $(@D)/.config; then \
|
||||||
$(INSTALL) -D -m 0755 $(@D)/scripts/dtc/dtc $(HOST_DIR)/usr/bin/linux-dtc ; \
|
$(INSTALL) -D -m 0755 $(@D)/scripts/dtc/dtc $(HOST_DIR)/bin/linux-dtc ; \
|
||||||
if [ ! -e $(HOST_DIR)/usr/bin/dtc ]; then \
|
if [ ! -e $(HOST_DIR)/bin/dtc ]; then \
|
||||||
ln -sf linux-dtc $(HOST_DIR)/usr/bin/dtc ; \
|
ln -sf linux-dtc $(HOST_DIR)/bin/dtc ; \
|
||||||
fi \
|
fi \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
@ -27,7 +27,7 @@ define 4TH_BUILD_CMDS
|
|||||||
$(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources all \
|
$(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources all \
|
||||||
CROSS="$(TARGET_CROSS)" \
|
CROSS="$(TARGET_CROSS)" \
|
||||||
CFLAGS="$(4TH_CFLAGS)" \
|
CFLAGS="$(4TH_CFLAGS)" \
|
||||||
FOURTH=$(HOST_DIR)/usr/bin/4th
|
FOURTH=$(HOST_DIR)/bin/4th
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define 4TH_INSTALL_STAGING_CMDS
|
define 4TH_INSTALL_STAGING_CMDS
|
||||||
@ -59,10 +59,10 @@ define HOST_4TH_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_4TH_INSTALL_CMDS
|
define HOST_4TH_INSTALL_CMDS
|
||||||
mkdir -p $(HOST_DIR)/usr/bin
|
mkdir -p $(HOST_DIR)/bin
|
||||||
mkdir -p $(HOST_DIR)/usr/lib
|
mkdir -p $(HOST_DIR)/usr/lib
|
||||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \
|
||||||
BINARIES=$(HOST_DIR)/usr/bin \
|
BINARIES=$(HOST_DIR)/bin \
|
||||||
LIBRARIES=$(HOST_DIR)/usr/lib
|
LIBRARIES=$(HOST_DIR)/usr/lib
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -182,9 +182,9 @@ TARGET_FCFLAGS += -fstack-protector-all
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||||
TARGET_CROSS = $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-
|
TARGET_CROSS = $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-
|
||||||
else
|
else
|
||||||
TARGET_CROSS = $(HOST_DIR)/usr/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
TARGET_CROSS = $(HOST_DIR)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Define TARGET_xx variables for all common binutils/gcc
|
# Define TARGET_xx variables for all common binutils/gcc
|
||||||
@ -214,7 +214,7 @@ FLEX := $(shell which flex || type -p flex)
|
|||||||
BISON := $(shell which bison || type -p bison)
|
BISON := $(shell which bison || type -p bison)
|
||||||
UNZIP := $(shell which unzip || type -p unzip) -q
|
UNZIP := $(shell which unzip || type -p unzip) -q
|
||||||
|
|
||||||
APPLY_PATCHES = PATH=$(HOST_DIR)/usr/bin:$$PATH support/scripts/apply-patches.sh $(if $(QUIET),-s)
|
APPLY_PATCHES = PATH=$(HOST_DIR)/bin:$$PATH support/scripts/apply-patches.sh $(if $(QUIET),-s)
|
||||||
|
|
||||||
HOST_CPPFLAGS = -I$(HOST_DIR)/usr/include
|
HOST_CPPFLAGS = -I$(HOST_DIR)/usr/include
|
||||||
HOST_CFLAGS ?= -O2
|
HOST_CFLAGS ?= -O2
|
||||||
@ -224,7 +224,7 @@ HOST_LDFLAGS += -L$(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib
|
|||||||
|
|
||||||
# host-intltool should be executed with the system perl, so we save
|
# host-intltool should be executed with the system perl, so we save
|
||||||
# the path to the system perl, before a host-perl built by Buildroot
|
# the path to the system perl, before a host-perl built by Buildroot
|
||||||
# might get installed into $(HOST_DIR)/usr/bin and therefore appears
|
# might get installed into $(HOST_DIR)/bin and therefore appears
|
||||||
# in our PATH. This system perl will be used as INTLTOOL_PERL.
|
# in our PATH. This system perl will be used as INTLTOOL_PERL.
|
||||||
export PERL=$(shell which perl)
|
export PERL=$(shell which perl)
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ define HOST_AM335X_PRU_PACKAGE_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_AM335X_PRU_PACKAGE_INSTALL_CMDS
|
define HOST_AM335X_PRU_PACKAGE_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 -D $(@D)/pru_sw/utils/pasm $(HOST_DIR)/usr/bin/pasm
|
$(INSTALL) -m 0755 -D $(@D)/pru_sw/utils/pasm $(HOST_DIR)/bin/pasm
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -73,7 +73,7 @@ endef
|
|||||||
|
|
||||||
define HOST_ANDROID_TOOLS_INSTALL_CMDS
|
define HOST_ANDROID_TOOLS_INSTALL_CMDS
|
||||||
$(foreach t,$(HOST_ANDROID_TOOLS_TARGETS),\
|
$(foreach t,$(HOST_ANDROID_TOOLS_TARGETS),\
|
||||||
$(INSTALL) -D -m 0755 $(@D)/build-$(t)/$(t) $(HOST_DIR)/usr/bin/$(t)$(sep))
|
$(INSTALL) -D -m 0755 $(@D)/build-$(t)/$(t) $(HOST_DIR)/bin/$(t)$(sep))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define ANDROID_TOOLS_INSTALL_TARGET_CMDS
|
define ANDROID_TOOLS_INSTALL_TARGET_CMDS
|
||||||
|
@ -13,7 +13,7 @@ AUTOCONF_LICENSE_FILES = COPYINGv3 COPYING.EXCEPTION
|
|||||||
|
|
||||||
HOST_AUTOCONF_CONF_ENV = \
|
HOST_AUTOCONF_CONF_ENV = \
|
||||||
EMACS="no" \
|
EMACS="no" \
|
||||||
ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
ac_cv_path_M4=$(HOST_DIR)/bin/m4 \
|
||||||
ac_cv_prog_gnu_m4_gnu=no
|
ac_cv_prog_gnu_m4_gnu=no
|
||||||
|
|
||||||
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
|
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
|
||||||
@ -21,6 +21,6 @@ HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
|
|||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
# variables used by other packages
|
# variables used by other packages
|
||||||
AUTOCONF = $(HOST_DIR)/usr/bin/autoconf
|
AUTOCONF = $(HOST_DIR)/bin/autoconf
|
||||||
AUTOHEADER = $(HOST_DIR)/usr/bin/autoheader
|
AUTOHEADER = $(HOST_DIR)/bin/autoheader
|
||||||
AUTORECONF = $(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOCONF="$(AUTOCONF)" AUTOHEADER="$(AUTOHEADER)" AUTOMAKE="$(AUTOMAKE)" AUTOPOINT=/bin/true $(HOST_DIR)/usr/bin/autoreconf -f -i -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)"
|
AUTORECONF = $(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOCONF="$(AUTOCONF)" AUTOHEADER="$(AUTOHEADER)" AUTOMAKE="$(AUTOMAKE)" AUTOPOINT=/bin/true $(HOST_DIR)/bin/autoreconf -f -i -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)"
|
||||||
|
@ -30,6 +30,6 @@ HOST_AUTOMAKE_POST_INSTALL_HOOKS += HOST_AUTOMAKE_MAKE_ACLOCAL
|
|||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
# variables used by other packages
|
# variables used by other packages
|
||||||
AUTOMAKE = $(HOST_DIR)/usr/bin/automake
|
AUTOMAKE = $(HOST_DIR)/bin/automake
|
||||||
ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
|
ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
|
||||||
ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)
|
ACLOCAL = $(HOST_DIR)/bin/aclocal -I $(ACLOCAL_DIR)
|
||||||
|
@ -18,7 +18,7 @@ endef
|
|||||||
|
|
||||||
define HOST_AXFSUTILS_INSTALL_CMDS
|
define HOST_AXFSUTILS_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/mkfs.axfs-legacy/mkfs.axfs \
|
$(INSTALL) -D -m 0755 $(@D)/mkfs.axfs-legacy/mkfs.axfs \
|
||||||
$(HOST_DIR)/usr/bin/mkfs.axfs
|
$(HOST_DIR)/bin/mkfs.axfs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -23,7 +23,7 @@ B43_FIRMWARE_DEPENDENCIES = host-b43-fwcutter
|
|||||||
|
|
||||||
define B43_FIRMWARE_INSTALL_TARGET_CMDS
|
define B43_FIRMWARE_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/
|
$(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/
|
||||||
$(HOST_DIR)/usr/bin/b43-fwcutter -w $(TARGET_DIR)/lib/firmware/ $(@D)/$(B43_FIRMWARE_DRIVER_FILE)
|
$(HOST_DIR)/bin/b43-fwcutter -w $(TARGET_DIR)/lib/firmware/ $(@D)/$(B43_FIRMWARE_DRIVER_FILE)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -15,7 +15,7 @@ define HOST_B43_FWCUTTER_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_B43_FWCUTTER_INSTALL_CMDS
|
define HOST_B43_FWCUTTER_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/b43-fwcutter $(HOST_DIR)/usr/bin/b43-fwcutter
|
$(INSTALL) -D -m 0755 $(@D)/b43-fwcutter $(HOST_DIR)/bin/b43-fwcutter
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -65,11 +65,11 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_BOOST_PYTHON),y)
|
ifeq ($(BR2_PACKAGE_BOOST_PYTHON),y)
|
||||||
BOOST_FLAGS += --with-python-root=$(HOST_DIR)
|
BOOST_FLAGS += --with-python-root=$(HOST_DIR)
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||||
BOOST_FLAGS += --with-python=$(HOST_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)
|
BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR)
|
||||||
BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m
|
BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m
|
||||||
BOOST_DEPENDENCIES += python3
|
BOOST_DEPENDENCIES += python3
|
||||||
else
|
else
|
||||||
BOOST_FLAGS += --with-python=$(HOST_DIR)/usr/bin/python$(PYTHON_VERSION_MAJOR)
|
BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON_VERSION_MAJOR)
|
||||||
BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
|
BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
|
||||||
BOOST_DEPENDENCIES += python
|
BOOST_DEPENDENCIES += python
|
||||||
endif
|
endif
|
||||||
|
@ -37,7 +37,7 @@ define CA_CERTIFICATES_INSTALL_TARGET_CMDS
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Create symlinks to the certificates by their hash values
|
# Create symlinks to the certificates by their hash values
|
||||||
$(HOST_DIR)/usr/bin/c_rehash $(TARGET_DIR)/etc/ssl/certs
|
$(HOST_DIR)/bin/c_rehash $(TARGET_DIR)/etc/ssl/certs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -37,13 +37,13 @@ endef
|
|||||||
|
|
||||||
define CANFESTIVAL_BUILD_CMDS
|
define CANFESTIVAL_BUILD_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) all \
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) all \
|
||||||
PYTHON=$(HOST_DIR)/usr/bin/python2
|
PYTHON=$(HOST_DIR)/bin/python2
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define CANFESTIVAL_INSTALL_TARGET_CMDS
|
define CANFESTIVAL_INSTALL_TARGET_CMDS
|
||||||
for d in $(CANFESTIVAL_INSTALLED-y) ; do \
|
for d in $(CANFESTIVAL_INSTALLED-y) ; do \
|
||||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \
|
||||||
PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
DESTDIR=$(TARGET_DIR) || exit 1 ; \
|
DESTDIR=$(TARGET_DIR) || exit 1 ; \
|
||||||
done
|
done
|
||||||
endef
|
endef
|
||||||
@ -51,7 +51,7 @@ endef
|
|||||||
define CANFESTIVAL_INSTALL_STAGING_CMDS
|
define CANFESTIVAL_INSTALL_STAGING_CMDS
|
||||||
for d in $(CANFESTIVAL_INSTALLED-y) ; do \
|
for d in $(CANFESTIVAL_INSTALLED-y) ; do \
|
||||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \
|
||||||
PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
DESTDIR=$(STAGING_DIR) || exit 1 ; \
|
DESTDIR=$(STAGING_DIR) || exit 1 ; \
|
||||||
done
|
done
|
||||||
endef
|
endef
|
||||||
|
@ -12,8 +12,8 @@ CHECKPOLICY_LICENSE_FILES = COPYING
|
|||||||
CHECKPOLICY_DEPENDENCIES = libselinux flex host-flex host-bison
|
CHECKPOLICY_DEPENDENCIES = libselinux flex host-flex host-bison
|
||||||
|
|
||||||
TARGET_CHECKPOLICY_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) \
|
TARGET_CHECKPOLICY_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) \
|
||||||
LEX="$(HOST_DIR)/usr/bin/flex" \
|
LEX="$(HOST_DIR)/bin/flex" \
|
||||||
YACC="$(HOST_DIR)/usr/bin/bison -y"
|
YACC="$(HOST_DIR)/bin/bison -y"
|
||||||
|
|
||||||
# DESTDIR is used at build time to find libselinux
|
# DESTDIR is used at build time to find libselinux
|
||||||
define CHECKPOLICY_BUILD_CMDS
|
define CHECKPOLICY_BUILD_CMDS
|
||||||
@ -32,8 +32,8 @@ endef
|
|||||||
HOST_CHECKPOLICY_DEPENDENCIES = host-libselinux host-flex host-bison
|
HOST_CHECKPOLICY_DEPENDENCIES = host-libselinux host-flex host-bison
|
||||||
|
|
||||||
HOST_CHECKPOLICY_MAKE_OPTS = $(HOST_CONFIGURE_OPTS) \
|
HOST_CHECKPOLICY_MAKE_OPTS = $(HOST_CONFIGURE_OPTS) \
|
||||||
LEX="$(HOST_DIR)/usr/bin/flex" \
|
LEX="$(HOST_DIR)/bin/flex" \
|
||||||
YACC="$(HOST_DIR)/usr/bin/bison -y"
|
YACC="$(HOST_DIR)/bin/bison -y"
|
||||||
|
|
||||||
# DESTDIR is used at build time to find host-libselinux
|
# DESTDIR is used at build time to find host-libselinux
|
||||||
define HOST_CHECKPOLICY_BUILD_CMDS
|
define HOST_CHECKPOLICY_BUILD_CMDS
|
||||||
|
@ -17,9 +17,9 @@ define HOST_CLOOP_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_CLOOP_INSTALL_CMDS
|
define HOST_CLOOP_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 -d $(HOST_DIR)/usr/bin
|
$(INSTALL) -m 0755 -d $(HOST_DIR)/bin
|
||||||
$(INSTALL) -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/usr/bin
|
$(INSTALL) -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/bin
|
||||||
$(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin
|
$(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -31,7 +31,7 @@ endif
|
|||||||
# needed for compiling packages using cppcms. And it is not worth
|
# needed for compiling packages using cppcms. And it is not worth
|
||||||
# creating a host package just for a python script.
|
# creating a host package just for a python script.
|
||||||
define CPPCMS_INSTALL_HOST_TOOLS
|
define CPPCMS_INSTALL_HOST_TOOLS
|
||||||
cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/usr/bin/cppcms_tmpl_cc
|
cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/bin/cppcms_tmpl_cc
|
||||||
endef
|
endef
|
||||||
CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS
|
CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@ define HOST_CRAMFS_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_CRAMFS_INSTALL_CMDS
|
define HOST_CRAMFS_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 755 $(@D)/mkcramfs $(HOST_DIR)/usr/bin/mkcramfs
|
$(INSTALL) -D -m 755 $(@D)/mkcramfs $(HOST_DIR)/bin/mkcramfs
|
||||||
$(INSTALL) -D -m 755 $(@D)/cramfsck $(HOST_DIR)/usr/bin/cramfsck
|
$(INSTALL) -D -m 755 $(@D)/cramfsck $(HOST_DIR)/bin/cramfsck
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -15,7 +15,7 @@ CUPS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) DSTROOT=$(TARGET_DIR) install
|
|||||||
|
|
||||||
# Using autoconf, not autoheader, so we cannot use AUTORECONF = YES.
|
# Using autoconf, not autoheader, so we cannot use AUTORECONF = YES.
|
||||||
define CUPS_RUN_AUTOCONF
|
define CUPS_RUN_AUTOCONF
|
||||||
cd $(@D); $(HOST_DIR)/usr/bin/autoconf -f
|
cd $(@D); $(HOST_DIR)/bin/autoconf -f
|
||||||
endef
|
endef
|
||||||
CUPS_PRE_CONFIGURE_HOOKS += CUPS_RUN_AUTOCONF
|
CUPS_PRE_CONFIGURE_HOOKS += CUPS_RUN_AUTOCONF
|
||||||
|
|
||||||
|
@ -39,4 +39,4 @@ $(eval $(autotools-package))
|
|||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
# dbus-glib for the host
|
# dbus-glib for the host
|
||||||
DBUS_GLIB_HOST_BINARY = $(HOST_DIR)/usr/bin/dbus-binding-tool
|
DBUS_GLIB_HOST_BINARY = $(HOST_DIR)/bin/dbus-binding-tool
|
||||||
|
@ -16,14 +16,14 @@ ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|||||||
DBUS_PYTHON_DEPENDENCIES += python host-python
|
DBUS_PYTHON_DEPENDENCIES += python host-python
|
||||||
|
|
||||||
DBUS_PYTHON_CONF_ENV += \
|
DBUS_PYTHON_CONF_ENV += \
|
||||||
PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \
|
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \
|
||||||
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`"
|
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`"
|
||||||
else
|
else
|
||||||
DBUS_PYTHON_DEPENDENCIES += python3 host-python3
|
DBUS_PYTHON_DEPENDENCIES += python3 host-python3
|
||||||
|
|
||||||
DBUS_PYTHON_CONF_ENV += \
|
DBUS_PYTHON_CONF_ENV += \
|
||||||
PYTHON=$(HOST_DIR)/usr/bin/python3 \
|
PYTHON=$(HOST_DIR)/bin/python3 \
|
||||||
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \
|
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \
|
||||||
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`"
|
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`"
|
||||||
endif
|
endif
|
||||||
|
@ -121,7 +121,7 @@ HOST_DBUS_CONF_OPTS = \
|
|||||||
DBUS_HOST_INTROSPECT = $(HOST_DBUS_DIR)/introspect.xml
|
DBUS_HOST_INTROSPECT = $(HOST_DBUS_DIR)/introspect.xml
|
||||||
|
|
||||||
HOST_DBUS_GEN_INTROSPECT = \
|
HOST_DBUS_GEN_INTROSPECT = \
|
||||||
$(HOST_DIR)/usr/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT)
|
$(HOST_DIR)/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT)
|
||||||
|
|
||||||
HOST_DBUS_POST_INSTALL_HOOKS += HOST_DBUS_GEN_INTROSPECT
|
HOST_DBUS_POST_INSTALL_HOOKS += HOST_DBUS_GEN_INTROSPECT
|
||||||
|
|
||||||
|
@ -164,10 +164,10 @@ HOST_DIRECTFB_BUILD_CMDS = \
|
|||||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/tools directfb-csource
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/tools directfb-csource
|
||||||
|
|
||||||
HOST_DIRECTFB_INSTALL_CMDS = \
|
HOST_DIRECTFB_INSTALL_CMDS = \
|
||||||
$(INSTALL) -m 0755 $(@D)/tools/directfb-csource $(HOST_DIR)/usr/bin
|
$(INSTALL) -m 0755 $(@D)/tools/directfb-csource $(HOST_DIR)/bin
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
# directfb-csource for the host
|
# directfb-csource for the host
|
||||||
DIRECTFB_HOST_BINARY = $(HOST_DIR)/usr/bin/directfb-csource
|
DIRECTFB_HOST_BINARY = $(HOST_DIR)/bin/directfb-csource
|
||||||
|
@ -33,7 +33,7 @@ endef
|
|||||||
|
|
||||||
define DOCKER_CONTAINERD_BUILD_CMDS
|
define DOCKER_CONTAINERD_BUILD_CMDS
|
||||||
$(foreach d,ctr containerd containerd-shim,\
|
$(foreach d,ctr containerd containerd-shim,\
|
||||||
cd $(@D); $(DOCKER_CONTAINERD_MAKE_ENV) $(HOST_DIR)/usr/bin/go build \
|
cd $(@D); $(DOCKER_CONTAINERD_MAKE_ENV) $(HOST_DIR)/bin/go build \
|
||||||
-v -o $(@D)/bin/$(d) -ldflags "$(DOCKER_CONTAINERD_GLDFLAGS)" ./$(d)$(sep))
|
-v -o $(@D)/bin/$(d) -ldflags "$(DOCKER_CONTAINERD_GLDFLAGS)" ./$(d)$(sep))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ define DOCKER_ENGINE_BUILD_CMDS
|
|||||||
$(foreach target,$(DOCKER_ENGINE_BUILD_TARGETS), \
|
$(foreach target,$(DOCKER_ENGINE_BUILD_TARGETS), \
|
||||||
cd $(@D)/gopath/src/github.com/docker/docker; \
|
cd $(@D)/gopath/src/github.com/docker/docker; \
|
||||||
$(DOCKER_ENGINE_MAKE_ENV) \
|
$(DOCKER_ENGINE_MAKE_ENV) \
|
||||||
$(HOST_DIR)/usr/bin/go build -v \
|
$(HOST_DIR)/bin/go build -v \
|
||||||
-o $(@D)/bin/$(target) \
|
-o $(@D)/bin/$(target) \
|
||||||
-tags "$(DOCKER_ENGINE_BUILD_TAGS)" \
|
-tags "$(DOCKER_ENGINE_BUILD_TAGS)" \
|
||||||
-ldflags "$(DOCKER_ENGINE_GLDFLAGS) $(DOCKER_ENGINE_GLDFLAGS_$(call UPPERCASE,$(target)))" \
|
-ldflags "$(DOCKER_ENGINE_GLDFLAGS) $(DOCKER_ENGINE_GLDFLAGS_$(call UPPERCASE,$(target)))" \
|
||||||
|
@ -32,13 +32,13 @@ EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
|
|||||||
# --with-net-control=none: disable connman networkmanager.
|
# --with-net-control=none: disable connman networkmanager.
|
||||||
# --with-doxygen: disable doxygen documentation
|
# --with-doxygen: disable doxygen documentation
|
||||||
EFL_CONF_OPTS = \
|
EFL_CONF_OPTS = \
|
||||||
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
|
--with-edje-cc=$(HOST_DIR)/bin/edje_cc \
|
||||||
--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
|
--with-eet-eet=$(HOST_DIR)/bin/eet \
|
||||||
--with-eldbus_codegen=$(HOST_DIR)/usr/bin/eldbus-codegen \
|
--with-eldbus_codegen=$(HOST_DIR)/bin/eldbus-codegen \
|
||||||
--with-elementary-codegen=$(HOST_DIR)/usr/bin/elementary_codegen \
|
--with-elementary-codegen=$(HOST_DIR)/bin/elementary_codegen \
|
||||||
--with-elm-prefs-cc=$(HOST_DIR)/usr/bin/elm_prefs_cc \
|
--with-elm-prefs-cc=$(HOST_DIR)/bin/elm_prefs_cc \
|
||||||
--with-elua=$(HOST_DIR)/usr/bin/elua \
|
--with-elua=$(HOST_DIR)/bin/elua \
|
||||||
--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
|
--with-eolian-gen=$(HOST_DIR)/bin/eolian_gen \
|
||||||
--disable-image-loader-jp2k \
|
--disable-image-loader-jp2k \
|
||||||
--with-net-control=none \
|
--with-net-control=none \
|
||||||
--disable-lua-old \
|
--disable-lua-old \
|
||||||
@ -56,7 +56,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y)
|
ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y)
|
||||||
EFL_CONF_OPTS += --enable-cxx-bindings \
|
EFL_CONF_OPTS += --enable-cxx-bindings \
|
||||||
--with-eolian-cxx=$(HOST_DIR)/usr/bin/eolian_cxx
|
--with-eolian-cxx=$(HOST_DIR)/bin/eolian_cxx
|
||||||
else
|
else
|
||||||
EFL_CONF_OPTS += --disable-cxx-bindings
|
EFL_CONF_OPTS += --disable-cxx-bindings
|
||||||
endif
|
endif
|
||||||
|
@ -14,9 +14,9 @@ define HOST_ELFTOSB_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_ELFTOSB_INSTALL_CMDS
|
define HOST_ELFTOSB_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/bld/linux/elftosb $(HOST_DIR)/usr/bin/elftosb
|
$(INSTALL) -D -m 0755 $(@D)/bld/linux/elftosb $(HOST_DIR)/bin/elftosb
|
||||||
$(INSTALL) -D -m 0755 $(@D)/bld/linux/keygen $(HOST_DIR)/usr/bin/keygen
|
$(INSTALL) -D -m 0755 $(@D)/bld/linux/keygen $(HOST_DIR)/bin/keygen
|
||||||
$(INSTALL) -D -m 0755 $(@D)/bld/linux/sbtool $(HOST_DIR)/usr/bin/sbtool
|
$(INSTALL) -D -m 0755 $(@D)/bld/linux/sbtool $(HOST_DIR)/bin/sbtool
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -17,9 +17,9 @@ ENLIGHTENMENT_DEPENDENCIES = \
|
|||||||
xcb-util-keysyms
|
xcb-util-keysyms
|
||||||
|
|
||||||
ENLIGHTENMENT_CONF_OPTS = \
|
ENLIGHTENMENT_CONF_OPTS = \
|
||||||
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
|
--with-edje-cc=$(HOST_DIR)/bin/edje_cc \
|
||||||
--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
|
--with-eet-eet=$(HOST_DIR)/bin/eet \
|
||||||
--with-eldbus_codegen=$(HOST_DIR)/usr/bin/eldbus-codegen \
|
--with-eldbus_codegen=$(HOST_DIR)/bin/eldbus-codegen \
|
||||||
--disable-pam \
|
--disable-pam \
|
||||||
--disable-rpath
|
--disable-rpath
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ define HOST_ERLANG_REBAR_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_ERLANG_REBAR_INSTALL_CMDS
|
define HOST_ERLANG_REBAR_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 -D $(@D)/rebar $(HOST_DIR)/usr/bin/rebar
|
$(INSTALL) -m 0755 -D $(@D)/rebar $(HOST_DIR)/bin/rebar
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
HOST_FAKEDATE_LICENSE = GPL-2.0+
|
HOST_FAKEDATE_LICENSE = GPL-2.0+
|
||||||
|
|
||||||
define HOST_FAKEDATE_INSTALL_CMDS
|
define HOST_FAKEDATE_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 755 package/fakedate/fakedate $(HOST_DIR)/usr/bin/date
|
$(INSTALL) -D -m 755 package/fakedate/fakedate $(HOST_DIR)/bin/date
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -33,7 +33,7 @@ define FLANNEL_CONFIGURE_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define FLANNEL_BUILD_CMDS
|
define FLANNEL_BUILD_CMDS
|
||||||
cd $(@D) && $(FLANNEL_MAKE_ENV) $(HOST_DIR)/usr/bin/go \
|
cd $(@D) && $(FLANNEL_MAKE_ENV) $(HOST_DIR)/bin/go \
|
||||||
build -v -o $(@D)/bin/flanneld -ldflags "$(FLANNEL_GLDFLAGS)" .
|
build -v -o $(@D)/bin/flanneld -ldflags "$(FLANNEL_GLDFLAGS)" .
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -333,7 +333,7 @@ endif # BR2_CCACHE
|
|||||||
# Avoid that a .br_real is symlinked a second time.
|
# Avoid that a .br_real is symlinked a second time.
|
||||||
# Also create <arch>-linux-<tool> symlinks.
|
# Also create <arch>-linux-<tool> symlinks.
|
||||||
define HOST_GCC_INSTALL_WRAPPER_AND_SIMPLE_SYMLINKS
|
define HOST_GCC_INSTALL_WRAPPER_AND_SIMPLE_SYMLINKS
|
||||||
$(Q)cd $(HOST_DIR)/usr/bin; \
|
$(Q)cd $(HOST_DIR)/bin; \
|
||||||
for i in $(GNU_TARGET_NAME)-*; do \
|
for i in $(GNU_TARGET_NAME)-*; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.br_real) \
|
*.br_real) \
|
||||||
|
@ -210,7 +210,7 @@ HOST_GDB_CONF_OPTS += --disable-tui
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HOST_GDB_PYTHON),y)
|
ifeq ($(BR2_PACKAGE_HOST_GDB_PYTHON),y)
|
||||||
HOST_GDB_CONF_OPTS += --with-python=$(HOST_DIR)/usr/bin/python2
|
HOST_GDB_CONF_OPTS += --with-python=$(HOST_DIR)/bin/python2
|
||||||
HOST_GDB_DEPENDENCIES += host-python
|
HOST_GDB_DEPENDENCIES += host-python
|
||||||
else
|
else
|
||||||
HOST_GDB_CONF_OPTS += --without-python
|
HOST_GDB_CONF_OPTS += --without-python
|
||||||
@ -232,7 +232,7 @@ endif
|
|||||||
|
|
||||||
# legacy $arch-linux-gdb symlink
|
# legacy $arch-linux-gdb symlink
|
||||||
define HOST_GDB_ADD_SYMLINK
|
define HOST_GDB_ADD_SYMLINK
|
||||||
cd $(HOST_DIR)/usr/bin && \
|
cd $(HOST_DIR)/bin && \
|
||||||
ln -snf $(GNU_TARGET_NAME)-gdb $(ARCH)-linux-gdb
|
ln -snf $(GNU_TARGET_NAME)-gdb $(ARCH)-linux-gdb
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ endif
|
|||||||
ifeq ($(BR2_STATIC_LIBS),)
|
ifeq ($(BR2_STATIC_LIBS),)
|
||||||
define GDK_PIXBUF_UPDATE_CACHE
|
define GDK_PIXBUF_UPDATE_CACHE
|
||||||
GDK_PIXBUF_MODULEDIR=$(HOST_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders \
|
GDK_PIXBUF_MODULEDIR=$(HOST_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders \
|
||||||
$(HOST_DIR)/usr/bin/gdk-pixbuf-query-loaders \
|
$(HOST_DIR)/bin/gdk-pixbuf-query-loaders \
|
||||||
> $(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
> $(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||||
$(SED) "s,$(HOST_DIR),,g" \
|
$(SED) "s,$(HOST_DIR),,g" \
|
||||||
$(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
$(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||||
|
@ -80,7 +80,7 @@ endif
|
|||||||
|
|
||||||
# Disable interactive confirmation in host gettextize for package fixups
|
# Disable interactive confirmation in host gettextize for package fixups
|
||||||
define HOST_GETTEXT_GETTEXTIZE_CONFIRMATION
|
define HOST_GETTEXT_GETTEXTIZE_CONFIRMATION
|
||||||
$(SED) '/read dummy/d' $(HOST_DIR)/usr/bin/gettextize
|
$(SED) '/read dummy/d' $(HOST_DIR)/bin/gettextize
|
||||||
endef
|
endef
|
||||||
HOST_GETTEXT_POST_INSTALL_HOOKS += HOST_GETTEXT_GETTEXTIZE_CONFIRMATION
|
HOST_GETTEXT_POST_INSTALL_HOOKS += HOST_GETTEXT_GETTEXTIZE_CONFIRMATION
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ endef
|
|||||||
|
|
||||||
HOST_GETTEXT_POST_INSTALL_HOOKS += HOST_GETTEXT_ADD_ABOUT_NLS
|
HOST_GETTEXT_POST_INSTALL_HOOKS += HOST_GETTEXT_ADD_ABOUT_NLS
|
||||||
|
|
||||||
GETTEXTIZE = $(HOST_CONFIGURE_OPTS) AUTOM4TE=$(HOST_DIR)/usr/bin/autom4te $(HOST_DIR)/usr/bin/gettextize -f
|
GETTEXTIZE = $(HOST_CONFIGURE_OPTS) AUTOM4TE=$(HOST_DIR)/bin/autom4te $(HOST_DIR)/bin/gettextize -f
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
@ -99,8 +99,8 @@ define HOST_GO_INSTALL_CMDS
|
|||||||
$(INSTALL) -D -m 0755 $(HOST_GO_TMP)/bin/go $(HOST_GO_ROOT)/bin/go
|
$(INSTALL) -D -m 0755 $(HOST_GO_TMP)/bin/go $(HOST_GO_ROOT)/bin/go
|
||||||
$(INSTALL) -D -m 0755 $(HOST_GO_TMP)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt
|
$(INSTALL) -D -m 0755 $(HOST_GO_TMP)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt
|
||||||
|
|
||||||
ln -sf ../lib/go/bin/go $(HOST_DIR)/usr/bin/
|
ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/
|
||||||
ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/usr/bin/
|
ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/
|
||||||
|
|
||||||
cp -a $(@D)/lib $(HOST_GO_ROOT)/
|
cp -a $(@D)/lib $(HOST_GO_ROOT)/
|
||||||
|
|
||||||
|
@ -12,4 +12,4 @@ HOST_GOB2_DEPENDENCIES = host-bison host-flex host-libglib2
|
|||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
# gob2 for the host
|
# gob2 for the host
|
||||||
GOB2_HOST_BINARY = $(HOST_DIR)/usr/bin/gob2
|
GOB2_HOST_BINARY = $(HOST_DIR)/bin/gob2
|
||||||
|
@ -84,7 +84,7 @@ endif
|
|||||||
|
|
||||||
define HOST_GTEST_INSTALL_CMDS
|
define HOST_GTEST_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/googlemock/scripts/generator/gmock_gen.py \
|
$(INSTALL) -D -m 0755 $(@D)/googlemock/scripts/generator/gmock_gen.py \
|
||||||
$(HOST_DIR)/usr/bin/gmock_gen
|
$(HOST_DIR)/bin/gmock_gen
|
||||||
cp -rp $(@D)/googlemock/scripts/generator/cpp \
|
cp -rp $(@D)/googlemock/scripts/generator/cpp \
|
||||||
$(HOST_GTEST_GMOCK_PYTHONPATH)
|
$(HOST_GTEST_GMOCK_PYTHONPATH)
|
||||||
endef
|
endef
|
||||||
|
@ -47,7 +47,7 @@ else
|
|||||||
GUILE_CONF_OPTS += --without-libreadline-prefix
|
GUILE_CONF_OPTS += --without-libreadline-prefix
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GUILE_CONF_ENV += GUILE_FOR_BUILD=$(HOST_DIR)/usr/bin/guile \
|
GUILE_CONF_ENV += GUILE_FOR_BUILD=$(HOST_DIR)/bin/guile \
|
||||||
CFLAGS="$(TARGET_CFLAGS) $(GUILE_CFLAGS)"
|
CFLAGS="$(TARGET_CFLAGS) $(GUILE_CFLAGS)"
|
||||||
|
|
||||||
GUILE_CONF_OPTS += \
|
GUILE_CONF_OPTS += \
|
||||||
|
@ -128,7 +128,7 @@ define GVFS_REMOVE_TARGET_SCHEMAS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define GVFS_COMPILE_SCHEMAS
|
define GVFS_COMPILE_SCHEMAS
|
||||||
$(HOST_DIR)/usr/bin/glib-compile-schemas --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas $(STAGING_DIR)/usr/share/glib-2.0/schemas
|
$(HOST_DIR)/bin/glib-compile-schemas --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas $(STAGING_DIR)/usr/share/glib-2.0/schemas
|
||||||
endef
|
endef
|
||||||
|
|
||||||
GVFS_POST_INSTALL_TARGET_HOOKS += \
|
GVFS_POST_INSTALL_TARGET_HOOKS += \
|
||||||
|
@ -31,8 +31,8 @@ HEIMDAL_LICENSE_FILES = LICENSE
|
|||||||
# We need asn1_compile in the PATH for samba4
|
# We need asn1_compile in the PATH for samba4
|
||||||
define HOST_HEIMDAL_MAKE_SYMLINK
|
define HOST_HEIMDAL_MAKE_SYMLINK
|
||||||
ln -sf $(HOST_DIR)/usr/libexec/heimdal/asn1_compile \
|
ln -sf $(HOST_DIR)/usr/libexec/heimdal/asn1_compile \
|
||||||
$(HOST_DIR)/usr/bin/asn1_compile
|
$(HOST_DIR)/bin/asn1_compile
|
||||||
ln -sf $(HOST_DIR)/usr/bin/compile_et \
|
ln -sf $(HOST_DIR)/bin/compile_et \
|
||||||
$(HOST_DIR)/usr/libexec/heimdal/compile_et
|
$(HOST_DIR)/usr/libexec/heimdal/compile_et
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -32,14 +32,14 @@ I2C_TOOLS_PYTHON_BASE_ENV = \
|
|||||||
define I2C_TOOLS_BUILD_PYSMBUS
|
define I2C_TOOLS_BUILD_PYSMBUS
|
||||||
(cd $(@D)/py-smbus; \
|
(cd $(@D)/py-smbus; \
|
||||||
$(I2C_TOOLS_PYTHON_BASE_ENV) \
|
$(I2C_TOOLS_PYTHON_BASE_ENV) \
|
||||||
$(HOST_DIR)/usr/bin/python setup.py build \
|
$(HOST_DIR)/bin/python setup.py build \
|
||||||
$(PKG_PYTHON_DISTUTILS_BUILD_OPTS))
|
$(PKG_PYTHON_DISTUTILS_BUILD_OPTS))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define I2C_TOOLS_INSTALL_PYSMBUS
|
define I2C_TOOLS_INSTALL_PYSMBUS
|
||||||
(cd $(@D)/py-smbus; \
|
(cd $(@D)/py-smbus; \
|
||||||
$(I2C_TOOLS_PYTHON_BASE_ENV) \
|
$(I2C_TOOLS_PYTHON_BASE_ENV) \
|
||||||
$(HOST_DIR)/usr/bin/python setup.py install \
|
$(HOST_DIR)/bin/python setup.py install \
|
||||||
$(PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS))
|
$(PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ IW_DEPENDENCIES = host-pkgconf libnl
|
|||||||
IW_MAKE_OPTS = CC="$(TARGET_CC)" LD="$(TARGET_LD)" LDFLAGS="$(TARGET_LDFLAGS)"
|
IW_MAKE_OPTS = CC="$(TARGET_CC)" LD="$(TARGET_LD)" LDFLAGS="$(TARGET_LDFLAGS)"
|
||||||
IW_MAKE_ENV = \
|
IW_MAKE_ENV = \
|
||||||
$(TARGET_MAKE_ENV) \
|
$(TARGET_MAKE_ENV) \
|
||||||
PKG_CONFIG="$(HOST_DIR)/usr/bin/pkg-config" \
|
PKG_CONFIG="$(HOST_DIR)/bin/pkg-config" \
|
||||||
GIT_DIR=$(IW_DIR)
|
GIT_DIR=$(IW_DIR)
|
||||||
|
|
||||||
define IW_BUILD_CMDS
|
define IW_BUILD_CMDS
|
||||||
|
@ -22,7 +22,7 @@ define HOST_JSMIN_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_JSMIN_INSTALL_CMDS
|
define HOST_JSMIN_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 -D $(@D)/jsmin $(HOST_DIR)/usr/bin/jsmin
|
$(INSTALL) -m 0755 -D $(@D)/jsmin $(HOST_DIR)/bin/jsmin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -19,7 +19,7 @@ HOST_KODI_JSONSCHEMABUILDER_CONF_OPTS = \
|
|||||||
define HOST_KODI_JSONSCHEMABUILDER_INSTALL_CMDS
|
define HOST_KODI_JSONSCHEMABUILDER_INSTALL_CMDS
|
||||||
$(INSTALL) -m 755 -D \
|
$(INSTALL) -m 755 -D \
|
||||||
$(@D)/tools/depends/native/JsonSchemaBuilder/JsonSchemaBuilder \
|
$(@D)/tools/depends/native/JsonSchemaBuilder/JsonSchemaBuilder \
|
||||||
$(HOST_DIR)/usr/bin/JsonSchemaBuilder
|
$(HOST_DIR)/bin/JsonSchemaBuilder
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-cmake-package))
|
$(eval $(host-cmake-package))
|
||||||
|
@ -11,7 +11,7 @@ KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt
|
|||||||
KODI_SKIN_CONFLUENCE_DEPENDENCIES = kodi
|
KODI_SKIN_CONFLUENCE_DEPENDENCIES = kodi
|
||||||
|
|
||||||
define KODI_SKIN_CONFLUENCE_BUILD_CMDS
|
define KODI_SKIN_CONFLUENCE_BUILD_CMDS
|
||||||
$(HOST_DIR)/usr/bin/TexturePacker -input $(@D)/media/ -output $(@D)/media/Textures.xbt -dupecheck -use_none
|
$(HOST_DIR)/bin/TexturePacker -input $(@D)/media/ -output $(@D)/media/Textures.xbt -dupecheck -use_none
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KODI_SKIN_CONFLUENCE_INSTALL_TARGET_CMDS
|
define KODI_SKIN_CONFLUENCE_INSTALL_TARGET_CMDS
|
||||||
|
@ -35,7 +35,7 @@ HOST_KODI_TEXTUREPACKER_CONF_OPTS += \
|
|||||||
define HOST_KODI_TEXTUREPACKER_INSTALL_CMDS
|
define HOST_KODI_TEXTUREPACKER_INSTALL_CMDS
|
||||||
$(INSTALL) -m 755 -D \
|
$(INSTALL) -m 755 -D \
|
||||||
$(@D)/tools/depends/native/TexturePacker/TexturePacker \
|
$(@D)/tools/depends/native/TexturePacker/TexturePacker \
|
||||||
$(HOST_DIR)/usr/bin/TexturePacker
|
$(HOST_DIR)/bin/TexturePacker
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-cmake-package))
|
$(eval $(host-cmake-package))
|
||||||
|
@ -65,7 +65,7 @@ KODI_CONF_OPTS += \
|
|||||||
-DENABLE_OPENSSL=ON \
|
-DENABLE_OPENSSL=ON \
|
||||||
-DNATIVEPREFIX=$(HOST_DIR) \
|
-DNATIVEPREFIX=$(HOST_DIR) \
|
||||||
-DDEPENDS_PATH=$(@D) \
|
-DDEPENDS_PATH=$(@D) \
|
||||||
-DWITH_TEXTUREPACKER=$(HOST_DIR)/usr/bin/TexturePacker \
|
-DWITH_TEXTUREPACKER=$(HOST_DIR)/bin/TexturePacker \
|
||||||
-DLIBDVDCSS_URL=$(DL_DIR)/$(KODI_LIBDVDCSS_VERSION).tar.gz \
|
-DLIBDVDCSS_URL=$(DL_DIR)/$(KODI_LIBDVDCSS_VERSION).tar.gz \
|
||||||
-DLIBDVDNAV_URL=$(DL_DIR)/$(KODI_LIBDVDNAV_VERSION).tar.gz \
|
-DLIBDVDNAV_URL=$(DL_DIR)/$(KODI_LIBDVDNAV_VERSION).tar.gz \
|
||||||
-DLIBDVDREAD_URL=$(DL_DIR)/$(KODI_LIBDVDREAD_VERSION).tar.gz
|
-DLIBDVDREAD_URL=$(DL_DIR)/$(KODI_LIBDVDREAD_VERSION).tar.gz
|
||||||
@ -349,7 +349,7 @@ endif
|
|||||||
KODI_ADDON_MANIFEST = $(TARGET_DIR)/usr/share/kodi/system/addon-manifest.xml
|
KODI_ADDON_MANIFEST = $(TARGET_DIR)/usr/share/kodi/system/addon-manifest.xml
|
||||||
define KODI_CLEAN_UNUSED_ADDONS
|
define KODI_CLEAN_UNUSED_ADDONS
|
||||||
rm -Rf $(TARGET_DIR)/usr/share/kodi/addons/service.xbmc.versioncheck
|
rm -Rf $(TARGET_DIR)/usr/share/kodi/addons/service.xbmc.versioncheck
|
||||||
$(HOST_DIR)/usr/bin/xml ed -L \
|
$(HOST_DIR)/bin/xml ed -L \
|
||||||
-d "/addons/addon[text()='service.xbmc.versioncheck']" \
|
-d "/addons/addon[text()='service.xbmc.versioncheck']" \
|
||||||
$(KODI_ADDON_MANIFEST)
|
$(KODI_ADDON_MANIFEST)
|
||||||
endef
|
endef
|
||||||
|
@ -65,7 +65,7 @@ LIBGLIB2_CONF_ENV = \
|
|||||||
jm_cv_func_working_re_compile_pattern=yes \
|
jm_cv_func_working_re_compile_pattern=yes \
|
||||||
ac_use_included_regex=no \
|
ac_use_included_regex=no \
|
||||||
gl_cv_c_restrict=no \
|
gl_cv_c_restrict=no \
|
||||||
ac_cv_path_GLIB_GENMARSHAL=$(HOST_DIR)/usr/bin/glib-genmarshal \
|
ac_cv_path_GLIB_GENMARSHAL=$(HOST_DIR)/bin/glib-genmarshal \
|
||||||
ac_cv_prog_F77=no \
|
ac_cv_prog_F77=no \
|
||||||
ac_cv_func_posix_getgrgid_r=no \
|
ac_cv_func_posix_getgrgid_r=no \
|
||||||
glib_cv_long_long_format=ll \
|
glib_cv_long_long_format=ll \
|
||||||
@ -161,7 +161,7 @@ endef
|
|||||||
# them as well, and better do it in a central place.
|
# them as well, and better do it in a central place.
|
||||||
# It's used at run time so it doesn't matter defering it.
|
# It's used at run time so it doesn't matter defering it.
|
||||||
define LIBGLIB2_COMPILE_SCHEMAS
|
define LIBGLIB2_COMPILE_SCHEMAS
|
||||||
$(HOST_DIR)/usr/bin/glib-compile-schemas \
|
$(HOST_DIR)/bin/glib-compile-schemas \
|
||||||
$(STAGING_DIR)/usr/share/glib-2.0/schemas \
|
$(STAGING_DIR)/usr/share/glib-2.0/schemas \
|
||||||
--targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas
|
--targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas
|
||||||
endef
|
endef
|
||||||
@ -172,4 +172,4 @@ LIBGLIB2_TARGET_FINALIZE_HOOKS += LIBGLIB2_COMPILE_SCHEMAS
|
|||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
LIBGLIB2_HOST_BINARY = $(HOST_DIR)/usr/bin/glib-genmarshal
|
LIBGLIB2_HOST_BINARY = $(HOST_DIR)/bin/glib-genmarshal
|
||||||
|
@ -15,8 +15,8 @@ LIBGTK2_LICENSE_FILES = COPYING
|
|||||||
LIBGTK2_AUTORECONF = YES
|
LIBGTK2_AUTORECONF = YES
|
||||||
|
|
||||||
LIBGTK2_CONF_ENV = \
|
LIBGTK2_CONF_ENV = \
|
||||||
ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \
|
ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/bin/gtk-update-icon-cache \
|
||||||
ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \
|
ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/bin/gdk-pixbuf-csource \
|
||||||
DB2HTML=false
|
DB2HTML=false
|
||||||
|
|
||||||
LIBGTK2_CONF_OPTS = --disable-glibtest --enable-explicit-deps=no
|
LIBGTK2_CONF_OPTS = --disable-glibtest --enable-explicit-deps=no
|
||||||
@ -120,7 +120,7 @@ define HOST_LIBGTK2_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_LIBGTK2_INSTALL_CMDS
|
define HOST_LIBGTK2_INSTALL_CMDS
|
||||||
cp $(@D)/gtk/gtk-update-icon-cache $(HOST_DIR)/usr/bin
|
cp $(@D)/gtk/gtk-update-icon-cache $(HOST_DIR)/bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
@ -14,9 +14,9 @@ LIBGTK3_INSTALL_STAGING = YES
|
|||||||
LIBGTK3_AUTORECONF = YES
|
LIBGTK3_AUTORECONF = YES
|
||||||
|
|
||||||
LIBGTK3_CONF_ENV = \
|
LIBGTK3_CONF_ENV = \
|
||||||
ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \
|
ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/bin/gtk-update-icon-cache \
|
||||||
ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \
|
ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/bin/gdk-pixbuf-csource \
|
||||||
PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/usr/bin/pkgconf
|
PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/bin/pkgconf
|
||||||
|
|
||||||
LIBGTK3_CONF_OPTS = \
|
LIBGTK3_CONF_OPTS = \
|
||||||
--disable-glibtest \
|
--disable-glibtest \
|
||||||
@ -123,7 +123,7 @@ LIBGTK3_CONF_OPTS += --disable-installed-tests
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define LIBGTK3_COMPILE_GLIB_SCHEMAS
|
define LIBGTK3_COMPILE_GLIB_SCHEMAS
|
||||||
$(HOST_DIR)/usr/bin/glib-compile-schemas \
|
$(HOST_DIR)/bin/glib-compile-schemas \
|
||||||
$(TARGET_DIR)/usr/share/glib-2.0/schemas
|
$(TARGET_DIR)/usr/share/glib-2.0/schemas
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -151,8 +151,8 @@ HOST_LIBGTK3_DEPENDENCIES = \
|
|||||||
host-librsvg
|
host-librsvg
|
||||||
|
|
||||||
HOST_LIBGTK3_CFLAGS = \
|
HOST_LIBGTK3_CFLAGS = \
|
||||||
`$(HOST_DIR)/usr/bin/pkgconf --cflags --libs gdk-pixbuf-2.0` \
|
`$(HOST_DIR)/bin/pkgconf --cflags --libs gdk-pixbuf-2.0` \
|
||||||
`$(HOST_DIR)/usr/bin/pkgconf --cflags --libs gio-2.0`
|
`$(HOST_DIR)/bin/pkgconf --cflags --libs gio-2.0`
|
||||||
|
|
||||||
define HOST_LIBGTK3_CONFIGURE_CMDS
|
define HOST_LIBGTK3_CONFIGURE_CMDS
|
||||||
echo "#define GETTEXT_PACKAGE \"gtk30\"" >> $(@D)/gtk/config.h
|
echo "#define GETTEXT_PACKAGE \"gtk30\"" >> $(@D)/gtk/config.h
|
||||||
@ -173,16 +173,16 @@ endef
|
|||||||
|
|
||||||
define HOST_LIBGTK3_INSTALL_CMDS
|
define HOST_LIBGTK3_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/gtk/gtk-update-icon-cache \
|
$(INSTALL) -D -m 0755 $(@D)/gtk/gtk-update-icon-cache \
|
||||||
$(HOST_DIR)/usr/bin/gtk-update-icon-cache
|
$(HOST_DIR)/bin/gtk-update-icon-cache
|
||||||
$(INSTALL) -D -m 0755 $(@D)/gtk/gtk-encode-symbolic-svg \
|
$(INSTALL) -D -m 0755 $(@D)/gtk/gtk-encode-symbolic-svg \
|
||||||
$(HOST_DIR)/usr/bin/gtk-encode-symbolic-svg
|
$(HOST_DIR)/bin/gtk-encode-symbolic-svg
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Create icon-theme.cache for each of the icon directories/themes
|
# Create icon-theme.cache for each of the icon directories/themes
|
||||||
# It's not strictly necessary but speeds up lookups
|
# It's not strictly necessary but speeds up lookups
|
||||||
define LIBGTK3_UPDATE_ICON_CACHE
|
define LIBGTK3_UPDATE_ICON_CACHE
|
||||||
find $(TARGET_DIR)/usr/share/icons -maxdepth 1 -mindepth 1 -type d \
|
find $(TARGET_DIR)/usr/share/icons -maxdepth 1 -mindepth 1 -type d \
|
||||||
-exec $(HOST_DIR)/usr/bin/gtk-update-icon-cache {} \;
|
-exec $(HOST_DIR)/bin/gtk-update-icon-cache {} \;
|
||||||
endef
|
endef
|
||||||
LIBGTK3_TARGET_FINALIZE_HOOKS += LIBGTK3_UPDATE_ICON_CACHE
|
LIBGTK3_TARGET_FINALIZE_HOOKS += LIBGTK3_UPDATE_ICON_CACHE
|
||||||
|
|
||||||
|
@ -69,11 +69,11 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP),y)
|
ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP),y)
|
||||||
define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET
|
define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET
|
||||||
rm $(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll.mdb
|
rm $(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll.mdb
|
||||||
$(HOST_DIR)/usr/bin/gacutil -root $(TARGET_DIR)/usr/lib -i \
|
$(HOST_DIR)/bin/gacutil -root $(TARGET_DIR)/usr/lib -i \
|
||||||
$(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll
|
$(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll
|
||||||
endef
|
endef
|
||||||
define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_STAGING
|
define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_STAGING
|
||||||
$(HOST_DIR)/usr/bin/gacutil -root $(STAGING_DIR)/usr/lib -i \
|
$(HOST_DIR)/bin/gacutil -root $(STAGING_DIR)/usr/lib -i \
|
||||||
$(STAGING_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll
|
$(STAGING_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll
|
||||||
endef
|
endef
|
||||||
LIBIIO_POST_INSTALL_TARGET_HOOKS += LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET
|
LIBIIO_POST_INSTALL_TARGET_HOOKS += LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET
|
||||||
|
@ -41,5 +41,5 @@ $(eval $(autotools-package))
|
|||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
# variables used by other packages
|
# variables used by other packages
|
||||||
LIBTOOL = $(HOST_DIR)/usr/bin/libtool
|
LIBTOOL = $(HOST_DIR)/bin/libtool
|
||||||
LIBTOOLIZE = $(HOST_DIR)/usr/bin/libtoolize
|
LIBTOOLIZE = $(HOST_DIR)/bin/libtoolize
|
||||||
|
@ -67,9 +67,9 @@ LIBV4L_CONF_OPTS += --enable-qv4l2
|
|||||||
LIBV4L_DEPENDENCIES += qt5base
|
LIBV4L_DEPENDENCIES += qt5base
|
||||||
# protect against host version detection of moc-qt5/rcc-qt5/uic-qt5
|
# protect against host version detection of moc-qt5/rcc-qt5/uic-qt5
|
||||||
LIBV4L_CONF_ENV += \
|
LIBV4L_CONF_ENV += \
|
||||||
ac_cv_prog_MOC=$(HOST_DIR)/usr/bin/moc \
|
ac_cv_prog_MOC=$(HOST_DIR)/bin/moc \
|
||||||
ac_cv_prog_RCC=$(HOST_DIR)/usr/bin/rcc \
|
ac_cv_prog_RCC=$(HOST_DIR)/bin/rcc \
|
||||||
ac_cv_prog_UIC=$(HOST_DIR)/usr/bin/uic
|
ac_cv_prog_UIC=$(HOST_DIR)/bin/uic
|
||||||
# qt5 needs c++11 (since qt-5.7)
|
# qt5 needs c++11 (since qt-5.7)
|
||||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||||
LIBV4L_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
LIBV4L_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
||||||
|
@ -49,4 +49,4 @@ $(eval $(autotools-package))
|
|||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
# libxml2 for the host
|
# libxml2 for the host
|
||||||
LIBXML2_HOST_BINARY = $(HOST_DIR)/usr/bin/xmllint
|
LIBXML2_HOST_BINARY = $(HOST_DIR)/bin/xmllint
|
||||||
|
@ -16,7 +16,7 @@ LIBXMLRPC_MAKE = $(MAKE1)
|
|||||||
|
|
||||||
# Using autoconf, not automake, so we cannot use AUTORECONF = YES.
|
# Using autoconf, not automake, so we cannot use AUTORECONF = YES.
|
||||||
define LIBXMLRPC_RUN_AUTOCONF
|
define LIBXMLRPC_RUN_AUTOCONF
|
||||||
cd $(@D); $(HOST_DIR)/usr/bin/autoconf
|
cd $(@D); $(HOST_DIR)/bin/autoconf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LIBXMLRPC_PRE_CONFIGURE_HOOKS += LIBXMLRPC_RUN_AUTOCONF
|
LIBXMLRPC_PRE_CONFIGURE_HOOKS += LIBXMLRPC_RUN_AUTOCONF
|
||||||
|
@ -16,7 +16,7 @@ HOST_LOCALEDEF_CONF_ENV = CFLAGS="$(HOST_CFLAGS) -fgnu89-inline"
|
|||||||
|
|
||||||
# The makefile does not implement an install target
|
# The makefile does not implement an install target
|
||||||
define HOST_LOCALEDEF_INSTALL_CMDS
|
define HOST_LOCALEDEF_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/localedef $(HOST_DIR)/usr/bin/localedef
|
$(INSTALL) -D -m 0755 $(@D)/localedef $(HOST_DIR)/bin/localedef
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
@ -11,7 +11,7 @@ LPC3250LOADER_LICENSE_FILES = LPC3250loader.py
|
|||||||
|
|
||||||
define HOST_LPC3250LOADER_INSTALL_CMDS
|
define HOST_LPC3250LOADER_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 -D $(@D)/LPC3250loader.py \
|
$(INSTALL) -m 0755 -D $(@D)/LPC3250loader.py \
|
||||||
$(HOST_DIR)/usr/bin/LPC3250loader.py
|
$(HOST_DIR)/bin/LPC3250loader.py
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -20,4 +20,4 @@ endif
|
|||||||
$(eval $(virtual-package))
|
$(eval $(virtual-package))
|
||||||
$(eval $(host-virtual-package))
|
$(eval $(host-virtual-package))
|
||||||
|
|
||||||
LUA_RUN = $(HOST_DIR)/usr/bin/$(call qstrip,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER))
|
LUA_RUN = $(HOST_DIR)/bin/$(call qstrip,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER))
|
||||||
|
@ -54,7 +54,7 @@ endef
|
|||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
|
||||||
LUAROCKS_RUN_ENV = LUA_PATH="$(HOST_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)/?.lua"
|
LUAROCKS_RUN_ENV = LUA_PATH="$(HOST_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)/?.lua"
|
||||||
LUAROCKS_RUN_CMD = $(LUA_RUN) $(HOST_DIR)/usr/bin/luarocks
|
LUAROCKS_RUN_CMD = $(LUA_RUN) $(HOST_DIR)/bin/luarocks
|
||||||
|
|
||||||
define LUAROCKS_FINALIZE_TARGET
|
define LUAROCKS_FINALIZE_TARGET
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/luarocks
|
rm -rf $(TARGET_DIR)/usr/lib/luarocks
|
||||||
|
@ -10,4 +10,4 @@ LZMA_SITE = http://tukaani.org/lzma
|
|||||||
|
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
LZMA = $(HOST_DIR)/usr/bin/lzma
|
LZMA = $(HOST_DIR)/bin/lzma
|
||||||
|
@ -14,4 +14,4 @@ HOST_LZOP_DEPENDENCIES = host-lzo
|
|||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
LZOP = $(HOST_DIR)/usr/bin/lzop
|
LZOP = $(HOST_DIR)/bin/lzop
|
||||||
|
@ -21,7 +21,7 @@ define HOST_MAKEDEVS_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_MAKEDEVS_INSTALL_CMDS
|
define HOST_MAKEDEVS_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs
|
$(INSTALL) -D -m 755 $(@D)/makedevs $(HOST_DIR)/bin/makedevs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -28,7 +28,7 @@ define HOST_MFGTOOLS_INSTALL_CMDS
|
|||||||
$(INSTALL) -D -m 755 $(@D)/MfgToolLib/libMfgToolLib.so \
|
$(INSTALL) -D -m 755 $(@D)/MfgToolLib/libMfgToolLib.so \
|
||||||
$(HOST_DIR)/usr/lib/libMfgToolLib.so
|
$(HOST_DIR)/usr/lib/libMfgToolLib.so
|
||||||
$(INSTALL) -D -m 755 $(@D)/TestPrgm/mfgtoolcli \
|
$(INSTALL) -D -m 755 $(@D)/TestPrgm/mfgtoolcli \
|
||||||
$(HOST_DIR)/usr/bin/mfgtoolcli
|
$(HOST_DIR)/bin/mfgtoolcli
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-cmake-package))
|
$(eval $(host-cmake-package))
|
||||||
|
@ -16,9 +16,9 @@ define HOST_MKPASSWD_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_MKPASSWD_INSTALL_CMDS
|
define HOST_MKPASSWD_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 755 $(@D)/mkpasswd $(HOST_DIR)/usr/bin/mkpasswd
|
$(INSTALL) -D -m 755 $(@D)/mkpasswd $(HOST_DIR)/bin/mkpasswd
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
|
||||||
MKPASSWD = $(HOST_DIR)/usr/bin/mkpasswd
|
MKPASSWD = $(HOST_DIR)/bin/mkpasswd
|
||||||
|
@ -15,7 +15,7 @@ define HOST_MKPIMAGE_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_MKPIMAGE_INSTALL_CMDS
|
define HOST_MKPIMAGE_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/mkpimage $(HOST_DIR)/usr/bin/mkpimage
|
$(INSTALL) -D -m 0755 $(@D)/mkpimage $(HOST_DIR)/bin/mkpimage
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -20,7 +20,7 @@ MOARVM_CONF_OPTS = \
|
|||||||
--ld="$(TARGET_CC)" \
|
--ld="$(TARGET_CC)" \
|
||||||
--prefix="/usr" \
|
--prefix="/usr" \
|
||||||
--pkgconfig=$(PKG_CONFIG_HOST_BINARY) \
|
--pkgconfig=$(PKG_CONFIG_HOST_BINARY) \
|
||||||
--lua=$(HOST_DIR)/usr/bin/luajit \
|
--lua=$(HOST_DIR)/bin/luajit \
|
||||||
--has-libuv \
|
--has-libuv \
|
||||||
--has-libtommath \
|
--has-libtommath \
|
||||||
--has-libatomic
|
--has-libatomic
|
||||||
|
@ -12,6 +12,6 @@ MONO_GTKSHARP3_LICENSE = LGPL-2.0, MIT (cairo)
|
|||||||
MONO_GTKSHARP3_LICENSE_FILES = COPYING
|
MONO_GTKSHARP3_LICENSE_FILES = COPYING
|
||||||
MONO_GTKSHARP3_INSTALL_STAGING = YES
|
MONO_GTKSHARP3_INSTALL_STAGING = YES
|
||||||
MONO_GTKSHARP3_DEPENDENCIES = mono libgtk3
|
MONO_GTKSHARP3_DEPENDENCIES = mono libgtk3
|
||||||
MONO_GTKSHARP3_CONF_OPTS += CSC=$(HOST_DIR)/usr/bin/mcs
|
MONO_GTKSHARP3_CONF_OPTS += CSC=$(HOST_DIR)/bin/mcs
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
@ -301,7 +301,7 @@ endif
|
|||||||
ifeq ($(BR2_X86_CPU_HAS_MMX),y)
|
ifeq ($(BR2_X86_CPU_HAS_MMX),y)
|
||||||
MPLAYER_CONF_OPTS += \
|
MPLAYER_CONF_OPTS += \
|
||||||
--enable-mmx \
|
--enable-mmx \
|
||||||
--yasm=$(HOST_DIR)/usr/bin/yasm
|
--yasm=$(HOST_DIR)/bin/yasm
|
||||||
MPLAYER_DEPENDENCIES += host-yasm
|
MPLAYER_DEPENDENCIES += host-yasm
|
||||||
else
|
else
|
||||||
MPLAYER_CONF_OPTS += \
|
MPLAYER_CONF_OPTS += \
|
||||||
|
@ -15,7 +15,7 @@ define HOST_MXSLDR_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_MXSLDR_INSTALL_CMDS
|
define HOST_MXSLDR_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 -D $(@D)/mxsldr $(HOST_DIR)/usr/bin/mxsldr
|
$(INSTALL) -m 0755 -D $(@D)/mxsldr $(HOST_DIR)/bin/mxsldr
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -21,7 +21,7 @@ NCFTP_CONF_OPTS = --disable-ccdv
|
|||||||
# We need to pass -I because of the non-standard m4 directory name, and
|
# We need to pass -I because of the non-standard m4 directory name, and
|
||||||
# none of the other autotools are used, so the below is the easiest.
|
# none of the other autotools are used, so the below is the easiest.
|
||||||
define NCFTP_RUN_AUTOCONF
|
define NCFTP_RUN_AUTOCONF
|
||||||
(cd $(@D); $(HOST_DIR)/usr/bin/autoconf -I$(@D)/autoconf_local/)
|
(cd $(@D); $(HOST_DIR)/bin/autoconf -I$(@D)/autoconf_local/)
|
||||||
endef
|
endef
|
||||||
NCFTP_PRE_CONFIGURE_HOOKS += NCFTP_RUN_AUTOCONF
|
NCFTP_PRE_CONFIGURE_HOOKS += NCFTP_RUN_AUTOCONF
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ define HOST_NINJA_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_NINJA_INSTALL_CMDS
|
define HOST_NINJA_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/usr/bin/ninja
|
$(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/bin/ninja
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
@ -44,7 +44,7 @@ define HOST_NODEJS_CONFIGURE_CMDS
|
|||||||
# The build system directly calls python. Work around this by forcing python2
|
# The build system directly calls python. Work around this by forcing python2
|
||||||
# into PATH. See https://github.com/nodejs/node/issues/2735
|
# into PATH. See https://github.com/nodejs/node/issues/2735
|
||||||
mkdir -p $(@D)/bin
|
mkdir -p $(@D)/bin
|
||||||
ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/bin/python
|
ln -sf $(HOST_DIR)/bin/python2 $(@D)/bin/python
|
||||||
|
|
||||||
# Build with the static, built-in OpenSSL which is supplied as part of
|
# Build with the static, built-in OpenSSL which is supplied as part of
|
||||||
# the nodejs source distribution. This is needed on the host because
|
# the nodejs source distribution. This is needed on the host because
|
||||||
@ -53,8 +53,8 @@ define HOST_NODEJS_CONFIGURE_CMDS
|
|||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
$(HOST_CONFIGURE_OPTS) \
|
$(HOST_CONFIGURE_OPTS) \
|
||||||
PATH=$(@D)/bin:$(BR_PATH) \
|
PATH=$(@D)/bin:$(BR_PATH) \
|
||||||
PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
$(HOST_DIR)/usr/bin/python2 ./configure \
|
$(HOST_DIR)/bin/python2 ./configure \
|
||||||
--prefix=$(HOST_DIR) \
|
--prefix=$(HOST_DIR) \
|
||||||
--without-snapshot \
|
--without-snapshot \
|
||||||
--without-dtrace \
|
--without-dtrace \
|
||||||
@ -65,7 +65,7 @@ define HOST_NODEJS_CONFIGURE_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_NODEJS_BUILD_CMDS
|
define HOST_NODEJS_BUILD_CMDS
|
||||||
$(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
$(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
$(MAKE) -C $(@D) \
|
$(MAKE) -C $(@D) \
|
||||||
$(HOST_CONFIGURE_OPTS) \
|
$(HOST_CONFIGURE_OPTS) \
|
||||||
NO_LOAD=cctest.target.mk \
|
NO_LOAD=cctest.target.mk \
|
||||||
@ -73,13 +73,13 @@ define HOST_NODEJS_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_NODEJS_INSTALL_CMDS
|
define HOST_NODEJS_INSTALL_CMDS
|
||||||
$(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
$(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
$(MAKE) -C $(@D) install \
|
$(MAKE) -C $(@D) install \
|
||||||
$(HOST_CONFIGURE_OPTS) \
|
$(HOST_CONFIGURE_OPTS) \
|
||||||
NO_LOAD=cctest.target.mk \
|
NO_LOAD=cctest.target.mk \
|
||||||
PATH=$(@D)/bin:$(BR_PATH)
|
PATH=$(@D)/bin:$(BR_PATH)
|
||||||
|
|
||||||
$(INSTALL) -m755 -D $(@D)/out/Release/mkpeephole $(HOST_DIR)/usr/bin/mkpeephole
|
$(INSTALL) -m755 -D $(@D)/out/Release/mkpeephole $(HOST_DIR)/bin/mkpeephole
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_i386),y)
|
ifeq ($(BR2_i386),y)
|
||||||
@ -112,14 +112,14 @@ endif
|
|||||||
|
|
||||||
define NODEJS_CONFIGURE_CMDS
|
define NODEJS_CONFIGURE_CMDS
|
||||||
mkdir -p $(@D)/bin
|
mkdir -p $(@D)/bin
|
||||||
ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/bin/python
|
ln -sf $(HOST_DIR)/bin/python2 $(@D)/bin/python
|
||||||
|
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
PATH=$(@D)/bin:$(BR_PATH) \
|
PATH=$(@D)/bin:$(BR_PATH) \
|
||||||
LD="$(TARGET_CXX)" \
|
LD="$(TARGET_CXX)" \
|
||||||
PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
$(HOST_DIR)/usr/bin/python2 ./configure \
|
$(HOST_DIR)/bin/python2 ./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--dest-cpu=$(NODEJS_CPU) \
|
--dest-cpu=$(NODEJS_CPU) \
|
||||||
$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
|
$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
|
||||||
@ -129,11 +129,11 @@ define NODEJS_CONFIGURE_CMDS
|
|||||||
)
|
)
|
||||||
|
|
||||||
# use host version of mkpeephole
|
# use host version of mkpeephole
|
||||||
sed "s#<(mkpeephole_exec)#$(HOST_DIR)/usr/bin/mkpeephole#g" -i $(@D)/deps/v8/src/v8.gyp
|
sed "s#<(mkpeephole_exec)#$(HOST_DIR)/bin/mkpeephole#g" -i $(@D)/deps/v8/src/v8.gyp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define NODEJS_BUILD_CMDS
|
define NODEJS_BUILD_CMDS
|
||||||
$(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
$(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
$(MAKE) -C $(@D) \
|
$(MAKE) -C $(@D) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
NO_LOAD=cctest.target.mk \
|
NO_LOAD=cctest.target.mk \
|
||||||
@ -155,7 +155,7 @@ NPM = $(TARGET_CONFIGURE_OPTS) \
|
|||||||
npm_config_build_from_source=true \
|
npm_config_build_from_source=true \
|
||||||
npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \
|
npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \
|
||||||
npm_config_prefix=$(TARGET_DIR)/usr \
|
npm_config_prefix=$(TARGET_DIR)/usr \
|
||||||
$(HOST_DIR)/usr/bin/npm
|
$(HOST_DIR)/bin/npm
|
||||||
|
|
||||||
#
|
#
|
||||||
# We can only call NPM if there's something to install.
|
# We can only call NPM if there's something to install.
|
||||||
@ -170,7 +170,7 @@ endef
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define NODEJS_INSTALL_TARGET_CMDS
|
define NODEJS_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
$(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \
|
||||||
$(MAKE) -C $(@D) install \
|
$(MAKE) -C $(@D) install \
|
||||||
DESTDIR=$(TARGET_DIR) \
|
DESTDIR=$(TARGET_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
@ -15,7 +15,7 @@ endef
|
|||||||
|
|
||||||
define HOST_OMAP_U_BOOT_UTILS_INSTALL_CMDS
|
define HOST_OMAP_U_BOOT_UTILS_INSTALL_CMDS
|
||||||
for f in gpsign pserial tagger ucmd ukermit ; do \
|
for f in gpsign pserial tagger ucmd ukermit ; do \
|
||||||
$(INSTALL) -D -m 755 $(@D)/$$f $(HOST_DIR)/usr/bin/$$f ; \
|
$(INSTALL) -D -m 755 $(@D)/$$f $(HOST_DIR)/bin/$$f ; \
|
||||||
done
|
done
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ OMNIORB_DEPENDENCIES = host-omniorb
|
|||||||
HOST_OMNIORB_DEPENDENCIES = host-python
|
HOST_OMNIORB_DEPENDENCIES = host-python
|
||||||
|
|
||||||
# omniorb is not python3 friendly, so force the python interpreter
|
# omniorb is not python3 friendly, so force the python interpreter
|
||||||
OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
|
OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2
|
||||||
HOST_OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
|
HOST_OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2
|
||||||
|
|
||||||
# Defaulting long double support to a safe option for the
|
# Defaulting long double support to a safe option for the
|
||||||
# mix of embedded targets, this could later be automated
|
# mix of embedded targets, this could later be automated
|
||||||
@ -65,7 +65,7 @@ endif
|
|||||||
# cross compiled target OMNIORB application.
|
# cross compiled target OMNIORB application.
|
||||||
define OMNIORB_ADJUST_TOOLDIR
|
define OMNIORB_ADJUST_TOOLDIR
|
||||||
# Point to the host folder to get HOST_OMNIORB tools
|
# Point to the host folder to get HOST_OMNIORB tools
|
||||||
$(SED) 's:TOOLBINDIR = $$(TOP)/$$(BINDIR):TOOLBINDIR = $(HOST_DIR)/usr/bin:g' $(@D)/mk/beforeauto.mk
|
$(SED) 's:TOOLBINDIR = $$(TOP)/$$(BINDIR):TOOLBINDIR = $(HOST_DIR)/bin:g' $(@D)/mk/beforeauto.mk
|
||||||
# Disables OMNIORB app/service/tool building
|
# Disables OMNIORB app/service/tool building
|
||||||
echo "EmbeddedSystem=1" >> $(@D)/mk/beforeauto.mk
|
echo "EmbeddedSystem=1" >> $(@D)/mk/beforeauto.mk
|
||||||
endef
|
endef
|
||||||
|
@ -308,7 +308,7 @@ ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|||||||
OPENCV3_CONF_OPTS += \
|
OPENCV3_CONF_OPTS += \
|
||||||
-DBUILD_opencv_python2=ON \
|
-DBUILD_opencv_python2=ON \
|
||||||
-DBUILD_opencv_python3=OFF \
|
-DBUILD_opencv_python3=OFF \
|
||||||
-DPYTHON2_EXECUTABLE=$(HOST_DIR)/usr/bin/python2 \
|
-DPYTHON2_EXECUTABLE=$(HOST_DIR)/bin/python2 \
|
||||||
-DPYTHON2_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) \
|
-DPYTHON2_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) \
|
||||||
-DPYTHON2_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON_VERSION_MAJOR).so \
|
-DPYTHON2_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON_VERSION_MAJOR).so \
|
||||||
-DPYTHON2_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/numpy/core/include \
|
-DPYTHON2_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/numpy/core/include \
|
||||||
@ -319,7 +319,7 @@ else
|
|||||||
OPENCV3_CONF_OPTS += \
|
OPENCV3_CONF_OPTS += \
|
||||||
-DBUILD_opencv_python2=OFF \
|
-DBUILD_opencv_python2=OFF \
|
||||||
-DBUILD_opencv_python3=ON \
|
-DBUILD_opencv_python3=ON \
|
||||||
-DPYTHON3_EXECUTABLE=$(HOST_DIR)/usr/bin/python3 \
|
-DPYTHON3_EXECUTABLE=$(HOST_DIR)/bin/python3 \
|
||||||
-DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m \
|
-DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m \
|
||||||
-DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)m.so \
|
-DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)m.so \
|
||||||
-DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \
|
-DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \
|
||||||
|
@ -58,7 +58,7 @@ define HOST_ORACLE_MYSQL_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_ORACLE_MYSQL_INSTALL_CMDS
|
define HOST_ORACLE_MYSQL_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 $(@D)/sql/gen_lex_hash $(HOST_DIR)/usr/bin/
|
$(INSTALL) -m 0755 $(@D)/sql/gen_lex_hash $(HOST_DIR)/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
|
@ -16,8 +16,8 @@ PHP_AMQP_LICENSE_FILES = LICENSE
|
|||||||
|
|
||||||
define PHP_AMQP_PHPIZE
|
define PHP_AMQP_PHPIZE
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||||
$(STAGING_DIR)/usr/bin/phpize)
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ PHP_GEOIP_LICENSE_FILES = geoip.c
|
|||||||
|
|
||||||
define PHP_GEOIP_PHPIZE
|
define PHP_GEOIP_PHPIZE
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||||
$(STAGING_DIR)/usr/bin/phpize)
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ PHP_GNUPG_LICENSE_FILES = LICENSE
|
|||||||
|
|
||||||
define PHP_GNUPG_PHPIZE
|
define PHP_GNUPG_PHPIZE
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||||
$(STAGING_DIR)/usr/bin/phpize)
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ PHP_IMAGICK_LICENSE_FILES = LICENSE
|
|||||||
|
|
||||||
define PHP_IMAGICK_PHPIZE
|
define PHP_IMAGICK_PHPIZE
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||||
$(STAGING_DIR)/usr/bin/phpize)
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ PHP_MEMCACHED_LICENSE_FILES = LICENSE fastlz/LICENSE g_fmt.h
|
|||||||
|
|
||||||
define PHP_MEMCACHED_PHPIZE
|
define PHP_MEMCACHED_PHPIZE
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||||
$(STAGING_DIR)/usr/bin/phpize)
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ PHP_SSH2_LICENSE_FILES = LICENSE
|
|||||||
|
|
||||||
define PHP_SSH2_PHPIZE
|
define PHP_SSH2_PHPIZE
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||||
$(STAGING_DIR)/usr/bin/phpize)
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ PHP_YAML_LICENSE_FILES = LICENSE
|
|||||||
|
|
||||||
define PHP_YAML_PHPIZE
|
define PHP_YAML_PHPIZE
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||||
$(STAGING_DIR)/usr/bin/phpize)
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ PHP_ZMQ_LICENSE_FILES = LICENSE
|
|||||||
|
|
||||||
define PHP_ZMQ_PHPIZE
|
define PHP_ZMQ_PHPIZE
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||||
$(STAGING_DIR)/usr/bin/phpize)
|
$(STAGING_DIR)/usr/bin/phpize)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_PINENTRY_QT4),y)
|
ifeq ($(BR2_PACKAGE_PINENTRY_QT4),y)
|
||||||
# -pthread needs to be passed for certain toolchains
|
# -pthread needs to be passed for certain toolchains
|
||||||
# http://autobuild.buildroot.net/results/6be/6be109ccedec603a67cebdb31b55865dcce0e128/
|
# http://autobuild.buildroot.net/results/6be/6be109ccedec603a67cebdb31b55865dcce0e128/
|
||||||
PINENTRY_CONF_OPTS += LIBS=-pthread MOC=$(HOST_DIR)/usr/bin/moc
|
PINENTRY_CONF_OPTS += LIBS=-pthread MOC=$(HOST_DIR)/bin/moc
|
||||||
PINENTRY_CONF_OPTS += --enable-pinentry-qt4
|
PINENTRY_CONF_OPTS += --enable-pinentry-qt4
|
||||||
PINENTRY_DEPENDENCIES += qt
|
PINENTRY_DEPENDENCIES += qt
|
||||||
else
|
else
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
# Set compiler variables.
|
# Set compiler variables.
|
||||||
ifeq ($(BR2_CCACHE),y)
|
ifeq ($(BR2_CCACHE),y)
|
||||||
CMAKE_HOST_C_COMPILER = $(HOST_DIR)/usr/bin/ccache
|
CMAKE_HOST_C_COMPILER = $(HOST_DIR)/bin/ccache
|
||||||
CMAKE_HOST_CXX_COMPILER = $(HOST_DIR)/usr/bin/ccache
|
CMAKE_HOST_CXX_COMPILER = $(HOST_DIR)/bin/ccache
|
||||||
CMAKE_HOST_C_COMPILER_ARG1 = $(HOSTCC_NOCCACHE)
|
CMAKE_HOST_C_COMPILER_ARG1 = $(HOSTCC_NOCCACHE)
|
||||||
CMAKE_HOST_CXX_COMPILER_ARG1 = $(HOSTCXX_NOCCACHE)
|
CMAKE_HOST_CXX_COMPILER_ARG1 = $(HOSTCXX_NOCCACHE)
|
||||||
else
|
else
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PERL_ARCHNAME = $(ARCH)-linux
|
PERL_ARCHNAME = $(ARCH)-linux
|
||||||
PERL_RUN = PERL5LIB= PERL_USE_UNSAFE_INC=1 $(HOST_DIR)/usr/bin/perl
|
PERL_RUN = PERL5LIB= PERL_USE_UNSAFE_INC=1 $(HOST_DIR)/bin/perl
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# inner-perl-package -- defines how the configuration, compilation and
|
# inner-perl-package -- defines how the configuration, compilation and
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user