Re: [LTP] [PATCH] testcases/kernel/firmware: fix a bug of make install

alexey.kodanev
2013-07-16T09:56:21Z

Hi!

>>
>> ifeq ($(SKIP),0)
>> SUBDIRS += fw_load_kernel
>> -SUBDIRS += fw_load_user
>> endif
>> +SUBDIRS += fw_load_user
>>
>> We always build userspace part. The check for kernel version is
>> already in setup(). We just need to make sure userspace bits compile everywhere.
>> I tried 2.6.32 based kernel, it builds and runs:
>> # ./fw_load_user/fw_load
>> fw_load 1 TCONF : Test must be run with kernel 3.7 or newer
>> fw_load 2 TCONF : Remaining cases not appropriate for configuration
>>
or in case we don't want compile user-space part:
...

SUBDIRS += fw_load_user
include $(top_srcdir)/include/mk/generic_trunk_target.mk
else
include $(top_srcdir)/include/mk/generic_leaf_target.mk
endif

Thanks,
Alexey