mirror of https://github.com/hak5/openwrt.git
fix packages that use -f on other build system makefiles
SVN-Revision: 10088lede-17.01
parent
457d9d3d1b
commit
f75b9f6815
|
@ -31,6 +31,8 @@ include $(INCLUDE_DIR)/autotools.mk
|
|||
|
||||
override MAKEFLAGS=
|
||||
export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)
|
||||
CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST)))
|
||||
SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE))
|
||||
|
||||
ifeq ($(DUMP)$(filter prereq clean refresh update,$(MAKECMDGOALS)),)
|
||||
ifneq ($(if $(QUILT),,$(CONFIG_AUTOREBUILD)),)
|
||||
|
@ -81,7 +83,7 @@ define Build/DefaultTargets
|
|||
touch $$@
|
||||
|
||||
$(STAMP_INSTALLED): $(STAMP_BUILT)
|
||||
$(NO_TRACE_MAKE) clean-staging
|
||||
$(SUBMAKE) clean-staging
|
||||
rm -rf $(TMP_DIR)/stage-$(PKG_NAME)
|
||||
mkdir -p $(TMP_DIR)/stage-$(PKG_NAME)/host $(STAGING_DIR)/packages $(STAGING_DIR_HOST)/packages
|
||||
$(call Build/InstallDev,$(TMP_DIR)/stage-$(PKG_NAME),$(TMP_DIR)/stage-$(PKG_NAME)/host)
|
||||
|
|
Loading…
Reference in New Issue