Browse Source

- minor changes in variables handling

master
vanhofen 6 years ago
parent
commit
8b3dc876ef
  1. 42
      make/bootstrap.mk
  2. 2
      make/clean.mk
  3. 6
      make/crosstool.mk
  4. 2
      make/environment-build.mk
  5. 2
      make/environment-target.mk
  6. 6
      make/helpers.mk
  7. 2
      make/host-tools.mk
  8. 6
      make/image-updates.mk
  9. 32
      make/images.mk
  10. 2
      make/linux-kernel.mk
  11. 2
      make/neutrino-plugins.mk
  12. 2
      make/neutrino.mk
  13. 2
      make/ni.mk
  14. 34
      make/prerequisites.mk
  15. 2
      make/target-libs-static.mk
  16. 4
      make/target-libs.mk
  17. 6
      make/target-lua.mk
  18. 28
      make/target-rootfs.mk
  19. 38
      make/target-scripts.mk

42
make/bootstrap.mk

@ -73,57 +73,57 @@ $(STAGING_DIR) \
$(IMAGE_DIR) \ $(IMAGE_DIR) \
$(UPDATE_DIR) \ $(UPDATE_DIR) \
$(HOST_DIR): $(HOST_DIR):
mkdir -p $@ mkdir -p $(@)
$(HOST_DIR)/bin: $(HOST_DIR) $(HOST_DIR)/bin: $(HOST_DIR)
mkdir -p $@ mkdir -p $(@)
$(TARGET_BIN_DIR): | $(TARGET_DIR) $(TARGET_BIN_DIR): | $(TARGET_DIR)
mkdir -p $@ mkdir -p $(@)
$(TARGET_INCLUDE_DIR): | $(TARGET_DIR) $(TARGET_INCLUDE_DIR): | $(TARGET_DIR)
mkdir -p $@ mkdir -p $(@)
ifeq ($(BOXTYPE), armbox) ifeq ($(BOXTYPE), armbox)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/include/. $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/include/. $(@)
endif endif
$(TARGET_LIB_DIR): | $(TARGET_DIR) $(TARGET_LIB_DIR): | $(TARGET_DIR)
mkdir -p $@ mkdir -p $(@)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib/. $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib/. $(@)
ifeq ($(BOXTYPE), coolstream) ifeq ($(BOXTYPE), coolstream)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/libcoolstream/$(shell echo -n $(NI-FFMPEG_BRANCH) | sed 's,/,-,g')/. $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/libcoolstream/$(shell echo -n $(NI-FFMPEG_BRANCH) | sed 's,/,-,g')/. $(@)
ifeq ($(BOXSERIES), hd1) ifeq ($(BOXSERIES), hd1)
ln -sf libnxp.so $@/libconexant.so ln -sf libnxp.so $(@)/libconexant.so
endif endif
endif endif
$(TARGET_LIB_DIR)/firmware: | $(TARGET_DIR) $(TARGET_LIB_DIR)/firmware: | $(TARGET_DIR)
mkdir -p $@ mkdir -p $(@)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib-firmware/. $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib-firmware/. $(@)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib-firmware-dvb/. $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib-firmware-dvb/. $(@)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib-firmware-rt/. $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib-firmware-rt/. $(@)
$(TARGET_LIB_DIR)/modules: | $(TARGET_DIR) $(TARGET_LIB_DIR)/modules: | $(TARGET_DIR)
mkdir -p $@ mkdir -p $(@)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib-modules/$(KERNEL_VERSION) $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/lib-modules/$(KERNEL_VERSION) $(@)
ifeq ($(BOXMODEL), nevis) ifeq ($(BOXMODEL), nevis)
ln -sf $(KERNEL_VERSION) $@/$(KERNEL_VERSION)-$(BOXMODEL) ln -sf $(KERNEL_VERSION) $(@)/$(KERNEL_VERSION)-$(BOXMODEL)
endif endif
$(STATIC_LIB_DIR): | $(TARGET_DIR) $(STATIC_LIB_DIR): | $(TARGET_DIR)
mkdir -p $@ mkdir -p $(@)
if [ -d $(STATIC_DIR)/ ]; then \ if [ -d $(STATIC_DIR)/ ]; then \
cp -a $(STATIC_DIR)/. $(TARGET_DIR)/; \ cp -a $(STATIC_DIR)/. $(TARGET_DIR)/; \
fi fi
$(TARGET_DIR)/var/update: | $(TARGET_DIR) $(TARGET_DIR)/var/update: | $(TARGET_DIR)
mkdir -p $@ mkdir -p $(@)
ifeq ($(BOXTYPE), coolstream) ifeq ($(BOXTYPE), coolstream)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/uldr.bin $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/uldr.bin $(@)
ifeq ($(BOXMODEL), kronos_v2) ifeq ($(BOXMODEL), kronos_v2)
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/u-boot.bin.kronos_v2 $@/u-boot.bin cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/u-boot.bin.kronos_v2 $(@)/u-boot.bin
else else
cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/u-boot.bin $@ cp -a $(SOURCE_DIR)/$(NI-DRIVERS-BIN)/$(BOXTYPE)/$(DRIVERS_DIR)/u-boot.bin $(@)
endif endif
endif endif

2
make/clean.mk

@ -43,7 +43,7 @@ all-clean: rebuild-clean staging-clean host-clean static-base-clean
make cross-base-clean make cross-base-clean
%-clean: %-clean:
-find $(D) -name $(subst -clean,,$@) -delete -find $(D) -name $(subst -clean,,$(@)) -delete
clean: rebuild-clean bootstrap clean: rebuild-clean bootstrap

