Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
rules: sync with Entware-ng, 2017.04
Browse files Browse the repository at this point in the history
  • Loading branch information
The-BB committed Apr 21, 2017
1 parent 192b066 commit b9dbb14
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rules.mk
Expand Up @@ -29,7 +29,7 @@ empty:=
space:= $(empty) $(empty)
comma:=,
merge=$(subst $(space),,$(1))
confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n)))
confvar=$(shell echo '$(foreach v,$(1),$(v)=$(subst ','\'',$($(v))))' | $(STAGING_DIR_HOST)/bin/mkhash md5)
strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1))

paren_left = (
Expand Down Expand Up @@ -101,7 +101,7 @@ ifdef CONFIG_MIPS64_ABI
endif
endif

DEFAULT_SUBDIR_TARGETS:=clean download prepare compile install update refresh prereq dist distcheck configure check check-depends
DEFAULT_SUBDIR_TARGETS:=clean download prepare compile update refresh prereq dist distcheck configure check check-depends

define DefaultTargets
$(foreach t,$(DEFAULT_SUBDIR_TARGETS) $(1),
Expand All @@ -117,6 +117,7 @@ BIN_DIR:=$(OUTPUT_DIR)/targets/$(BOARD)/$(SUBTARGET)
INCLUDE_DIR:=$(TOPDIR)/include
SCRIPT_DIR:=$(TOPDIR)/scripts
BUILD_DIR_BASE:=$(TOPDIR)/build_dir
# Entware keeps LIBCV (LIBC version) as a suffix in directory names! Lede has removed it....
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
GCCV:=$(call qstrip,$(CONFIG_GCC_VERSION))
LIBC:=$(call qstrip,$(CONFIG_LIBC))
Expand All @@ -140,7 +141,7 @@ else
endif

#ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_GCC_VERSION_4_8),$(CONFIG_TARGET_uml)),)
# iremap = -iremap $(1):$(2)
# iremap = -iremap$(1):$(2)
#endif

PACKAGE_DIR:=$(BIN_DIR)/packages
Expand Down

0 comments on commit b9dbb14

Please sign in to comment.