diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-05-31 23:29:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-05-31 23:29:05 +0000 |
commit | 56ca36174338f3a0029b39ed7782c0410cf2d2fe (patch) | |
tree | 8e70523a0c222f26aa84bf3382deceee6b406752 /target/linux/kernel.mk | |
parent | 5f27fa5f8c930ad9de6c41028ffd4a8bad876e1b (diff) | |
download | upstream-56ca36174338f3a0029b39ed7782c0410cf2d2fe.tar.gz upstream-56ca36174338f3a0029b39ed7782c0410cf2d2fe.tar.bz2 upstream-56ca36174338f3a0029b39ed7782c0410cf2d2fe.zip |
cleanup; replace .PHONY with FORCE; disable gdb by default
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3877 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kernel.mk')
-rw-r--r-- | target/linux/kernel.mk | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/target/linux/kernel.mk b/target/linux/kernel.mk index fc337543e0..346fb7fad9 100644 --- a/target/linux/kernel.mk +++ b/target/linux/kernel.mk @@ -72,7 +72,7 @@ $(BUILD_DIR)/kernel.mk: FORCE echo "LINUX_VERSION:=$(LINUX_VERSION)" >> $@ echo "LINUX_RELEASE:=$(LINUX_RELEASE)" >> $@ -pkg-install: +pkg-install: FORCE @{ [ "$(INSTALL_TARGETS)" != "" ] && $(IPKG) install $(INSTALL_TARGETS) || true; } source: $(DL_DIR)/$(LINUX_SOURCE) @@ -84,24 +84,21 @@ compile: prepare $(STAMP_DIR)/.linux-compile install: compile $(LINUX_KERNEL) -mostlyclean: +mostlyclean: FORCE rm -f $(STAMP_DIR)/.linux-compile rm -f $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION)/.modules_done rm -f $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION)/.drivers-unpacked $(MAKE) -C $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) clean rm -f $(LINUX_KERNEL) -rebuild: +rebuild: FORCE -$(MAKE) mostlyclean if [ -f $(LINUX_KERNEL) ]; then \ $(MAKE) clean; \ fi $(MAKE) compile $(MAKE_TRACE) -clean: +clean: FORCE rm -f $(STAMP_DIR)/.linux-compile rm -rf $(LINUX_BUILD_DIR) rm -f $(TARGETS) - -.PHONY: source prepare compile install mostlyclean rebuild clean pkg-install - |