projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files: change /dev permissions to 0755 when hotplug2 is used (#6039)
[openwrt.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 6cf4a4b1e0ebe4de6e82591d248ee9e5538ccca1..4d5d7885e00494ab51a8e7a1e920a7089cfd2268 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-24,6
+24,8
@@
ifneq ($(OPENWRT_BUILD),1)
override OPENWRT_BUILD=1
export OPENWRT_BUILD
override OPENWRT_BUILD=1
export OPENWRT_BUILD
+ GREP_OPTIONS=
+ export GREP_OPTIONS
include $(TOPDIR)/include/debug.mk
include $(TOPDIR)/include/depends.mk
include $(TOPDIR)/include/toplevel.mk
include $(TOPDIR)/include/debug.mk
include $(TOPDIR)/include/depends.mk
include $(TOPDIR)/include/toplevel.mk
@@
-44,9
+46,10
@@
$(package/stamp-install): $(package/stamp-compile)
$(package/stamp-rootfs-prepare): $(package/stamp-install)
$(target/stamp-install): $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare)
$(package/stamp-rootfs-prepare): $(package/stamp-install)
$(target/stamp-install): $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare)
-$(BUILD_DIR)/.prepared: Makefile
- @mkdir -p $$(dirname $@)
- @touch $@
+printdb:
+ @true
+
+prepare: $(target/stamp-compile)
clean: FORCE
$(_SINGLE)$(SUBMAKE) target/linux/clean
clean: FORCE
$(_SINGLE)$(SUBMAKE) target/linux/clean
@@
-56,6
+59,11
@@
dirclean: clean
rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) $(BUILD_DIR_TOOLCHAIN)
rm -rf $(TMP_DIR)
rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) $(BUILD_DIR_TOOLCHAIN)
rm -rf $(TMP_DIR)
+ifndef DUMP_TARGET_DB
+$(BUILD_DIR)/.prepared: Makefile
+ @mkdir -p $$(dirname $@)
+ @touch $@
+
tmp/.prereq_packages: .config
unset ERROR; \
for package in $(sort $(prereq-y) $(prereq-m)); do \
tmp/.prereq_packages: .config
unset ERROR; \
for package in $(sort $(prereq-y) $(prereq-m)); do \
@@
-66,6
+74,7
@@
tmp/.prereq_packages: .config
false; \
fi
touch $@
false; \
fi
touch $@
+endif
# check prerequisites before starting to build
prereq: $(target/stamp-prereq) tmp/.prereq_packages
# check prerequisites before starting to build
prereq: $(target/stamp-prereq) tmp/.prereq_packages