nuttx-apps/system/dhcp6c/Makefile
liqinhui 79e8722743 dhcp6c: Add the renew6 command for dhcp6c.
Support Stateless and Stateful. The renew6 is used as follows:
 - Stateless: renew6 eth0
 - Stateful: renew6 eth0 1

Signed-off-by: liqinhui <liqinhui@xiaomi.com>
2023-10-12 10:15:55 +08:00

35 lines
1.3 KiB
Makefile

############################################################################
# apps/system/dhcpc/Makefile
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
############################################################################
include $(APPDIR)/Make.defs
# DHCPCv6 address renewal built-in application info
PROGNAME = $(CONFIG_DHCPC_RENEW6_PROGNAME)
PRIORITY = $(CONFIG_DHCPC_RENEW6_PRIORITY)
STACKSIZE = $(CONFIG_DHCPC_RENEW6_STACKSIZE)
MODULE = $(CONFIG_SYSTEM_DHCPC_RENEW6)
# DHCPCv6 address renewal
MAINSRC = renew6_main.c
include $(APPDIR)/Application.mk