build: do not process built-in rules for make subdirs
[openwrt/openwrt.git] / include / toplevel.mk
index dcde7e25969182d0e52ded150d1dba6683ae21ad..8a21f7eef4b6d6a2432551a603f2a04698ac38c6 100644 (file)
@@ -43,6 +43,8 @@ unexport LPATH
 # make sure that a predefined CFLAGS variable does not disturb packages
 export CFLAGS=
 
+unexport TAR_OPTIONS
+
 ifneq ($(shell $(HOSTCC) 2>&1 | grep clang),)
   export HOSTCC_REAL?=$(HOSTCC)
   export HOSTCC_WRAPPER:=$(TOPDIR)/scripts/clang-gcc-wrapper