diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-19 09:53:00 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-19 09:53:00 +0100 |
commit | a934246178d7c686bf28c3dbed57b06120cb48d0 (patch) | |
tree | ee9df21508827ce7f2539edd7926c0c3a54d9eb0 /target/Makefile | |
parent | b5b2d187c4e25998dc560ad59c6e4aa77fb9463b (diff) |
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.
Diffstat (limited to 'target/Makefile')
-rw-r--r-- | target/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
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 |