From a934246178d7c686bf28c3dbed57b06120cb48d0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 19 Nov 2009 09:53:00 +0100 Subject: rename DEVICE to ADK_TARGET - the name is better, because qemu f.e. is no hardware device - use make TARGET=alix1c to start with a configuration for this target - use make TARGET=alix1c allmodconfig to generate a mostly complete config to build all available packages for this platform as a package The all.config and .defconfig files needed to get this working are dynamically generated. --- target/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'target/Makefile') diff --git a/target/Makefile b/target/Makefile index 63c3e58cc..b3f266ee0 100644 --- a/target/Makefile +++ b/target/Makefile @@ -41,9 +41,9 @@ config-prepare: $(TOPDIR)/.config >${BUILD_DIR}/.kernelconfig.nokernel # if native build, first try /proc/config.gz ifeq ($(ADK_NATIVE),y) - @if [ -f /proc/config.gz ];then zcat /proc/config.gz > ${BUILD_DIR}/.kernelconfig.board; else cp ${DEVICE}/kernel.config.$(ARCH) ${BUILD_DIR}/.kernelconfig.board; fi + @if [ -f /proc/config.gz ];then zcat /proc/config.gz > ${BUILD_DIR}/.kernelconfig.board; else cp ${ADK_TARGET}/kernel.config.$(ARCH) ${BUILD_DIR}/.kernelconfig.board; fi else - @cp ${DEVICE}/kernel.config ${BUILD_DIR}/.kernelconfig.board + @cp ${ADK_TARGET}/kernel.config ${BUILD_DIR}/.kernelconfig.board endif @(cat ${BUILD_DIR}/.kernelconfig.{modules,kernel} | \ while IFS='=' read symbol value; do \ @@ -62,11 +62,11 @@ endif cp .kernelconfig.tmp .kernelconfig @-rm -f ${BUILD_DIR}/.kernelconfig.tmp -prepare: $(DEVICE)-prepare -compile: $(DEVICE)-compile -image: $(DEVICE)-imageclean $(DEVICE)-imageinstall -install: $(DEVICE)-imageclean $(DEVICE)-install $(DEVICE)-imageinstall -clean: $(DEVICE)-clean $(DEVICE)-imageclean +prepare: $(ADK_TARGET)-prepare +compile: $(ADK_TARGET)-compile +image: $(ADK_TARGET)-imageclean $(ADK_TARGET)-imageinstall +install: $(ADK_TARGET)-imageclean $(ADK_TARGET)-install $(ADK_TARGET)-imageinstall +clean: $(ADK_TARGET)-clean $(ADK_TARGET)-imageclean %-clean: $(TRACE) target/$(patsubst %-clean,%,$@)-clean -- cgit v1.2.3