summaryrefslogtreecommitdiffstats
path: root/make/linux.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-17 08:09:39 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-17 08:09:39 +0000
commita413a043f777611cf15419a4408ee60f0404b1a3 (patch)
tree21bed37a126d6eb70d40cf90534ccdf9c6462fcb /make/linux.mk
parentcd5135a43204cebeae8dceaf5b9fc3f8ff8f9348 (diff)
downloadbuildroot-novena-a413a043f777611cf15419a4408ee60f0404b1a3.tar.gz
buildroot-novena-a413a043f777611cf15419a4408ee60f0404b1a3.zip
update handling of 'make'
Diffstat (limited to 'make/linux.mk')
-rw-r--r--make/linux.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/make/linux.mk b/make/linux.mk
index 8d70ca213..96cafa733 100644
--- a/make/linux.mk
+++ b/make/linux.mk
@@ -56,16 +56,16 @@ $(LINUX_DIR)/.configured $(BUILD_DIR)/linux/.configured: $(LINUX_DIR)/.unpacked
# CROSS_COMPILE=$(STAGING_DIR)/bin/$(ARCH)-uclibc-,g;" \
# $(LINUX_DIR)/Makefile
-cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config
- make -C $(LINUX_DIR) oldconfig include/linux/version.h
+ $(MAKE) -C $(LINUX_DIR) oldconfig include/linux/version.h
touch $(LINUX_DIR)/.configured
$(LINUX_DIR)/.depend_done: $(LINUX_DIR)/.configured
- make -C $(LINUX_DIR) dep
+ $(MAKE) -C $(LINUX_DIR) dep
touch $(LINUX_DIR)/.depend_done
$(LINUX_DIR)/$(LINUX_BINLOC): $(LINUX_DIR)/.depend_done
- make -C $(LINUX_DIR) $(LINUX_FORMAT)
- make -C $(LINUX_DIR) modules
+ $(MAKE) -C $(LINUX_DIR) $(LINUX_FORMAT)
+ $(MAKE) -C $(LINUX_DIR) modules
$(LINUX_KERNEL): $(LINUX_DIR)/$(LINUX_BINLOC)
cp -fa $(LINUX_DIR)/$(LINUX_BINLOC) $(LINUX_KERNEL)
@@ -73,7 +73,7 @@ $(LINUX_KERNEL): $(LINUX_DIR)/$(LINUX_BINLOC)
$(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep: $(LINUX_KERNEL)
rm -rf $(TARGET_DIR)/lib/modules
rm -f $(TARGET_DIR)/sbin/cardmgr
- make -C $(LINUX_DIR) INSTALL_MOD_PATH=$(TARGET_DIR) modules_install
+ $(MAKE) -C $(LINUX_DIR) INSTALL_MOD_PATH=$(TARGET_DIR) modules_install
(cd $(TARGET_DIR)/lib/modules; ln -s $(LINUX_VERSION)/kernel/drivers .)
$(STAGING_DIR)/include/linux/version.h: $(LINUX_DIR)/.configured
@@ -86,7 +86,7 @@ linux: $(STAGING_DIR)/include/linux/version.h $(TARGET_DIR)/lib/modules/$(LINUX_
# This has been renamed so we do _NOT_ by default run this on 'make clean'
linuxclean: clean
rm -f $(LINUX_KERNEL)
- -make -C $(LINUX_DIR) clean
+ -$(MAKE) -C $(LINUX_DIR) clean
linux-dirclean:
rm -rf $(LINUX_DIR)