-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
24 lines (18 loc) · 1.05 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
include $(top_srcdir)/Makefile.common
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = lib addrdb src tests test-serial
include_HEADERS = include/ieee802154.h include/nl802154.h
noinst_HEADERS = include/libcommon.h include/addrdb.h include/logging.h
EXTRA_DIST = $(srcdir)/debian/changelog $(srcdir)/debian/compat $(srcdir)/debian/control $(srcdir)/debian/copyright \
$(srcdir)/debian/rules $(srcdir)/debian/watch $(srcdir)/debian/source/format $(srcdir)/debian/*.lintian-overrides \
$(srcdir)/debian/*.dirs $(srcdir)/debian/*.docs $(srcdir)/debian/*.examples $(srcdir)/debian/*.install \
$(srcdir)/include/linux
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
resync:
if [ -z "$(KDIR)" ] ; then echo "please set KDIR variable" ; exit 1 ; fi
cp $(KDIR)/include/linux/nl802154.h include/
patch include/nl802154.h include/nl802154.h.patch
cp $(KDIR)/net/ieee802154/nl_policy.c lib/
patch lib/nl_policy.c lib/nl_policy.c.patch
[ ! -z "$(NOCOMMIT)" ] || git commit -s include/nl802154.h include/nl802154.h.patch lib/nl_policy.c -m "Resync with kernel"