6
make/crosstool.mk

@ -49,7 +49,7 @@ kernel-tarball: $(BUILD_TMP)/linux-$(KERNEL_VERSION).tar
# create kernel-tarball # create kernel-tarball
$(BUILD_TMP)/linux-$(KERNEL_VERSION).tar: | $(BUILD_TMP) $(BUILD_TMP)/linux-$(KERNEL_VERSION).tar: | $(BUILD_TMP)
make kernel.do_checkout make kernel.do_checkout
tar cf $@ --exclude-vcs -C $(SOURCE_DIR)/$(NI-LINUX-KERNEL) . tar cf $(@) --exclude-vcs -C $(SOURCE_DIR)/$(NI-LINUX-KERNEL) .
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
@ -103,7 +103,7 @@ endif
$(INSTALL_DATA) $(CONFIGS)/ct-ng-$(BOXTYPE)-$(BOXSERIES).config .config; \ $(INSTALL_DATA) $(CONFIGS)/ct-ng-$(BOXTYPE)-$(BOXSERIES).config .config; \
sed -i "s|^CT_PARALLEL_JOBS=.*|CT_PARALLEL_JOBS=$(PARALLEL_JOBS)|" .config; \ sed -i "s|^CT_PARALLEL_JOBS=.*|CT_PARALLEL_JOBS=$(PARALLEL_JOBS)|" .config; \
export NI_LOCAL_TARBALLS_DIR=$(ARCHIVE); \ export NI_LOCAL_TARBALLS_DIR=$(ARCHIVE); \
export NI_PREFIX_DIR=$@; \ export NI_PREFIX_DIR=$(@); \
export NI_KERNEL_VERSION=$(KERNEL_VERSION); \ export NI_KERNEL_VERSION=$(KERNEL_VERSION); \
export NI_KERNEL_LOCATION=$(BUILD_TMP)/linux-$(KERNEL_VERSION).tar; \ export NI_KERNEL_LOCATION=$(BUILD_TMP)/linux-$(KERNEL_VERSION).tar; \
export NI_LIBC_UCLIBC_CONFIG_FILE=$(CONFIGS)/ct-ng-uClibc-$(UCLIBC_VER).config; \ export NI_LIBC_UCLIBC_CONFIG_FILE=$(CONFIGS)/ct-ng-uClibc-$(UCLIBC_VER).config; \
@ -126,7 +126,7 @@ endif
# bre2ze4k uses same crosstool as hd51; so let's just create a symlink # bre2ze4k uses same crosstool as hd51; so let's just create a symlink
$(CROSS_BASE)/arm/bre2ze4k: $(CROSS_BASE)/arm/bre2ze4k:
make $(CROSS_BASE)/arm/hd51 make $(CROSS_BASE)/arm/hd51
ln -sf hd51 $@ ln -sf hd51 $(@)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

2
make/environment-build.mk

@ -305,7 +305,7 @@ CD = set -e; cd
CHDIR = $(CD) $(BUILD_TMP) CHDIR = $(CD) $(BUILD_TMP)
MKDIR = mkdir -p $(BUILD_TMP) MKDIR = mkdir -p $(BUILD_TMP)
CPDIR = cp -a -t $(BUILD_TMP) $(ARCHIVE) CPDIR = cp -a -t $(BUILD_TMP) $(ARCHIVE)
TOUCH = @touch $@ TOUCH = @touch $(@)
INSTALL = install INSTALL = install
INSTALL_DATA = $(INSTALL) -m 0644 INSTALL_DATA = $(INSTALL) -m 0644

2
make/environment-target.mk

@ -27,7 +27,7 @@ $(SHAREWEBTV) \
$(VARCONFIG) \ $(VARCONFIG) \
$(VARINITD) \ $(VARINITD) \
$(VARPLUGINS) : | $(TARGET_DIR) $(VARPLUGINS) : | $(TARGET_DIR)
mkdir -p $@ mkdir -p $(@)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

6
make/helpers.mk

