mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
Makefile: fix coding style regarding the '=' sign
As stated in the buildroot user manual add just a single space before and after a '=' sign. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
86c32446c6
commit
c3e49d69bd
192
Makefile
192
Makefile
@ -25,10 +25,10 @@
|
|||||||
#--------------------------------------------------------------
|
#--------------------------------------------------------------
|
||||||
|
|
||||||
# Set and export the version string
|
# Set and export the version string
|
||||||
export BR2_VERSION:=2014.05-git
|
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
|
||||||
ifneq ($(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
|
ifneq ($(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
|
||||||
$(error You have make '$(MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
|
$(error You have make '$(MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
|
||||||
endif
|
endif
|
||||||
@ -60,33 +60,33 @@ export HOSTARCH := $(shell uname -m | \
|
|||||||
.NOTPARALLEL:
|
.NOTPARALLEL:
|
||||||
|
|
||||||
# absolute path
|
# absolute path
|
||||||
TOPDIR:=$(shell pwd)
|
TOPDIR := $(shell pwd)
|
||||||
CONFIG_CONFIG_IN=Config.in
|
CONFIG_CONFIG_IN = Config.in
|
||||||
CONFIG=support/kconfig
|
CONFIG = support/kconfig
|
||||||
DATE:=$(shell date +%Y%m%d)
|
DATE := $(shell date +%Y%m%d)
|
||||||
|
|
||||||
# Compute the full local version string so packages can use it as-is
|
# Compute the full local version string so packages can use it as-is
|
||||||
# Need to export it, so it can be got from environment in children (eg. mconf)
|
# Need to export it, so it can be got from environment in children (eg. mconf)
|
||||||
export BR2_VERSION_FULL:=$(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlocalversion)
|
export BR2_VERSION_FULL := $(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlocalversion)
|
||||||
|
|
||||||
noconfig_targets:=menuconfig nconfig gconfig xconfig config oldconfig randconfig \
|
noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \
|
||||||
defconfig %_defconfig allyesconfig allnoconfig silentoldconfig release \
|
defconfig %_defconfig allyesconfig allnoconfig silentoldconfig release \
|
||||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||||
source-check print-version olddefconfig
|
source-check print-version olddefconfig
|
||||||
|
|
||||||
# Strip quotes and then whitespaces
|
# Strip quotes and then whitespaces
|
||||||
qstrip=$(strip $(subst ",,$(1)))
|
qstrip = $(strip $(subst ",,$(1)))
|
||||||
#"))
|
#"))
|
||||||
|
|
||||||
# Variables for use in Make constructs
|
# Variables for use in Make constructs
|
||||||
comma:=,
|
comma := ,
|
||||||
empty:=
|
empty :=
|
||||||
space:=$(empty) $(empty)
|
space := $(empty) $(empty)
|
||||||
|
|
||||||
ifneq ("$(origin O)", "command line")
|
ifneq ("$(origin O)", "command line")
|
||||||
O:=output
|
O := output
|
||||||
CONFIG_DIR:=$(TOPDIR)
|
CONFIG_DIR := $(TOPDIR)
|
||||||
NEED_WRAPPER=
|
NEED_WRAPPER =
|
||||||
else
|
else
|
||||||
# other packages might also support Linux-style out of tree builds
|
# other packages might also support Linux-style out of tree builds
|
||||||
# with the O=<dir> syntax (E.G. Busybox does). As make automatically
|
# with the O=<dir> syntax (E.G. Busybox does). As make automatically
|
||||||
@ -98,18 +98,18 @@ MAKEOVERRIDES =
|
|||||||
# of the origin function (command line -> environment).
|
# of the origin function (command line -> environment).
|
||||||
# Unfortunately some packages don't look at origin (E.G. uClibc 0.9.31+)
|
# Unfortunately some packages don't look at origin (E.G. uClibc 0.9.31+)
|
||||||
# To really make O go away, we have to override it.
|
# To really make O go away, we have to override it.
|
||||||
override O:=$(O)
|
override O := $(O)
|
||||||
CONFIG_DIR:=$(O)
|
CONFIG_DIR := $(O)
|
||||||
# we need to pass O= everywhere we call back into the toplevel makefile
|
# we need to pass O= everywhere we call back into the toplevel makefile
|
||||||
EXTRAMAKEARGS = O=$(O)
|
EXTRAMAKEARGS = O=$(O)
|
||||||
NEED_WRAPPER=y
|
NEED_WRAPPER = y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
|
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
|
||||||
# set, so unset it here to not cause problems. Notice that the export
|
# set, so unset it here to not cause problems. Notice that the export
|
||||||
# line doesn't affect the environment of $(shell ..) calls, so
|
# line doesn't affect the environment of $(shell ..) calls, so
|
||||||
# explictly throw away any output from 'cd' here.
|
# explictly throw away any output from 'cd' here.
|
||||||
export CDPATH:=
|
export CDPATH :=
|
||||||
BASE_DIR := $(shell mkdir -p $(O) && cd $(O) >/dev/null && pwd)
|
BASE_DIR := $(shell mkdir -p $(O) && cd $(O) >/dev/null && pwd)
|
||||||
$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
|
$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
|
||||||
|
|
||||||
@ -152,26 +152,26 @@ endif
|
|||||||
BR_GRAPH_OUT := $(or $(BR2_GRAPH_OUT),pdf)
|
BR_GRAPH_OUT := $(or $(BR2_GRAPH_OUT),pdf)
|
||||||
BR_GRAPH_DEPTH := $(or $(BR2_GRAPH_DEPTH),0)
|
BR_GRAPH_DEPTH := $(or $(BR2_GRAPH_DEPTH),0)
|
||||||
|
|
||||||
BUILD_DIR:=$(BASE_DIR)/build
|
BUILD_DIR := $(BASE_DIR)/build
|
||||||
BINARIES_DIR:=$(BASE_DIR)/images
|
BINARIES_DIR := $(BASE_DIR)/images
|
||||||
TARGET_DIR:=$(BASE_DIR)/target
|
TARGET_DIR := $(BASE_DIR)/target
|
||||||
# initial definition so that 'make clean' works for most users, even without
|
# initial definition so that 'make clean' works for most users, even without
|
||||||
# .config. HOST_DIR will be overwritten later when .config is included.
|
# .config. HOST_DIR will be overwritten later when .config is included.
|
||||||
HOST_DIR:=$(BASE_DIR)/host
|
HOST_DIR := $(BASE_DIR)/host
|
||||||
|
|
||||||
LEGAL_INFO_DIR=$(BASE_DIR)/legal-info
|
LEGAL_INFO_DIR = $(BASE_DIR)/legal-info
|
||||||
REDIST_SOURCES_DIR_TARGET=$(LEGAL_INFO_DIR)/sources
|
REDIST_SOURCES_DIR_TARGET = $(LEGAL_INFO_DIR)/sources
|
||||||
REDIST_SOURCES_DIR_HOST=$(LEGAL_INFO_DIR)/host-sources
|
REDIST_SOURCES_DIR_HOST = $(LEGAL_INFO_DIR)/host-sources
|
||||||
LICENSE_FILES_DIR_TARGET=$(LEGAL_INFO_DIR)/licenses
|
LICENSE_FILES_DIR_TARGET = $(LEGAL_INFO_DIR)/licenses
|
||||||
LICENSE_FILES_DIR_HOST=$(LEGAL_INFO_DIR)/host-licenses
|
LICENSE_FILES_DIR_HOST = $(LEGAL_INFO_DIR)/host-licenses
|
||||||
LEGAL_MANIFEST_CSV_TARGET=$(LEGAL_INFO_DIR)/manifest.csv
|
LEGAL_MANIFEST_CSV_TARGET = $(LEGAL_INFO_DIR)/manifest.csv
|
||||||
LEGAL_MANIFEST_CSV_HOST=$(LEGAL_INFO_DIR)/host-manifest.csv
|
LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv
|
||||||
LEGAL_LICENSES_TXT_TARGET=$(LEGAL_INFO_DIR)/licenses.txt
|
LEGAL_LICENSES_TXT_TARGET = $(LEGAL_INFO_DIR)/licenses.txt
|
||||||
LEGAL_LICENSES_TXT_HOST=$(LEGAL_INFO_DIR)/host-licenses.txt
|
LEGAL_LICENSES_TXT_HOST = $(LEGAL_INFO_DIR)/host-licenses.txt
|
||||||
LEGAL_WARNINGS=$(LEGAL_INFO_DIR)/.warnings
|
LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings
|
||||||
LEGAL_REPORT=$(LEGAL_INFO_DIR)/README
|
LEGAL_REPORT = $(LEGAL_INFO_DIR)/README
|
||||||
|
|
||||||
BR2_CONFIG=$(CONFIG_DIR)/.config
|
BR2_CONFIG = $(CONFIG_DIR)/.config
|
||||||
|
|
||||||
# Pull in the user's configuration file
|
# Pull in the user's configuration file
|
||||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||||
@ -182,80 +182,80 @@ endif
|
|||||||
# Use 'make V=1' to see the full commands
|
# Use 'make V=1' to see the full commands
|
||||||
ifdef V
|
ifdef V
|
||||||
ifeq ("$(origin V)", "command line")
|
ifeq ("$(origin V)", "command line")
|
||||||
KBUILD_VERBOSE=$(V)
|
KBUILD_VERBOSE = $(V)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifndef KBUILD_VERBOSE
|
ifndef KBUILD_VERBOSE
|
||||||
KBUILD_VERBOSE=0
|
KBUILD_VERBOSE = 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(KBUILD_VERBOSE),1)
|
ifeq ($(KBUILD_VERBOSE),1)
|
||||||
quiet=
|
quiet =
|
||||||
Q=
|
Q =
|
||||||
ifndef VERBOSE
|
ifndef VERBOSE
|
||||||
VERBOSE=1
|
VERBOSE = 1
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
quiet=quiet_
|
quiet = quiet_
|
||||||
Q=@
|
Q = @
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# we want bash as shell
|
# we want bash as shell
|
||||||
SHELL:=$(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
||||||
else if [ -x /bin/bash ]; then echo /bin/bash; \
|
else if [ -x /bin/bash ]; then echo /bin/bash; \
|
||||||
else echo sh; fi; fi)
|
else echo sh; fi; fi)
|
||||||
|
|
||||||
# kconfig uses CONFIG_SHELL
|
# kconfig uses CONFIG_SHELL
|
||||||
CONFIG_SHELL:=$(SHELL)
|
CONFIG_SHELL := $(SHELL)
|
||||||
|
|
||||||
export SHELL CONFIG_SHELL quiet Q KBUILD_VERBOSE VERBOSE
|
export SHELL CONFIG_SHELL quiet Q KBUILD_VERBOSE VERBOSE
|
||||||
|
|
||||||
ifndef HOSTAR
|
ifndef HOSTAR
|
||||||
HOSTAR:=ar
|
HOSTAR := ar
|
||||||
endif
|
endif
|
||||||
ifndef HOSTAS
|
ifndef HOSTAS
|
||||||
HOSTAS:=as
|
HOSTAS := as
|
||||||
endif
|
endif
|
||||||
ifndef HOSTCC
|
ifndef HOSTCC
|
||||||
HOSTCC:=gcc
|
HOSTCC := gcc
|
||||||
HOSTCC:=$(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc)
|
HOSTCC := $(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc)
|
||||||
endif
|
endif
|
||||||
HOSTCC_NOCCACHE:=$(HOSTCC)
|
HOSTCC_NOCCACHE := $(HOSTCC)
|
||||||
ifndef HOSTCXX
|
ifndef HOSTCXX
|
||||||
HOSTCXX:=g++
|
HOSTCXX := g++
|
||||||
HOSTCXX:=$(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++)
|
HOSTCXX := $(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++)
|
||||||
endif
|
endif
|
||||||
HOSTCXX_NOCCACHE:=$(HOSTCXX)
|
HOSTCXX_NOCCACHE := $(HOSTCXX)
|
||||||
ifndef HOSTFC
|
ifndef HOSTFC
|
||||||
HOSTFC:=gfortran
|
HOSTFC := gfortran
|
||||||
endif
|
endif
|
||||||
ifndef HOSTCPP
|
ifndef HOSTCPP
|
||||||
HOSTCPP:=cpp
|
HOSTCPP := cpp
|
||||||
endif
|
endif
|
||||||
ifndef HOSTLD
|
ifndef HOSTLD
|
||||||
HOSTLD:=ld
|
HOSTLD := ld
|
||||||
endif
|
endif
|
||||||
ifndef HOSTLN
|
ifndef HOSTLN
|
||||||
HOSTLN:=ln
|
HOSTLN := ln
|
||||||
endif
|
endif
|
||||||
ifndef HOSTNM
|
ifndef HOSTNM
|
||||||
HOSTNM:=nm
|
HOSTNM := nm
|
||||||
endif
|
endif
|
||||||
ifndef HOSTOBJCOPY
|
ifndef HOSTOBJCOPY
|
||||||
HOSTOBJCOPY:=objcopy
|
HOSTOBJCOPY := objcopy
|
||||||
endif
|
endif
|
||||||
ifndef HOSTRANLIB
|
ifndef HOSTRANLIB
|
||||||
HOSTRANLIB:=ranlib
|
HOSTRANLIB := ranlib
|
||||||
endif
|
endif
|
||||||
HOSTAR:=$(shell which $(HOSTAR) || type -p $(HOSTAR) || echo ar)
|
HOSTAR := $(shell which $(HOSTAR) || type -p $(HOSTAR) || echo ar)
|
||||||
HOSTAS:=$(shell which $(HOSTAS) || type -p $(HOSTAS) || echo as)
|
HOSTAS := $(shell which $(HOSTAS) || type -p $(HOSTAS) || echo as)
|
||||||
HOSTFC:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo || which g77 || type -p g77 || echo gfortran)
|
HOSTFC := $(shell which $(HOSTLD) || type -p $(HOSTLD) || echo || which g77 || type -p g77 || echo gfortran)
|
||||||
HOSTCPP:=$(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp)
|
HOSTCPP := $(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp)
|
||||||
HOSTLD:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld)
|
HOSTLD := $(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld)
|
||||||
HOSTLN:=$(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln)
|
HOSTLN := $(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln)
|
||||||
HOSTNM:=$(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm)
|
HOSTNM := $(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm)
|
||||||
HOSTOBJCOPY:=$(shell which $(HOSTOBJCOPY) || type -p $(HOSTOBJCOPY) || echo objcopy)
|
HOSTOBJCOPY := $(shell which $(HOSTOBJCOPY) || type -p $(HOSTOBJCOPY) || echo objcopy)
|
||||||
HOSTRANLIB:=$(shell which $(HOSTRANLIB) || type -p $(HOSTRANLIB) || echo ranlib)
|
HOSTRANLIB := $(shell which $(HOSTRANLIB) || type -p $(HOSTRANLIB) || echo ranlib)
|
||||||
|
|
||||||
export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTFC HOSTLD
|
export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTFC HOSTLD
|
||||||
export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
|
export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
|
||||||
@ -292,17 +292,17 @@ unexport CONFIG_SITE
|
|||||||
unexport QMAKESPEC
|
unexport QMAKESPEC
|
||||||
unexport TERMINFO
|
unexport TERMINFO
|
||||||
|
|
||||||
GNU_HOST_NAME:=$(shell support/gnuconfig/config.guess)
|
GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)
|
||||||
|
|
||||||
TARGETS :=
|
TARGETS :=
|
||||||
|
|
||||||
# silent mode requested?
|
# silent mode requested?
|
||||||
QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)
|
QUIET := $(if $(findstring s,$(MAKEFLAGS)),-q)
|
||||||
|
|
||||||
# Strip off the annoying quoting
|
# Strip off the annoying quoting
|
||||||
ARCH:=$(call qstrip,$(BR2_ARCH))
|
ARCH := $(call qstrip,$(BR2_ARCH))
|
||||||
|
|
||||||
KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
||||||
-e s/i.86/i386/ -e s/sun4u/sparc64/ \
|
-e s/i.86/i386/ -e s/sun4u/sparc64/ \
|
||||||
-e s/arcle/arc/ \
|
-e s/arcle/arc/ \
|
||||||
-e s/arceb/arc/ \
|
-e s/arceb/arc/ \
|
||||||
@ -315,31 +315,31 @@ KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
|||||||
-e s/sh.*/sh/ \
|
-e s/sh.*/sh/ \
|
||||||
-e s/microblazeel/microblaze/)
|
-e s/microblazeel/microblaze/)
|
||||||
|
|
||||||
ZCAT:=$(call qstrip,$(BR2_ZCAT))
|
ZCAT := $(call qstrip,$(BR2_ZCAT))
|
||||||
BZCAT:=$(call qstrip,$(BR2_BZCAT))
|
BZCAT := $(call qstrip,$(BR2_BZCAT))
|
||||||
XZCAT:=$(call qstrip,$(BR2_XZCAT))
|
XZCAT := $(call qstrip,$(BR2_XZCAT))
|
||||||
TAR_OPTIONS=$(call qstrip,$(BR2_TAR_OPTIONS)) -xf
|
TAR_OPTIONS = $(call qstrip,$(BR2_TAR_OPTIONS)) -xf
|
||||||
|
|
||||||
# packages compiled for the host go here
|
# packages compiled for the host go here
|
||||||
HOST_DIR:=$(call qstrip,$(BR2_HOST_DIR))
|
HOST_DIR := $(call qstrip,$(BR2_HOST_DIR))
|
||||||
|
|
||||||
# Quotes are needed for spaces and all in the original PATH content.
|
# Quotes are needed for spaces and all in the original PATH content.
|
||||||
BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin:$(PATH)"
|
BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin:$(PATH)"
|
||||||
|
|
||||||
# locales to generate
|
# locales to generate
|
||||||
GENERATE_LOCALE=$(call qstrip,$(BR2_GENERATE_LOCALE))
|
GENERATE_LOCALE = $(call qstrip,$(BR2_GENERATE_LOCALE))
|
||||||
|
|
||||||
TARGET_SKELETON=$(TOPDIR)/system/skeleton
|
TARGET_SKELETON = $(TOPDIR)/system/skeleton
|
||||||
|
|
||||||
# Location of a file giving a big fat warning that output/target
|
# Location of a file giving a big fat warning that output/target
|
||||||
# should not be used as the root filesystem.
|
# should not be used as the root filesystem.
|
||||||
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)/usr/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)
|
||||||
HOSTCXX := $(CCACHE) $(HOSTCXX)
|
HOSTCXX := $(CCACHE) $(HOSTCXX)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -378,7 +378,7 @@ include toolchain/*/*.mk
|
|||||||
|
|
||||||
# Include the package override file if one has been provided in the
|
# Include the package override file if one has been provided in the
|
||||||
# configuration.
|
# configuration.
|
||||||
PACKAGE_OVERRIDE_FILE=$(call qstrip,$(BR2_PACKAGE_OVERRIDE_FILE))
|
PACKAGE_OVERRIDE_FILE = $(call qstrip,$(BR2_PACKAGE_OVERRIDE_FILE))
|
||||||
ifneq ($(PACKAGE_OVERRIDE_FILE),)
|
ifneq ($(PACKAGE_OVERRIDE_FILE),)
|
||||||
-include $(PACKAGE_OVERRIDE_FILE)
|
-include $(PACKAGE_OVERRIDE_FILE)
|
||||||
endif
|
endif
|
||||||
@ -392,23 +392,23 @@ include system/system.mk
|
|||||||
include $(BR2_EXTERNAL)/external.mk
|
include $(BR2_EXTERNAL)/external.mk
|
||||||
|
|
||||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||||
TARGETS+=target-purgelocales
|
TARGETS += target-purgelocales
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||||
ifneq ($(GENERATE_LOCALE),)
|
ifneq ($(GENERATE_LOCALE),)
|
||||||
TARGETS+=target-generatelocales
|
TARGETS += target-generatelocales
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_ECLIPSE_REGISTER),y)
|
ifeq ($(BR2_ECLIPSE_REGISTER),y)
|
||||||
TARGETS+=toolchain-eclipse-register
|
TARGETS += toolchain-eclipse-register
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include fs/common.mk
|
include fs/common.mk
|
||||||
|
|
||||||
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
|
TARGETS_SOURCE := $(patsubst %,%-source,$(TARGETS))
|
||||||
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
TARGETS_DIRCLEAN := $(patsubst %,%-dirclean,$(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.
|
||||||
@ -429,7 +429,7 @@ HOST_DEPS = $(sort $(foreach dep,\
|
|||||||
$($(dep))))
|
$($(dep))))
|
||||||
HOST_SOURCE += $(addsuffix -source,$(sort $(TARGETS_HOST_DEPS) $(HOST_DEPS)))
|
HOST_SOURCE += $(addsuffix -source,$(sort $(TARGETS_HOST_DEPS) $(HOST_DEPS)))
|
||||||
|
|
||||||
TARGETS_LEGAL_INFO:=$(patsubst %,%-legal-info,\
|
TARGETS_LEGAL_INFO := $(patsubst %,%-legal-info,\
|
||||||
$(TARGETS) $(TARGETS_HOST_DEPS) $(HOST_DEPS))))
|
$(TARGETS) $(TARGETS_HOST_DEPS) $(HOST_DEPS))))
|
||||||
|
|
||||||
dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||||
@ -482,7 +482,7 @@ $(STAGING_DIR):
|
|||||||
@ln -snf $(STAGING_DIR) $(BASE_DIR)/staging
|
@ln -snf $(STAGING_DIR) $(BASE_DIR)/staging
|
||||||
|
|
||||||
ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
|
ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
|
||||||
TARGET_SKELETON=$(BR2_ROOTFS_SKELETON_CUSTOM_PATH)
|
TARGET_SKELETON = $(BR2_ROOTFS_SKELETON_CUSTOM_PATH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
RSYNC_VCS_EXCLUSIONS = \
|
RSYNC_VCS_EXCLUSIONS = \
|
||||||
@ -576,8 +576,8 @@ endif
|
|||||||
$(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
$(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||||
|
|
||||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||||
LOCALE_WHITELIST=$(BUILD_DIR)/locales.nopurge
|
LOCALE_WHITELIST = $(BUILD_DIR)/locales.nopurge
|
||||||
LOCALE_NOPURGE=$(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
|
LOCALE_NOPURGE = $(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
|
||||||
|
|
||||||
target-purgelocales:
|
target-purgelocales:
|
||||||
rm -f $(LOCALE_WHITELIST)
|
rm -f $(LOCALE_WHITELIST)
|
||||||
@ -682,7 +682,7 @@ endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
|||||||
# configuration
|
# configuration
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
HOSTCFLAGS=$(CFLAGS_FOR_BUILD)
|
HOSTCFLAGS = $(CFLAGS_FOR_BUILD)
|
||||||
export HOSTCFLAGS
|
export HOSTCFLAGS
|
||||||
|
|
||||||
$(BUILD_DIR)/buildroot-config/%onf:
|
$(BUILD_DIR)/buildroot-config/%onf:
|
||||||
@ -911,7 +911,7 @@ endif
|
|||||||
@echo 'See docs/README, or generate the Buildroot manual for further details'
|
@echo 'See docs/README, or generate the Buildroot manual for further details'
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
release: OUT=buildroot-$(BR2_VERSION)
|
release: OUT = buildroot-$(BR2_VERSION)
|
||||||
|
|
||||||
# Create release tarballs. We need to fiddle a bit to add the generated
|
# Create release tarballs. We need to fiddle a bit to add the generated
|
||||||
# documentation to the git output
|
# documentation to the git output
|
||||||
|
Loading…
x
Reference in New Issue
Block a user