Change Details
| include/depends.mk |
| 13 | 13 | |
| 14 | 14 | DEP_FINDPARAMS := -x "*/.svn*" -x ".*" -x "*:*" -x "*\!*" -x "* *" -x "*\\\#*" -x "*/.*_check" |
| 15 | 15 | |
| 16 | | find_md5=find $(1) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) | md5s |
| 16 | find_md5=$(SH_FUNC) find $(1) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) | md5s |
| 17 | 17 | |
| 18 | 18 | define rdep |
| 19 | 19 | .PRECIOUS: $(2) |
| include/kernel.mk |
| 64 | 64 | endef |
| 65 | 65 | |
| 66 | 66 | define ModuleAutoLoad |
| 67 | $(SH_FUNC) \ |
| 67 | 68 | export modules=; \ |
| 68 | 69 | add_module() { \ |
| 69 | 70 | mkdir -p $(2)/etc/modules.d; \ |
| include/package-defaults.mk |
| 43 | 43 | Build/Patch:=$(Build/Patch/Default) |
| 44 | 44 | ifneq ($(strip $(PKG_UNPACK)),) |
| 45 | 45 | define Build/Prepare/Default |
| 46 | | $(PKG_UNPACK) |
| 46 | $(SH_FUNC) $(PKG_UNPACK) |
| 47 | 47 | $(Build/Patch) |
| 48 | 48 | endef |
| 49 | 49 | endif |
| include/package-ipkg.mk |
| 21 | 21 | |
| 22 | 22 | define BuildIPKGVariable |
| 23 | 23 | $(call shexport,Package/$(1)/$(2)) |
| 24 | | $(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2); |
| 24 | $(1)_COMMANDS += $(SH_FUNC) var2file "$(call shvar,Package/$(1)/$(2))" $(2); |
| 25 | 25 | endef |
| 26 | 26 | |
| 27 | 27 | PARENL :=( |
| ... | ... | |
| 95 | 95 | echo "Maintainer: $(MAINTAINER)"; \ |
| 96 | 96 | echo "Architecture: $(PKGARCH)"; \ |
| 97 | 97 | echo "Installed-Size: 1"; \ |
| 98 | | echo -n "Description: "; getvar $(call shvar,Package/$(1)/description) | sed -e 's,^[[:space:]]*, ,g'; \ |
| 98 | echo -n "Description: "; $(SH_FUNC) getvar $(call shvar,Package/$(1)/description) | sed -e 's,^[[:space:]]*, ,g'; \ |
| 99 | 99 | ) >> $$(IDIR_$(1))/CONTROL/control |
| 100 | 100 | chmod 644 $$(IDIR_$(1))/CONTROL/control |
| 101 | 101 | (cd $$(IDIR_$(1))/CONTROL; \ |
| include/target.mk |
| 67 | 67 | echo "Target-Profile-Kconfig: yes"; \ |
| 68 | 68 | fi; \ |
| 69 | 69 | echo "Target-Profile-Config: "; \ |
| 70 | | getvar "$(call shvar,Profile/$(1)/Config)"; \ |
| 70 | $(SH_FUNC) getvar "$(call shvar,Profile/$(1)/Config)"; \ |
| 71 | 71 | echo "@@"; \ |
| 72 | 72 | echo "Target-Profile-Description:"; \ |
| 73 | | getvar "$(call shvar,Profile/$(1)/Description)"; \ |
| 73 | $(SH_FUNC) getvar "$(call shvar,Profile/$(1)/Description)"; \ |
| 74 | 74 | echo "@@"; \ |
| 75 | 75 | echo; |
| 76 | 76 | ifeq ($(CONFIG_TARGET_$(call target_conf,$(BOARD)_$(if $(SUBTARGET),$(SUBTARGET)_)$(1))),y) |
| ... | ... | |
| 185 | 185 | echo 'Linux-Release: $(LINUX_RELEASE)'; \ |
| 186 | 186 | echo 'Linux-Kernel-Arch: $(LINUX_KARCH)'; \ |
| 187 | 187 | echo 'Target-Description:'; \ |
| 188 | | getvar $(call shvar,Target/Description); \ |
| 188 | $(SH_FUNC) getvar $(call shvar,Target/Description); \ |
| 189 | 189 | echo '@@'; \ |
| 190 | 190 | echo 'Default-Packages: $(DEFAULT_PACKAGES)'; \ |
| 191 | 191 | $(DUMPINFO) |
| include/toplevel.mk |
| 7 | 7 | # |
| 8 | 8 | |
| 9 | 9 | RELEASE:=Kamikaze |
| 10 | | SHELL:=/usr/bin/env bash |
| 10 | export SHELL:=/usr/bin/env bash |
| 11 | 11 | PREP_MK= OPENWRT_BUILD= QUIET=0 |
| 12 | 12 | |
| 13 | 13 | include $(TOPDIR)/include/verbose.mk |
| include/unpack.mk |
| 71 | 71 | endif |
| 72 | 72 | |
| 73 | 73 | ifdef PKG_BUILD_DIR |
| 74 | | PKG_UNPACK ?= $(call UNPACK_CMD,$(PKG_BUILD_DIR)) $(call CRLF_CMD,$(PKG_BUILD_DIR)) |
| 74 | PKG_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(PKG_BUILD_DIR)) $(call CRLF_CMD,$(PKG_BUILD_DIR)) |
| 75 | 75 | endif |
| 76 | 76 | ifdef HOST_BUILD_DIR |
| 77 | | HOST_UNPACK ?= $(call UNPACK_CMD,$(HOST_BUILD_DIR)) $(call CRLF_CMD,$(HOST_BUILD_DIR)) |
| 77 | HOST_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(HOST_BUILD_DIR)) $(call CRLF_CMD,$(HOST_BUILD_DIR)) |
| 78 | 78 | endif |
| 79 | 79 | |
| 80 | 80 | endif # PKG_SOURCE |
| rules.mk |
| 16 | 16 | |
| 17 | 17 | TMP_DIR:=$(TOPDIR)/tmp |
| 18 | 18 | |
| 19 | | export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' -- |
| 20 | | |
| 21 | 19 | GREP_OPTIONS= |
| 22 | 20 | export GREP_OPTIONS |
| 23 | 21 | |
| ... | ... | |
| 148 | 146 | export PATH:=$(TARGET_PATH) |
| 149 | 147 | export STAGING_DIR |
| 150 | 148 | export GCC_HONOUR_COPTS:=0 |
| 149 | export SH_FUNC:=. $(INCLUDE_DIR)/shell.sh; |
| 151 | 150 | |
| 152 | 151 | PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config |
| 153 | 152 | |
Download the corresponding diff file