@ -14,7 +14,7 @@ endef
# apply patch sets # apply patch sets
define apply_patches define apply_patches
l=`echo $(2)`; test -z $$l && l=1; \ l=$(strip $(2)); test -z $$l && l=1; \
for i in $(1); do \ for i in $(1); do \
if [ -d $$i ]; then \ if [ -d $$i ]; then \
for p in $$i/*; do \ for p in $$i/*; do \
@ -95,8 +95,8 @@ endef
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
archives-list: archives-list:
@rm -f $(BUILD_TMP)/$@ @rm -f $(BUILD_TMP)/$(@)
@make -qp | grep --only-matching '^\$(ARCHIVE).*:' | sed "s|:||g" > $(BUILD_TMP)/$@ @make -qp | grep --only-matching '^\$(ARCHIVE).*:' | sed "s|:||g" > $(BUILD_TMP)/$(@)
DOCLEANUP ?= no DOCLEANUP ?= no
GETMISSING ?= no GETMISSING ?= no

2
make/host-tools.mk

@ -50,7 +50,7 @@ $(HOST_DIR)/bin/pkg-config: $(ARCHIVE)/$(HOST_PKG-CONFIG_SOURCE) | $(HOST_DIR)/b
host-pkg-config-link: $(HOST_DIR)/bin/$(TARGET)-pkg-config host-pkg-config-link: $(HOST_DIR)/bin/$(TARGET)-pkg-config
$(HOST_DIR)/bin/$(TARGET)-pkg-config: | $(HOST_DIR)/bin $(HOST_DIR)/bin/$(TARGET)-pkg-config: | $(HOST_DIR)/bin
ln -sf pkg-config $@ ln -sf pkg-config $(@)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

6
make/image-updates.mk

@ -115,7 +115,7 @@ pathauf-192:
$(INSTALL_EXEC) $(IMAGEFILES)/channellists/update-ctrl/preinstall.sh $(PREINSTALL_SH) $(INSTALL_EXEC) $(IMAGEFILES)/channellists/update-ctrl/preinstall.sh $(PREINSTALL_SH)
$(INSTALL_EXEC) $(IMAGEFILES)/channellists/update-ctrl/postinstall.sh $(POSTINSTALL_SH) $(INSTALL_EXEC) $(IMAGEFILES)/channellists/update-ctrl/postinstall.sh $(POSTINSTALL_SH)
mkdir -pv $(UPDATE_INST_DIR)/var/tuxbox/config/zapit && \ mkdir -pv $(UPDATE_INST_DIR)/var/tuxbox/config/zapit && \
cp -f $(IMAGEFILES)/channellists/$@/* $(UPDATE_INST_DIR)/var/tuxbox/config/zapit/ cp -f $(IMAGEFILES)/channellists/$(@)/* $(UPDATE_INST_DIR)/var/tuxbox/config/zapit/
# remove non-printable chars and re-format xml-files # remove non-printable chars and re-format xml-files
$(CD) $(UPDATE_INST_DIR)/var/tuxbox/config/zapit/; \ $(CD) $(UPDATE_INST_DIR)/var/tuxbox/config/zapit/; \
for file in *.xml; do \ for file in *.xml; do \
@ -143,7 +143,7 @@ pathauf-192:
#; \ #; \
i=0; \ i=0; \
for dir in $${DIR[*]}; do \ for dir in $${DIR[*]}; do \
if [ $$dir = $@ ]; \ if [ $$dir = $(@) ]; \
then \ then \
desc=$${DESC[$$i]}; \ desc=$${DESC[$$i]}; \
date=$${DATE[$$i]}; \ date=$${DATE[$$i]}; \
@ -156,7 +156,7 @@ pathauf-192:
UPDATE_TYPE=S \ UPDATE_TYPE=S \
UPDATE_URL=$(CHANNELLISTS_URL) \ UPDATE_URL=$(CHANNELLISTS_URL) \
UPDATE_MD5FILE=$(CHANNELLISTS_MD5FILE) \ UPDATE_MD5FILE=$(CHANNELLISTS_MD5FILE) \
UPDATE_NAME=$@ \ UPDATE_NAME=$(@) \
UPDATE_DESC="$$desc - " \ UPDATE_DESC="$$desc - " \
UPDATE_VERSION="$$date" \ UPDATE_VERSION="$$date" \

32
make/images.mk

@ -24,25 +24,25 @@ devtable: $(BUILD_TMP)/devtable-$(BOXSERIES).txt
$(BUILD_TMP)/devtable-hd1.txt: $(BUILD_TMP)/devtable-hd1.txt:
# <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> # <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
echo "/dev/pts d 755 0 0 - - - - -" > $@ echo "/dev/pts d 755 0 0 - - - - -" > $(@)
echo "/dev/shm d 755 0 0 - - - - -" >> $@ echo "/dev/shm d 755 0 0 - - - - -" >> $(@)
echo "/dev/shm/usb d 755 0 0 - - - - -" >> $@ echo "/dev/shm/usb d 755 0 0 - - - - -" >> $(@)
echo "/dev/null c 666 0 0 1 3 0 0 -" >> $@ echo "/dev/null c 666 0 0 1 3 0 0 -" >> $(@)
echo "/dev/console c 666 0 0 5 1 - - -" >> $@ echo "/dev/console c 666 0 0 5 1 - - -" >> $(@)
echo "/dev/ttyRI0 c 666 0 0 204 16 - - -" >> $@ echo "/dev/ttyRI0 c 666 0 0 204 16 - - -" >> $(@)
echo "/dev/mtd c 640 0 0 90 0 0 2 6" >> $@ echo "/dev/mtd c 640 0 0 90 0 0 2 6" >> $(@)
echo "/dev/mtdblock b 640 0 0 31 0 0 1 6" >> $@ echo "/dev/mtdblock b 640 0 0 31 0 0 1 6" >> $(@)
$(BUILD_TMP)/devtable-hd2.txt: $(BUILD_TMP)/devtable-hd2.txt:
# <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> # <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
echo "/dev/pts d 755 0 0 - - - - -" > $@ echo "/dev/pts d 755 0 0 - - - - -" > $(@)
echo "/dev/shm d 755 0 0 - - - - -" >> $@ echo "/dev/shm d 755 0 0 - - - - -" >> $(@)
echo "/dev/shm/usb d 755 0 0 - - - - -" >> $@ echo "/dev/shm/usb d 755 0 0 - - - - -" >> $(@)
echo "/dev/null c 666 0 0 1 3 0 0 -" >> $@ echo "/dev/null c 666 0 0 1 3 0 0 -" >> $(@)
echo "/dev/console c 666 0 0 5 1 - - -" >> $@ echo "/dev/console c 666 0 0 5 1 - - -" >> $(@)
echo "/dev/ttyS0 c 666 0 0 4 64 - - -" >> $@ echo "/dev/ttyS0 c 666 0 0 4 64 - - -" >> $(@)
echo "/dev/mtd c 640 0 0 90 0 0 2 9" >> $@ echo "/dev/mtd c 640 0 0 90 0 0 2 9" >> $(@)
echo "/dev/mtdblock b 640 0 0 31 0 0 1 9" >> $@ echo "/dev/mtdblock b 640 0 0 31 0 0 1 9" >> $(@)
devtable-remove: devtable-remove:
$(REMOVE)/devtable-$(BOXSERIES).txt $(REMOVE)/devtable-$(BOXSERIES).txt

2
make/linux-kernel.mk

@ -135,7 +135,7 @@ STRIP-MODULES-COOLSTREAM-HD1 += kernel/fs/fuse/fuse.ko
$(D)/kernel-modules-coolstream-hd1: $(D)/kernel-coolstream $(D)/kernel-modules-coolstream-hd1: $(D)/kernel-coolstream
for module in $(STRIP-MODULES-COOLSTREAM-HD1); do \ for module in $(STRIP-MODULES-COOLSTREAM-HD1); do \
mkdir -p $(TARGET_MODULES_DIR)/$$(dirname "$$module"); \ mkdir -p $(TARGET_MODULES_DIR)/$(dir "$$module"); \
$(TARGET_OBJCOPY) --strip-unneeded $(KERNEL_MODULES_DIR)/$$module $(TARGET_MODULES_DIR)/$$module; \ $(TARGET_OBJCOPY) --strip-unneeded $(KERNEL_MODULES_DIR)/$$module $(TARGET_MODULES_DIR)/$$module; \
done; done;
rm -f $(TARGET_MODULES_DIR)/usb-storage.ko # already builtin rm -f $(TARGET_MODULES_DIR)/usb-storage.ko # already builtin

2
make/neutrino-plugins.mk

@ -102,7 +102,7 @@ neutrino-plugins-clean-all: neutrino-plugins-clean
neutrino-plugin-%: $(NP_OBJ_DIR)/config.status neutrino-plugin-%: $(NP_OBJ_DIR)/config.status
PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) \ PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) \
$(MAKE) -C $(NP_OBJ_DIR)/$(subst neutrino-plugin-,,$@) all install DESTDIR=$(TARGET_DIR) $(MAKE) -C $(NP_OBJ_DIR)/$(subst neutrino-plugin-,,$(@)) all install DESTDIR=$(TARGET_DIR)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

2
make/neutrino.mk

@ -174,7 +174,7 @@ $(D)/neutrino: $(N_OBJ_DIR)/config.status
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
$(TARGET_DIR)/etc/init.d/start_neutrino: $(TARGET_DIR)/etc/init.d/start_neutrino:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/start_neutrino.$(BOXTYPE) $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/start_neutrino.$(BOXTYPE) $(@)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

2
make/ni.mk

@ -20,7 +20,7 @@ personalized-image:
image \ image \
ni-image: ni-image:
@echo "starting 'make $@' build with "$(PARALLEL_JOBS)" threads!" @echo "starting 'make $(@)' build with "$(PARALLEL_JOBS)" threads!"
$(MAKE) kernel $(MAKE) kernel
$(MAKE) neutrino $(MAKE) neutrino
make plugins make plugins

34
make/prerequisites.mk

@ -35,7 +35,7 @@ TOOLCHECK += find-tic
TOOLCHECK += find-yacc TOOLCHECK += find-yacc
find-%: find-%:
@TOOL=$(patsubst find-%,%,$@); \ @TOOL=$(patsubst find-%,%,$(@)); \
type -p $$TOOL >/dev/null || { echo "required tool $$TOOL missing."; false; } type -p $$TOOL >/dev/null || { echo "required tool $$TOOL missing."; false; }
toolcheck: $(TOOLCHECK) toolcheck: $(TOOLCHECK)
@ -68,15 +68,15 @@ download:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
$(SOURCE_DIR): $(SOURCE_DIR):
mkdir -p $@ mkdir -p $(@)
$(BUILD-GENERIC-PC): $(BUILD-GENERIC-PC):
git clone $(NI-GIT)/$(NI-BUILD-GENERIC-PC).git $(BUILD-GENERIC-PC) git clone $(NI-GIT)/$(NI-BUILD-GENERIC-PC).git $(BUILD-GENERIC-PC)
$(SOURCE_DIR)/$(NI-NEUTRINO): $(SOURCE_DIR)/$(NI-NEUTRINO):
$(CD) $(SOURCE_DIR); \ $(CD) $(SOURCE_DIR); \
git clone $(NI-GIT)/$(notdir $@).git git clone $(NI-GIT)/$(@F).git
$(CD) $@; \ $(CD) $(@); \
git remote add tuxbox $(GITHUB)/tuxbox-neutrino/gui-neutrino.git; \ git remote add tuxbox $(GITHUB)/tuxbox-neutrino/gui-neutrino.git; \
git remote add seife $(GITHUB)/neutrino-mp/neutrino-mp.git; \ git remote add seife $(GITHUB)/neutrino-mp/neutrino-mp.git; \
git remote add ddt $(GITHUB)/duckbox-developers/neutrino-mp-ddt.git; \ git remote add ddt $(GITHUB)/duckbox-developers/neutrino-mp-ddt.git; \
@ -86,8 +86,8 @@ $(SOURCE_DIR)/$(NI-NEUTRINO):
$(SOURCE_DIR)/$(NI-LIBSTB-HAL): $(SOURCE_DIR)/$(NI-LIBSTB-HAL):
$(CD) $(SOURCE_DIR); \ $(CD) $(SOURCE_DIR); \
git clone $(NI-GIT)/$(notdir $@).git git clone $(NI-GIT)/$(@F).git
$(CD) $@; \ $(CD) $(@); \
git remote add tuxbox $(GITHUB)/tuxbox-neutrino/library-stb-hal.git; \ git remote add tuxbox $(GITHUB)/tuxbox-neutrino/library-stb-hal.git; \
git remote add seife $(GITHUB)/neutrino-mp/libstb-hal.git; \ git remote add seife $(GITHUB)/neutrino-mp/libstb-hal.git; \
git remote add ddt $(GITHUB)/duckbox-developers/libstb-hal-ddt.git; \ git remote add ddt $(GITHUB)/duckbox-developers/libstb-hal-ddt.git; \
@ -98,16 +98,16 @@ $(SOURCE_DIR)/$(NI-LIBSTB-HAL):
$(SOURCE_DIR)/$(NI-LIBCOOLSTREAM): $(SOURCE_DIR)/$(NI-LIBCOOLSTREAM):
ifeq ($(HAS_LIBCS), yes) ifeq ($(HAS_LIBCS), yes)
$(CD) $(SOURCE_DIR); \ $(CD) $(SOURCE_DIR); \
git clone $(NI-GIT)/$(notdir $@).git git clone $(NI-GIT)/$(@F).git
$(CD) $@; \ $(CD) $(@); \
git checkout $(NI-LIBCOOLSTREAM_BRANCH) git checkout $(NI-LIBCOOLSTREAM_BRANCH)
endif endif
# upstream for rebase # upstream for rebase
$(SOURCE_DIR)/$(NI-FFMPEG): $(SOURCE_DIR)/$(NI-FFMPEG):
$(CD) $(SOURCE_DIR); \ $(CD) $(SOURCE_DIR); \
git clone $(NI-GIT)/$(notdir $@).git git clone $(NI-GIT)/$(@F).git
$(CD) $@; \ $(CD) $(@); \
git remote add upstream https://git.ffmpeg.org/ffmpeg.git; \ git remote add upstream https://git.ffmpeg.org/ffmpeg.git; \
git fetch --all git fetch --all
@ -115,8 +115,8 @@ $(SOURCE_DIR)/$(NI-FFMPEG):
# torvalds for cherry-picking # torvalds for cherry-picking
$(SOURCE_DIR)/$(NI-LINUX-KERNEL): $(SOURCE_DIR)/$(NI-LINUX-KERNEL):
$(CD) $(SOURCE_DIR); \ $(CD) $(SOURCE_DIR); \
git clone $(NI-GIT)/$(notdir $@).git git clone $(NI-GIT)/$(@F).git
$(CD) $@; \ $(CD) $(@); \
git remote add upstream https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git; \ git remote add upstream https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git; \
git remote add torvalds https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git; \ git remote add torvalds https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git; \
git fetch --all git fetch --all
@ -124,16 +124,16 @@ $(SOURCE_DIR)/$(NI-LINUX-KERNEL):
# upstream for rebase # upstream for rebase
$(SOURCE_DIR)/$(NI-OFGWRITE): $(SOURCE_DIR)/$(NI-OFGWRITE):
$(CD) $(SOURCE_DIR); \ $(CD) $(SOURCE_DIR); \
git clone $(NI-GIT)/$(notdir $@).git git clone $(NI-GIT)/$(@F).git
$(CD) $@ && \ $(CD) $(@) && \
git remote add upstream $(GITHUB)/oe-alliance/ofgwrite.git; \ git remote add upstream $(GITHUB)/oe-alliance/ofgwrite.git; \
git fetch --all git fetch --all
# upstream for rebase # upstream for rebase
$(SOURCE_DIR)/$(NI-RTMPDUMP): $(SOURCE_DIR)/$(NI-RTMPDUMP):
$(CD) $(SOURCE_DIR); \ $(CD) $(SOURCE_DIR); \
git clone $(NI-GIT)/$(notdir $@).git git clone $(NI-GIT)/$(@F).git
$(CD) $@ && \ $(CD) $(@) && \
git remote add upstream git://git.ffmpeg.org/rtmpdump; \ git remote add upstream git://git.ffmpeg.org/rtmpdump; \
git fetch --all git fetch --all
@ -143,7 +143,7 @@ $(SOURCE_DIR)/$(NI-NEUTRINO-PLUGINS) \
$(SOURCE_DIR)/$(NI-OPENTHREADS) \ $(SOURCE_DIR)/$(NI-OPENTHREADS) \
$(SOURCE_DIR)/$(NI-STREAMRIPPER): $(SOURCE_DIR)/$(NI-STREAMRIPPER):
$(CD) $(SOURCE_DIR); \ $(CD) $(SOURCE_DIR); \
git clone $(NI-GIT)/$(notdir $@).git git clone $(NI-GIT)/$(@F).git
ni-sources: $(SOURCE_DIR) \ ni-sources: $(SOURCE_DIR) \
$(BUILD-GENERIC-PC) \ $(BUILD-GENERIC-PC) \

2
make/target-libs-static.mk

@ -18,7 +18,7 @@ CORTEX-STRINGS_SOURCE = cortex-strings-$(CORTEX-STRINGS_VER).tar.bz2
CORTEX-STRINGS_URL = http://git.linaro.org/git-ro/toolchain/cortex-strings.git CORTEX-STRINGS_URL = http://git.linaro.org/git-ro/toolchain/cortex-strings.git
$(ARCHIVE)/$(CORTEX-STRINGS_SOURCE): $(ARCHIVE)/$(CORTEX-STRINGS_SOURCE):
$(GET-GIT-ARCHIVE) $(CORTEX-STRINGS_URL) $(CORTEX-STRINGS_VER) $(notdir $@) $(ARCHIVE) $(GET-GIT-ARCHIVE) $(CORTEX-STRINGS_URL) $(CORTEX-STRINGS_VER) $(@F) $(ARCHIVE)
CORTEX-STRINGS_CONF = $(if $(filter $(BOXSERIES), hd51 bre2ze4k), --with-neon, --without-neon) CORTEX-STRINGS_CONF = $(if $(filter $(BOXSERIES), hd51 bre2ze4k), --with-neon, --without-neon)

4
make/target-libs.mk

@ -972,7 +972,7 @@ $(D)/rtmpdump: $(RTMPDUMP_DEPS) $(SOURCE_DIR)/$(NI-RTMPDUMP) | $(TARGET_DIR)
$(REMOVE)/$(NI-RTMPDUMP) $(REMOVE)/$(NI-RTMPDUMP)
tar -C $(SOURCE_DIR) -cp $(NI-RTMPDUMP) --exclude-vcs | tar -C $(BUILD_TMP) -x tar -C $(SOURCE_DIR) -cp $(NI-RTMPDUMP) --exclude-vcs | tar -C $(BUILD_TMP) -x
$(CHDIR)/$(NI-RTMPDUMP); \ $(CHDIR)/$(NI-RTMPDUMP); \
make $(RTMPDUMP_MAKE_OPTS) CROSS_COMPILE=$(TARGET_CROSS) XCFLAGS="$(TARGET_CFLAGS)" XLDFLAGS="$(TARGET_LDFLAGS)";\ make $(RTMPDUMP_MAKE_OPTS) CROSS_COMPILE=$(TARGET_CROSS) XCFLAGS="$(TARGET_CFLAGS)" XLDFLAGS="$(TARGET_LDFLAGS)"; \
make $(RTMPDUMP_MAKE_OPTS) install DESTDIR=$(TARGET_DIR) make $(RTMPDUMP_MAKE_OPTS) install DESTDIR=$(TARGET_DIR)
rm -rf $(TARGET_DIR)/sbin/rtmpgw rm -rf $(TARGET_DIR)/sbin/rtmpgw
rm -rf $(TARGET_DIR)/sbin/rtmpsrv rm -rf $(TARGET_DIR)/sbin/rtmpsrv
@ -1002,7 +1002,7 @@ $(D)/libtirpc: $(ARCHIVE)/$(LIBTIRPC_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(LIBTIRPC_TMP) $(REMOVE)/$(LIBTIRPC_TMP)
$(UNTAR)/$(LIBTIRPC_SOURCE) $(UNTAR)/$(LIBTIRPC_SOURCE)
$(CHDIR)/$(LIBTIRPC_TMP); \ $(CHDIR)/$(LIBTIRPC_TMP); \
$(call apply_patches, $(addprefix $(notdir $@)/,$(LIBTIRP_PATCH))); \ $(call apply_patches, $(addprefix $(@F)/,$(LIBTIRP_PATCH))); \
autoreconf -fi; \ autoreconf -fi; \
$(CONFIGURE) \ $(CONFIGURE) \
--target=$(TARGET) \ --target=$(TARGET) \

6
make/target-lua.mk

@ -72,7 +72,7 @@ LUA-FEEDPARSER_SOURCE = lua-feedparser-$(LUA-FEEDPARSER_VER).tar.gz
LUA-FEEDPARSER_URL = https://github.com/slact/lua-feedparser/archive LUA-FEEDPARSER_URL = https://github.com/slact/lua-feedparser/archive
$(ARCHIVE)/$(LUA-FEEDPARSER_SOURCE): $(ARCHIVE)/$(LUA-FEEDPARSER_SOURCE):
$(DOWNLOAD) $(LUA-FEEDPARSER_URL)/$(LUA-FEEDPARSER_SOURCE) -O $@ $(DOWNLOAD) $(LUA-FEEDPARSER_URL)/$(LUA-FEEDPARSER_SOURCE) -O $(@)
LUA-FEEDPARSER_PATCH = lua-feedparser.patch LUA-FEEDPARSER_PATCH = lua-feedparser.patch
@ -135,7 +135,7 @@ LUAPOSIX_SOURCE = luaposix-$(LUAPOSIX_VER).tar.gz
LUAPOSIX_URL = https://github.com/luaposix/luaposix/archive LUAPOSIX_URL = https://github.com/luaposix/luaposix/archive
$(ARCHIVE)/$(LUAPOSIX_SOURCE): $(ARCHIVE)/$(LUAPOSIX_SOURCE):
$(DOWNLOAD) $(LUAPOSIX_URL)/v$(LUAPOSIX_VER).tar.gz -O $@ $(DOWNLOAD) $(LUAPOSIX_URL)/v$(LUAPOSIX_VER).tar.gz -O $(@)
LUAPOSIX_PATCH = luaposix-fix-build.patch LUAPOSIX_PATCH = luaposix-fix-build.patch
LUAPOSIX_PATCH += luaposix-fix-docdir-build.patch LUAPOSIX_PATCH += luaposix-fix-docdir-build.patch
@ -154,7 +154,7 @@ SLINGSHOT_SOURCE = slingshot-$(SLINGSHOT_VER).tar.gz
SLINGSHOT_URL = https://github.com/gvvaughan/slingshot/archive SLINGSHOT_URL = https://github.com/gvvaughan/slingshot/archive
$(ARCHIVE)/$(SLINGSHOT_SOURCE): $(ARCHIVE)/$(SLINGSHOT_SOURCE):
$(DOWNLOAD) $(SLINGSHOT_URL)/v$(SLINGSHOT_VER).tar.gz -O $@ $(DOWNLOAD) $(SLINGSHOT_URL)/v$(SLINGSHOT_VER).tar.gz -O $(@)
$(D)/luaposix: $(LUAPOSIX_DEPS) $(ARCHIVE)/$(SLINGSHOT_SOURCE) $(ARCHIVE)/$(GNULIB_SOURCE) $(ARCHIVE)/$(LUAPOSIX_SOURCE) | $(TARGET_DIR) $(D)/luaposix: $(LUAPOSIX_DEPS) $(ARCHIVE)/$(SLINGSHOT_SOURCE) $(ARCHIVE)/$(GNULIB_SOURCE) $(ARCHIVE)/$(LUAPOSIX_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(LUAPOSIX_TMP) $(REMOVE)/$(LUAPOSIX_TMP)

28
make/target-rootfs.mk

@ -13,25 +13,25 @@ endif
.version: $(TARGET_DIR)/.version .version: $(TARGET_DIR)/.version
$(TARGET_DIR)/.version: | $(TARGET_DIR) $(TARGET_DIR)/.version: | $(TARGET_DIR)
echo "distro=NI" > $@ echo "distro=NI" > $(@)
echo "imagename=NI \o/ Neutrino-Image" >> $@ echo "imagename=NI \o/ Neutrino-Image" >> $(@)
echo "imageversion=$(IMAGE_VERSION)" >> $@ echo "imageversion=$(IMAGE_VERSION)" >> $(@)
echo "version=$(IMAGE_TYPE)$(IMAGE_VER)$(IMAGE_DATE)" >> $@ echo "version=$(IMAGE_TYPE)$(IMAGE_VER)$(IMAGE_DATE)" >> $(@)
echo "describe=$$(git describe --always --long --tags | sed 's/-/./2')" >> $@ echo "describe=$$(git describe --always --long --tags | sed 's/-/./2')" >> $(@)
echo "builddate=$$(date)" >> $@ echo "builddate=$$(date)" >> $(@)
echo "box_model=$(BOXMODEL)" >> $@ echo "box_model=$(BOXMODEL)" >> $(@)
echo "creator=$(MAINTAINER)" >> $@ echo "creator=$(MAINTAINER)" >> $(@)
echo "homepage=www.neutrino-images.de" >> $@ echo "homepage=www.neutrino-images.de" >> $(@)
ifeq ($(BOXTYPE), armbox) ifeq ($(BOXTYPE), armbox)
echo "imagedir=$(BOXMODEL)" >> $@ echo "imagedir=$(BOXMODEL)" >> $(@)
endif endif
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
update.urls: $(TARGET_DIR)/var/etc/update.urls update.urls: $(TARGET_DIR)/var/etc/update.urls
$(TARGET_DIR)/var/etc/update.urls: | $(TARGET_DIR) $(TARGET_DIR)/var/etc/update.urls: | $(TARGET_DIR)
echo "$(NI-SERVER)/update.php" > $@ echo "$(NI-SERVER)/update.php" > $(@)
echo "$(CHANNELLISTS_URL)/$(CHANNELLISTS_MD5FILE)" >> $@ echo "$(CHANNELLISTS_URL)/$(CHANNELLISTS_MD5FILE)" >> $(@)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
@ -86,12 +86,12 @@ e2-multiboot: | $(TARGET_DIR)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
personalize: | $(TARGET_DIR) personalize: | $(TARGET_DIR)
$(call local-script,$(notdir $@),start) $(call local-script,$(@F),start)
@LOCAL_ROOT=$(LOCAL_DIR)/root; \ @LOCAL_ROOT=$(LOCAL_DIR)/root; \
if [ -n "$$(ls -A $$LOCAL_ROOT)" ]; then \ if [ -n "$$(ls -A $$LOCAL_ROOT)" ]; then \
cp -a -v $$LOCAL_ROOT/* $(TARGET_DIR)/; \ cp -a -v $$LOCAL_ROOT/* $(TARGET_DIR)/; \
fi fi
$(call local-script,$(notdir $@),stop) $(call local-script,$(@F),stop)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

38
make/target-scripts.mk

@ -22,72 +22,72 @@ init-scripts: \
$(TARGET_DIR)/etc/init.d/syslogd $(TARGET_DIR)/etc/init.d/syslogd
$(TARGET_DIR)/etc/init.d/globals: $(TARGET_DIR)/etc/init.d/globals:
$(INSTALL_DATA) -D $(IMAGEFILES)/scripts/init.globals $@ $(INSTALL_DATA) -D $(IMAGEFILES)/scripts/init.globals $(@)
$(TARGET_DIR)/etc/init.d/functions: $(TARGET_DIR)/etc/init.d/functions:
$(INSTALL_DATA) -D $(IMAGEFILES)/scripts/init.functions $@ $(INSTALL_DATA) -D $(IMAGEFILES)/scripts/init.functions $(@)
$(TARGET_DIR)/etc/init.d/camd: $(TARGET_DIR)/etc/init.d/camd:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/camd.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/camd.init $(@)
ln -sf camd $(TARGET_DIR)/etc/init.d/S99camd ln -sf camd $(TARGET_DIR)/etc/init.d/S99camd
ln -sf camd $(TARGET_DIR)/etc/init.d/K01camd ln -sf camd $(TARGET_DIR)/etc/init.d/K01camd
$(TARGET_DIR)/etc/init.d/camd_datefix: $(TARGET_DIR)/etc/init.d/camd_datefix:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/camd_datefix.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/camd_datefix.init $(@)
$(TARGET_DIR)/etc/init.d/coredump: $(TARGET_DIR)/etc/init.d/coredump:
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 bre2ze4k)) ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 bre2ze4k))
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/coredump.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/coredump.init $(@)
endif endif
$(TARGET_DIR)/etc/init.d/crond: $(TARGET_DIR)/etc/init.d/crond:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/crond.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/crond.init $(@)
ln -sf crond $(TARGET_DIR)/etc/init.d/S55crond ln -sf crond $(TARGET_DIR)/etc/init.d/S55crond
ln -sf crond $(TARGET_DIR)/etc/init.d/K55crond ln -sf crond $(TARGET_DIR)/etc/init.d/K55crond
$(TARGET_DIR)/etc/init.d/custom-poweroff: $(TARGET_DIR)/etc/init.d/custom-poweroff:
ifeq ($(BOXTYPE), coolstream) ifeq ($(BOXTYPE), coolstream)
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/custom-poweroff.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/custom-poweroff.init $(@)
endif endif
$(TARGET_DIR)/etc/init.d/fstab: $(TARGET_DIR)/etc/init.d/fstab:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/fstab.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/fstab.init $(@)
ln -sf fstab $(TARGET_DIR)/etc/init.d/S01fstab ln -sf fstab $(TARGET_DIR)/etc/init.d/S01fstab
ln -sf fstab $(TARGET_DIR)/etc/init.d/K99fstab ln -sf fstab $(TARGET_DIR)/etc/init.d/K99fstab
$(TARGET_DIR)/etc/init.d/hostname: $(TARGET_DIR)/etc/init.d/hostname:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/hostname.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/hostname.init $(@)
$(TARGET_DIR)/etc/init.d/inetd: $(TARGET_DIR)/etc/init.d/inetd:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/inetd.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/inetd.init $(@)
ln -sf inetd $(TARGET_DIR)/etc/init.d/S53inetd ln -sf inetd $(TARGET_DIR)/etc/init.d/S53inetd
ln -sf inetd $(TARGET_DIR)/etc/init.d/K80inetd ln -sf inetd $(TARGET_DIR)/etc/init.d/K80inetd
$(TARGET_DIR)/etc/init.d/networking: $(TARGET_DIR)/etc/init.d/networking:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/networking.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/networking.init $(@)
ln -sf networking $(TARGET_DIR)/etc/init.d/K99networking ln -sf networking $(TARGET_DIR)/etc/init.d/K99networking
$(TARGET_DIR)/etc/init.d/partitions-by-name: $(TARGET_DIR)/etc/init.d/partitions-by-name:
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 bre2ze4k)) ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 bre2ze4k))
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/partitions-by-name.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/partitions-by-name.init $(@)
endif endif
$(TARGET_DIR)/etc/init.d/resizerootfs: $(TARGET_DIR)/etc/init.d/resizerootfs:
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 bre2ze4k)) ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 bre2ze4k))
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/resizerootfs.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/resizerootfs.init $(@)
endif endif
$(TARGET_DIR)/etc/init.d/swap: $(TARGET_DIR)/etc/init.d/swap:
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 bre2ze4k)) ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 bre2ze4k))
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/swap.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/swap.init $(@)
ln -sf swap $(TARGET_DIR)/etc/init.d/K99swap ln -sf swap $(TARGET_DIR)/etc/init.d/K99swap
endif endif
$(TARGET_DIR)/etc/init.d/sys_update.sh: $(TARGET_DIR)/etc/init.d/sys_update.sh:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/sys_update.sh $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/sys_update.sh $(@)
$(TARGET_DIR)/etc/init.d/syslogd: $(TARGET_DIR)/etc/init.d/syslogd:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/syslogd.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/syslogd.init $(@)
ln -sf syslogd $(TARGET_DIR)/etc/init.d/K98syslogd ln -sf syslogd $(TARGET_DIR)/etc/init.d/K98syslogd
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
@ -98,12 +98,12 @@ scripts: \
$(TARGET_SHARE_DIR)/udhcpc/default.script $(TARGET_SHARE_DIR)/udhcpc/default.script
$(TARGET_DIR)/sbin/service: $(TARGET_DIR)/sbin/service:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/service $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/service $(@)
$(TARGET_DIR)/sbin/flash_eraseall: $(TARGET_DIR)/sbin/flash_eraseall:
ifeq ($(BOXTYPE), coolstream) ifeq ($(BOXTYPE), coolstream)
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/flash_eraseall $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/flash_eraseall $(@)
endif endif
$(TARGET_SHARE_DIR)/udhcpc/default.script: $(TARGET_SHARE_DIR)/udhcpc/default.script:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/udhcpc-default.script $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/udhcpc-default.script $(@)

Loading…
Cancel
Save