Lines 12-20
Link Here
|
12 |
OUTPUT=$3 |
12 |
OUTPUT=$3 |
13 |
|
13 |
|
14 |
CFLAGS="-D__KERNEL__ \ |
14 |
CFLAGS="-D__KERNEL__ \ |
|
|
15 |
-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" |
15 |
-nostdinc -isystem $ISYSTEM \ |
16 |
-nostdinc -isystem $ISYSTEM \ |
16 |
-Werror -Wimplicit-function-declaration" |
17 |
-Werror -Wimplicit-function-declaration" |
17 |
|
18 |
|
|
|
19 |
touch conftest$$.c |
20 |
$CC -Wno-attributes -c conftest$$.c > /dev/null 2>&1 |
21 |
if [ $? -eq 0 ]; then |
22 |
CFLAGS="$CFLAGS -Wno-attributes" |
23 |
fi |
24 |
rm -f conftest$$.* |
25 |
|
18 |
if [ "$OUTPUT" != "$SOURCES" ]; then |
26 |
if [ "$OUTPUT" != "$SOURCES" ]; then |
19 |
CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \ |
27 |
CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \ |
20 |
-I$HEADERS -I$HEADERS/asm/mach-default" |
28 |
-I$HEADERS -I$HEADERS/asm/mach-default" |