make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection

SVN-Revision: 5498
This commit is contained in:
Felix Fietkau
2006-11-11 23:11:02 +00:00
parent 312802199b
commit cf4e7af392
33 changed files with 381 additions and 21342 deletions

View File

@@ -30,7 +30,7 @@ BIN_DIR:=$(TOPDIR)/bin
PACKAGE_DIR:=$(BIN_DIR)/packages
IPKG_TARGET_DIR:=$(PACKAGE_DIR)
BUILD_DIR:=$(TOPDIR)/build_$(ARCH)
TMP_DIR:=$(BUILD_DIR)/tmp
TMP_DIR:=$(TOPDIR)/tmp
STAMP_DIR:=$(BUILD_DIR)/stamp
TARGET_DIR:=$(BUILD_DIR)/root
IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/ipkg
@@ -111,6 +111,16 @@ else
TAR_OPTIONS:=-xf -
endif
define shvar
V_$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
endef
define shexport
$(call shvar,$(1))=$$(call $(1))
export $(call shvar,$(1))
endef
all:
FORCE: ;
.PHONY: FORCE