projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kernel] remove 2.6.26 check, do not build ide-generic on arm it is not available...
[openwrt.git]
/
include
/
toplevel.mk
diff --git
a/include/toplevel.mk
b/include/toplevel.mk
index
7f5308f
..
78a03d8
100644
(file)
--- a/
include/toplevel.mk
+++ b/
include/toplevel.mk
@@
-26,6
+26,9
@@
export IS_TTY=$(shell tty -s && echo 1 || echo 0)
export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
+# prevent perforce from messing with the patch utility
+unexport P4PORT P4USER P4CONFIG P4CLIENT
+
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=
@@
-49,7
+52,7
@@
prepare-tmpinfo: FORCE
./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
touch $(TOPDIR)/tmp/.build
./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
touch $(TOPDIR)/tmp/.build
-.config: ./scripts/config/conf
prepare-tmpinfo $(if $(CONFIG_HAVE_DOT_CONFIG),,FORCE
)
+.config: ./scripts/config/conf
$(if $(CONFIG_HAVE_DOT_CONFIG),,prepare-tmpinfo
)
@+if [ \! -e .config ] || ! grep CONFIG_HAVE_DOT_CONFIG .config >/dev/null; then \
[ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
$(_SINGLE)$(NO_TRACE_MAKE) menuconfig $(PREP_MK); \
@+if [ \! -e .config ] || ! grep CONFIG_HAVE_DOT_CONFIG .config >/dev/null; then \
[ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
$(_SINGLE)$(NO_TRACE_MAKE) menuconfig $(PREP_MK); \
@@
-82,10
+85,19
@@
menuconfig: scripts/config/mconf prepare-tmpinfo FORCE
fi
$< Config.in
fi
$< Config.in
-kernel_oldconfig: .config FORCE
+prepare_kernel_conf: .config FORCE
+
+ifeq ($(wildcard staging_dir/host/bin/sed),)
+ prepare_kernel_conf:
+ @+$(SUBMAKE) -r tools/sed/install
+else
+ prepare_kernel_conf: ;
+endif
+
+kernel_oldconfig: prepare_kernel_conf
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux oldconfig
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux oldconfig
-kernel_menuconfig:
.config FORCE
+kernel_menuconfig:
prepare_kernel_conf
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux menuconfig
tmp/.prereq-build: include/prereq-build.mk
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux menuconfig
tmp/.prereq-build: include/prereq-build.mk
@@
-106,7
+118,7
@@
download: .config FORCE
clean dirclean: .config
@+$(SUBMAKE) -r $@
clean dirclean: .config
@+$(SUBMAKE) -r $@
-prereq:: .config
+prereq::
prepare-tmpinfo
.config
@+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK)
@+$(NO_TRACE_MAKE) -r -s $@
@+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK)
@+$(NO_TRACE_MAKE) -r -s $@
This page took
0.024368 seconds
and
4
git commands to generate.