projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
odhcpd: fix lan host reachibility due to identical RIO and PIO prefixes (FS#3056)
[librecmc/librecmc.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 0a1f96a973d7c30fb991866c11a98f39e42bc604..ac447573f5882dfaaf143746839f9d32e37cf620 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,4
@@
-# Makefile for
OpenWrt
+# Makefile for
libreCMC
#
# Copyright (C) 2007 OpenWrt.org
#
#
# Copyright (C) 2007 OpenWrt.org
#
@@
-14,19
+14,22
@@
export TOPDIR LC_ALL LANG TZ
empty:=
space:= $(empty) $(empty)
empty:=
space:= $(empty) $(empty)
-$(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the
OpenWrt
directory must not include any spaces))
+$(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the
libreCMC
directory must not include any spaces))
world:
world:
+DISTRO_PKG_CONFIG:=$(shell which -a pkg-config | grep -E '\/usr' | head -n 1)
export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
-ifneq ($(
OPENWRT
_BUILD),1)
+ifneq ($(
LIBRECMC
_BUILD),1)
_SINGLE=export MAKEFLAGS=$(space);
_SINGLE=export MAKEFLAGS=$(space);
- override
OPENWRT
_BUILD=1
- export
OPENWRT
_BUILD
+ override
LIBRECMC
_BUILD=1
+ export
LIBRECMC
_BUILD
GREP_OPTIONS=
export GREP_OPTIONS
GREP_OPTIONS=
export GREP_OPTIONS
+ CDPATH=
+ export CDPATH
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
@@
-85,14
+88,23
@@
prereq: $(target/stamp-prereq) tmp/.prereq_packages
fi
checksum: FORCE
fi
checksum: FORCE
- $(call sha256sums,$(BIN_DIR))
+ $(call sha256sums,$(BIN_DIR),$(CONFIG_BUILDBOT))
+
+buildversion: FORCE
+ $(SCRIPT_DIR)/getver.sh > $(BIN_DIR)/version.buildinfo
+
+feedsversion: FORCE
+ $(SCRIPT_DIR)/feeds list -fs > $(BIN_DIR)/feeds.buildinfo
diffconfig: FORCE
mkdir -p $(BIN_DIR)
diffconfig: FORCE
mkdir -p $(BIN_DIR)
- $(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.seed
+ $(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.buildinfo
+
+buildinfo: FORCE
+ $(_SINGLE)$(SUBMAKE) -r diffconfig buildversion feedsversion
prepare: .config $(tools/stamp-compile) $(toolchain/stamp-compile)
prepare: .config $(tools/stamp-compile) $(toolchain/stamp-compile)
- $(_SINGLE)$(SUBMAKE) -r
diffconfig
+ $(_SINGLE)$(SUBMAKE) -r
buildinfo
world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE
$(_SINGLE)$(SUBMAKE) -r package/index
world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE
$(_SINGLE)$(SUBMAKE) -r package/index