This is going to be used by clients of -source package.
Change-Id: Ieb7be8aa0a169951356b554947a9ab978346346e
CFLAGS_logger.o += -Wno-error=missing-attributes
CFLAGS_proc-tsm.o += -Wno-error=missing-attributes
-obj-m += logger.o
-obj-m += proc-tsm.o
+# Build is disabled by default so that when new module is added to this repository (and -source package),
+# it won't get automatically build in packages using it (that would break these automatically as file list
+# would no longer match).
+BUILD_logger ?= n
+BUILD_proc_tsm ?= n
+
+obj-$(BUILD_logger) += logger.o
+obj-$(BUILD_proc_tsm) += proc-tsm.o
all:
make -C $(KERNELDIR) M=$(PWD) modules
Name: linux-tizen-modules-source
-Version: 7.0.0
+Version: 7.0.1
Release: 0
License: GPL-2.0+
Source0: %{name}-%{version}.tar.xz
%endif
Name: linux-tizen-modules
-Version: 7.0.0
+Version: 7.0.1
Release: 0
License: GPL-2.0+
Source0: %{name}-%{version}.tar.xz
cp %{SOURCE1} ./%{name}.manifest
%build
+export BUILD_logger=m
+export BUILD_proc_tsm=m
+
make -C kernel clean KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi3
make -C kernel KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi3/
make -C kernel modules_install KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi3 INSTALL_MOD_STRIP=1