From 77acae652fa5607fc76b07ce3ce558e8a845de30 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 10 Oct 2006 15:30:50 +0000 Subject: add support for a common shell include file, which is evaluated for every make shell call, simplify variable passing to the shell with shvar and shexport templates, use Package//config for adding config.in data git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5014 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- rules.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rules.mk') diff --git a/rules.mk b/rules.mk index 84163ba225..8e5294edb3 100644 --- a/rules.mk +++ b/rules.mk @@ -8,8 +8,7 @@ -include $(TOPDIR)/.config include $(TOPDIR)/include/verbose.mk -export SHELL=/bin/bash - +export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' -- ARCH:=$(strip $(subst ",, $(CONFIG_ARCH))) TARGET_OPTIMIZATION:=$(strip $(subst ",, $(CONFIG_TARGET_OPTIMIZATION))) WGET:=$(strip $(subst ",, $(CONFIG_WGET))) -- cgit v1.2.3