mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
userland assembly: build empty.S and fail.S to toplevel and run fail.S with path_properties exit_status
They were just duplicating stuff needlessly while we don't support non-native in-tree builds, which leads to executable conflicts for C file anyways.
This commit is contained in:
@@ -320,8 +320,7 @@ path_properties_tuples = (
|
|||||||
'freestanding': freestanding_properties,
|
'freestanding': freestanding_properties,
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
'empty.S': {'no_build': True},
|
'fail.S': {'exit_status': 1},
|
||||||
'fail.S': {'no_build': True},
|
|
||||||
'main.c': {
|
'main.c': {
|
||||||
'extra_objs_userland_asm': False,
|
'extra_objs_userland_asm': False,
|
||||||
'no_executable': True
|
'no_executable': True
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
../empty.S
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../fail.S
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../empty.S
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../fail.S
|
|
||||||
@@ -5,8 +5,5 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
ENTRY
|
ENTRY
|
||||||
#if 0
|
|
||||||
/* Uncomment this to see it fail. */
|
|
||||||
FAIL
|
FAIL
|
||||||
#endif
|
|
||||||
EXIT
|
EXIT
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
../empty.S
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../fail.S
|
|
||||||
Reference in New Issue
Block a user