Commit 59c0f69
committed
os: Add userspace Makefile
Add a userspace Makefile for clean and distclean.
When we build loadable apps, userspace.o is built but not cleaned. This can make linking error between other boards.
This patch fix this issue by adding userspace Makefile.
[Linking Error]
```
make[1]: Leaving directory '/root/tizenrt/os/binfmt'
make[1]: Entering directory '/root/tizenrt/loadable_apps'
make[2]: Entering directory '/root/tizenrt/loadable_apps/loadable_sample/wifiapp'
CC: wifiapp.c
arm-none-eabi-ld: error: /root/tizenrt/os/../build/output/bin/app1.relelf uses VFP register arguments, /root/tizenrt/os/userspace/up_userspace.o does not
arm-none-eabi-ld: error: /root/tizenrt/os/userspace/up_userspace.o: conflicting CPU architectures 14/17
arm-none-eabi-ld: failed to merge target specific data of file /root/tizenrt/os/userspace/up_userspace.o
/root/tizenrt/os/../loadable_apps/loadable.mk:66: recipe for target 'undefsym' failed
make[2]: Leaving directory '/root/tizenrt/loadable_apps/loadable_sample/wifiapp'
make[2]: *** [undefsym] Error 1
Makefile:71: recipe for target 'loadable_sample/wifiapp_undefsym' failed
make[1]: Leaving directory '/root/tizenrt/loadable_apps'
make[1]: *** [loadable_sample/wifiapp_undefsym] Error 2
make: *** [pass1] Error 2
Makefile.unix:458: recipe for target 'pass1' failed
```
Signed-off-by: seokhun-eom <seokhun.eom@samsung.com>1 parent 74eb039 commit 59c0f69
2 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments