mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user