mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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/<pkgname>/config for adding config.in data
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5014 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
3
rules.mk
3
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)))
|
||||
|
||||
Reference in New Issue
Block a user