mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
noip: use a simpler sed command with our $(SED) variable
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
cbcecc2453
commit
ade3ed6816
@ -11,8 +11,7 @@ NOIP_LICENSE = GPLv2+
|
|||||||
NOIP_LICENSE_FILES = COPYING
|
NOIP_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
define NOIP_BUILD_CMDS
|
define NOIP_BUILD_CMDS
|
||||||
sed -i -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
|
$(SED) "/^#define CONFIG_FILENAME/ s/PREFIX//" $(@D)/noip2.c
|
||||||
$(@D)/noip2.c
|
|
||||||
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
PREFIX=/usr CONFDIR=/etc
|
PREFIX=/usr CONFDIR=/etc
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user